base/drms/libs/main/jsoc_main.h File Reference

Global variables and functions for creating a DRMS module. More...

#include "timeio.h"
#include "jsoc.h"
#include "timer.h"
#include "xassert.h"
#include "drms_types.h"
#include "cmdparams.h"
#include "drms_env.h"
#include "drms_series.h"
#include "drms_keyword.h"
#include "drms_link.h"
#include "drms_record.h"
#include "drms_segment.h"
#include "drms_array.h"
#include "drms_protocol.h"
#include "drms_statuscodes.h"
#include "drms_parser.h"
#include "drms_network.h"
#include "drms_names.h"
#include "util.h"
#include "drms_dsdsapi.h"
#include "drms_defs.h"

Include dependency graph for jsoc_main.h:

Go to the source code of this file.

Defines

#define kARCHIVEARG
#define kCreateShadows
#define kDBTimeOut
#define kDBUtf8ClientEncoding
#define kLoopConn
#define kNewSuRetention
#define kQUERYMEMARG
#define kRETENTIONARG
#define kSERVERWAITARG

FunctionsTitleTestFour

int DoIt (void)
CmdParams_tGetGlobalCmdParams (void)
int JSOCMAIN_Init (int argc, char **argv, const char *module_name, int *dolog, int *verbose, pid_t *drms_server_pid, pid_t *tee_pid, int *cont)
int JSOCMAIN_Main (int argc, char **argv, const char *module_name, int(*CallDoIt)(void))
int JSOCMAIN_Term (int dolog, int verbose, pid_t drms_server_pid, pid_t tee_pid, int abort_flag)
int RegisterDoItCleaner (DRMS_Env_t *env, pFn_Cleaner_t cb, void *data)

Variables

CmdParams_t cmdparams
 Global DRMS-module structure representing the command-line arguments provided to the module executable.
DRMS_Env_tdrms_env
 Global DRMS Environment handle.
ModuleArgs_tgModArgs
 Global DRMS-module pointer that refers to module_args.
ModuleArgs_t module_args []
 Global DRMS-module structure representing the default command-line arguments for a DRMS module.
char * module_name
 Global DRMS-module string providing the name of the module.


Detailed Description

Global variables and functions for creating a DRMS module.

These functions handle DRMS session startup and shutdown, cmd-line parameter parsing, and default-parameter initialization.

See also:
module module_args

Definition in file jsoc_main.h.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1