<commit_before>#ifndef GANGLIA_H
#define GANGLIA_H 1
/* $Id$ */

#ifdef __cplusplus
extern "C" {
#endif

#define SYNAPSE_SUCCESS 0
#define SYNAPSE_FAILURE -1
#define G3_SUCCESS 0
#define G3_FAILURE -1
#define G3_FALSE 0
#define G3_TRUE 1

/* Public GEXEC Functions and Structures */
extern int gexec_errno;

#define GEXEC_TIMEOUT 60
#define MAXHOSTNAME 128

typedef struct
   {
      char ip[16];
      char name[MAXHOSTNAME];
      char domain[MAXHOSTNAME];
      double load_one;
      double load_five;
      double load_fifteen;
      double cpu_user;
      double cpu_nice;
      double cpu_system;
      double cpu_idle;
      unsigned int proc_run;
      unsigned int proc_total;
      unsigned int cpu_num;
      unsigned long last_reported;
      int gexec_on;
      int name_resolved;
   }
gexec_host_t;
<commit_msg>Updated gexec commandline processing to be more user-friendly and developer-friendly (by using gengetopt templates).<commit_after>#ifndef GANGLIA_H
#define GANGLIA_H 1
/* $Id$ */

#ifdef __cplusplus
extern "C" {
#endif

#define SYNAPSE_SUCCESS 0
#define SYNAPSE_FAILURE -1
#define G3_SUCCESS 0
#define G3_FAILURE -1
#define G3_FALSE 0
#define G3_TRUE 1

/* Public GEXEC Functions and Structures */
extern int gexec_errno;

#define GEXEC_GANGLIA_PORT    8649

#define GEXEC_TIMEOUT 60
#define MAXHOSTNAME 128

typedef struct
   {
      char ip[16];
      char name[MAXHOSTNAME];
      char domain[MAXHOSTNAME];
      double load_one;
      double load_five;
      double load_fifteen;
      double cpu_user;
      double cpu_nice;
      double cpu_system;
      double cpu_idle;
      unsigned int proc_run;
      unsigned int proc_total;
      unsigned int cpu_num;
      unsigned long last_reported;
      int gexec_on;
      int name_resolved;
   }
gexec_host_t;

{'fraction_non_alphanumeric': 0.06588498045784479, 'fraction_numerical': 0.02233389168062535, 'mean_word_length': 3.1869158878504673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2826487', 'n_tokens_mistral': 636, 'n_tokens_neox': 602, 'n_words': 180}