1 #ifndef GANGLIA_PRIV_H 2 #define GANGLIA_PRIV_H 1 3 4 #ifdef HAVE_CONFIG_H 5 #include "config.h" 6 #endif 7 8 #ifdef HAVE_SYS_TIME_H 9 #include <sys/time.h> 10 #ifdef TIME_WITH_SYS_TIME 11 #include <time.h> 12 #endif 13 #endif 14 15 #include <gm_msg.h> 16 17 #include <errno.h> 18 #ifndef SYS_CALL 19 #define SYS_CALL(RC,SYSCALL) \ 20 do { \ 21 RC = SYSCALL; \ 22 } while (RC < 0 && errno == EINTR); 23 #endif 24 25 #define GANGLIA_DEFAULT_MCAST_CHANNEL "239.2.11.71" 26 #define GANGLIA_DEFAULT_MCAST_PORT 8649 27 #define GANGLIA_DEFAULT_XML_PORT 8649 28 29 #ifndef SYNAPSE_FAILURE 30 #define SYNAPSE_FAILURE -1 31 #endif 32 #ifndef SYNAPSE_SUCCESS 33 #define SYNAPSE_SUCCESS 0 34 #endif 35 36 char *Ganglia_default_collection_groups(void); 37 38 #endif 39