Main Page | Modules | Data Structures | File List | Data Fields

/extra/work/state-dev/src/scfg/scfg_cmds.h

00001 /* ----------------------------------------------------------------------------
00002  * @(#) $Header: /home/systems/jlewalle/dev/jacob-cvs/projects/state/src/scfg/scfg_cmds.h,v 1.9 2003/07/30 18:37:15 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SCFG_CMDS_H_HEADER__)
00006 #define _INCLUDED_SCFG_CMDS_H_HEADER__
00007 
00017 typedef struct scfg_cmdres_t
00018 {
00019   sul_error_t *error;
00020   char *msg;
00021 } scfg_cmdres_t;
00022 
00023 scfg_cmdres_t *
00024 scfg_cmdres_create(const char *msg, apr_pool_t *pool);
00025 
00029 typedef struct scfg_cmd_t
00030 {
00031   sos_fs_txn_t *txn;
00032   scfg_cmdres_t *res;
00033   char *user;
00034   char *line;
00035 } scfg_cmd_t;
00036 
00037 sul_error_t *
00038 scfg_cmd_ls_nodes(scfg_cmd_t *cmd, apr_pool_t *pool);
00039 sul_error_t *
00040 scfg_cmd_ls_groups(scfg_cmd_t *cmd, apr_pool_t *pool);
00041 sul_error_t *
00042 scfg_cmd_ls_tasks(scfg_cmd_t *cmd, apr_pool_t *pool);
00043 sul_error_t *
00044 scfg_cmd_ls_schedules(scfg_cmd_t *cmd, apr_pool_t *pool);
00045 sul_error_t *
00046 scfg_cmd_suspend_node(scfg_cmd_t *cmd, const char *ip, apr_pool_t *pool);
00047 sul_error_t *
00048 scfg_cmd_resume_node(scfg_cmd_t *cmd, const char *ip, apr_pool_t *pool);
00049 sul_error_t *
00050 scfg_cmd_clear_node_notifs(scfg_cmd_t *cmd, const char *ip, apr_pool_t *pool);
00051 sul_error_t *
00052 scfg_cmd_clear_vital_notifs(scfg_cmd_t *cmd, const char *ip, const char *name,
00053                             apr_pool_t *pool);
00054 sul_error_t *
00055 scfg_cmd_delete_vital(scfg_cmd_t *cmd, const char *ip, const char *name,
00056                       apr_pool_t *pool);
00057 sul_error_t *
00058 scfg_cmd_delete_node(scfg_cmd_t *cmd, const char *ip, apr_pool_t *pool);
00059 
00062 #endif

Generated on Wed Apr 28 09:38:33 2004 for State by doxygen 1.3.5