| #ifndef DS_AGENT_H |
| #define DS_AGENT_H |
| /* defines agent's default store registrations */ |
| |
| /* booleans */ |
| #define DS_AGENT_VERBOSE 0 /* 1 if verbose output desired */ |
| #define DS_AGENT_ROLE 1 /* 0 if master, 1 if client */ |
| #define DS_AGENT_NO_ROOT_ACCESS 2 /* 1 if we can't get root access */ |
| #define DS_AGENT_AGENTX_MASTER 3 /* 1 if AgentX desired */ |
| |
| /* strings */ |
| #define DS_AGENT_PROGNAME 0 /* argv[0] */ |
| #define DS_AGENT_X_SOCKET 1 /* AF_UNIX or ip:port socket addr */ |
| #define DS_AGENT_PORTS 2 /* localhost:9161,tcp:localhost:9161... */ |
| #define DS_AGENT_INTERNAL_SECNAME 3 /* used by disman/mteTriggerTable. */ |
| |
| /* integers */ |
| #define DS_AGENT_FLAGS 0 /* session.flags */ |
| #define DS_AGENT_USERID 1 |
| #define DS_AGENT_GROUPID 2 |
| #define DS_AGENT_AGENTX_PING_INTERVAL 3 /* ping master every SECONDS */ |
| |
| #endif |