00001 #ifndef PM_CONFIG_COMMAND_H 00002 #define PM_CONFIG_COMMAND_H 00003 00004 #include <pslib.h> 00005 #include "pmConfig.h" 00006 00007 /// Extend a command-line to include the necessary database flags 00008 /// 00009 /// The command-line is extended with -dbserver, -dbname, -dbuser, -dbpassword 00010 bool pmConfigDatabaseCommand(psString *command, ///< Command to extend 00011 const pmConfig *config ///< Configuration 00012 ); 00013 00014 /// Extend a command-line to propagate the trace flags 00015 /// 00016 /// The command-line is extended with -trace 00017 bool pmConfigTraceCommand(psString *command ///< Command to extend 00018 ); 00019 00020 00021 #endif
1.5.1