]> andersk Git - moira.git/blobdiff - clients/moira/f_defs.h
added hosttable stuff
[moira.git] / clients / moira / f_defs.h
index 3f7b695da7c591c01577b50d946cf42226ef8d2a..33a7e9fb13c76a980ed56bb213d0f7140b6c4bd7 100644 (file)
@@ -27,6 +27,7 @@ char * malloc();
 /* attach.c */
 
 int GetFS();                   /* Get information about named filsys. */
+int GetFSM();                  /* Get filesys by machine */
 int AddFS();                   /* Adds a new Filsys to the database. */
 int ChangeFS();                        /* Changes information in a Filsys entry. */
 int DeleteFS();                        /* Delete a filesystem from the database. */
@@ -45,6 +46,7 @@ int AttachHelp();             /* Help information specific to filsys. */
 /* cluster.c */
 
 int ShowMachineInfo();         /* Show information on a(many) machine(s). */
+int ShowMachineQuery();                /* Show mach info based on complex query */
 int AddMachine();              /* add a new machine to teh database. */
 int UpdateMachine();           /* updates machine information. */
 int DeleteMachine();           /* delete a machine from the database. */
@@ -67,6 +69,15 @@ int ShowClusterData();               /* Show, add, and remove data  */
 int AddClusterData();          /* associated with a cluster. */
 int RemoveClusterData();
 
+int ShowSubnetInfo();
+int AddSubnet();
+int UpdateSubnet();
+int DeleteSubnet();
+
+int ShowCname();
+int AddCname();
+int DeleteCname();
+
 /* delete.c */
 
 int DeleteList(), DeleteUser();
@@ -112,16 +123,18 @@ int RemoveUserPOBox();
 int ShowDefaultQuota();                /* show or change system default quota. */
 int ChangeDefaultQuota();
 
-int ShowUserQuota();           /* modify a user's quota. */
-int ChangeUserQuota();
-int AddUserQuota();
-int RemoveUserQuota();
+int GetQuota();                        /* modify a user's quota. */
+int GetQuotaByFilesys();
+int AddQuota();
+int UpdateQuota();
+int DeleteQuota();
 
 /* user.c */
 
 int ShowUserByLogin();         /* misc. ways to show user. */
 int ShowUserByName();
 int ShowUserByClass();
+int ShowUserById();
 int AddNewUser();              /* add a new user to the database. */
 int RegisterUser();            /* register a user. */
 int UpdateUser();              /* modify info about a user. */
@@ -140,6 +153,12 @@ int DeletePcap();
 int GetPalladium(), AddPalladium(), ChngPalladium(), DeletePalladium();
 int ShowPalladiumAlias(), AddPalladiumAlias(), DeletePalladiumAlias();
 
+/* zephyr.c */
+int AddZephyr();
+int GetZephyr();
+int ChngZephyr();
+int DeleteZephyr();
+
 /* dcm.c */
 int EnableDcm(), InProgress(), DcmFailed(), Dcm();
 int enabledcm(), showserv(), addserv(), updateserv(), delserv();
@@ -158,6 +177,7 @@ int TableStats(), ShowClients(), ShowValue(), ShowAlias();
  */
 
 void EncryptMITID();           /* Encrypts an mit id number. */
+char **CopyInfo();             /* Copies a NULL terminated array of strings */
 void FreeInfo();               /* Frees a NULL terminated array of strings. */
 void FreeQueue();              /* Frees an entire queue. */
 void FreeAndClear();           /* Frees a single pointer. */
@@ -185,11 +205,12 @@ int ToggleVerboseMode();  /* Turns on and off the verbose variable. */
 char *CanonicalizeHostname();  /* this is what it does. */
 char *NullPrint();             /* Prints nothing, returns argv[0]. */
 char *Strsave();               /* allocated space for a copy of the string. */
+char *atot();                  /* convert unix time to date string */
 struct qelem * QueueTop();     /* Finds the top of a queue. */
 Bool Confirm();                        /* Confirms a delete operation, with user. */
 Bool YesNoQuestion();          /* Asks a user a yes no type question. */
 Bool YesNoQuitQuestion();      /* Asks a user a yes - no - quit question. */
 
-#endif _f_defs_                        /* Do Not Add Anything After This Line */
+#endif /* _f_defs_ */          /* Do Not Add Anything After This Line */
 
 
This page took 0.036593 seconds and 4 git commands to generate.