]> andersk Git - moira.git/blobdiff - clients/moira/f_defs.h
added hosttable stuff
[moira.git] / clients / moira / f_defs.h
index a098e3a45fb5189935009f30fa3bf35757a0ec17..33a7e9fb13c76a980ed56bb213d0f7140b6c4bd7 100644 (file)
@@ -27,10 +27,16 @@ 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. */
 
+int AddFSToGroup();            /* Add a filesystem to an fsgroup */
+int RemoveFSFromGroup();       /* remove a filesystem from an fsgroup */
+int ChangeFSGroupOrder();      /* change the sortorder on an fsgrouop */
+int FSGroupHelp();             /* print info about fsgroups */
+
 int GetFSAlias();              /* Gets the value for a Filsys alias. */
 int CreateFSAlias();           /* Creates a new alias in the database. */
 int DeleteFSAlias();           /* Deletes an FS alias from the database. */
@@ -40,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. */
@@ -62,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();
@@ -107,21 +123,51 @@ 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. */
+int DeactivateUser();          /* change a user's status to DELETED */
 int ChangeUserPOBox();         /* change the PO box of a user. */
 int DeleteUserByUid();         /* detete a user by uid. */
+int GetKrbmap();               /* fetch a user->kerberos mapping */
+int AddKrbmap();
+int DeleteKrbmap();
+
+/* printer.c */
+int AddPcap();
+int GetPcap();
+int ChngPcap();
+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();
+int showhost(), resetsrverr(), resetsrvc(), resethosterr();
+int resethost(), sethostor(), addhost(), updatehost(), delhost();
+int inprogress(), failed(), dcm();
+
+/* misc.c */
+int TableStats(), ShowClients(), ShowValue(), ShowAlias();
 
 /* utils.c */
 
@@ -131,6 +177,7 @@ int DeleteUserByUid();              /* detete a user by uid. */
  */
 
 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. */
@@ -158,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.059291 seconds and 4 git commands to generate.