<commit_before>/******************************************************************************
gass_cache.c 

Description:

CVS Information:

    $Source$
    $Date$
    $Revision$
    $Author$
******************************************************************************/

/******************************************************************************
                             Include header files
******************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>

#include "lber.h"
#include "ldap.h"
#include "globus_gram_client.h"
#include "globus_gass_server_ez.h"
#include "globus_gass_client.h"
#include "globus_gass_cache.h"
#include "globus_nexus.h"

char *get_contact_string(LDAP *ldap_server, LDAPMessage* entry);

typedef enum {
    GASSL_ADD,
    GASSL_DELETE,
    GASSL_CLEANUP_TAG,
    GASSL_CLEANUP_FILE,
    GASSL_LIST
} gassl_cache_op_t;

static int usage(char *n);
static char *get_rm_contact(char *resource);
static void remote_cache(gassl_cache_op_t op,
			 char *tag,<commit_msg>added #include "globus common.h" to the top of the file to get all of the necessary system libraries<commit_after>/******************************************************************************
gass_cache.c 

Description:

CVS Information:

    $Source$
    $Date$
    $Revision$
    $Author$
******************************************************************************/

/******************************************************************************
                             Include header files
******************************************************************************/
#include "globus_common.h"

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>

#include "lber.h"
#include "ldap.h"
#include "globus_gram_client.h"
#include "globus_gass_server_ez.h"
#include "globus_gass_client.h"
#include "globus_gass_cache.h"
#include "globus_nexus.h"

char *get_contact_string(LDAP *ldap_server, LDAPMessage* entry);

typedef enum {
    GASSL_ADD,
    GASSL_DELETE,
    GASSL_CLEANUP_TAG,
    GASSL_CLEANUP_FILE,
    GASSL_LIST
} gassl_cache_op_t;

static int usage(char *n);
static char *get_rm_contact(char *resource);
static void remote_cache(gassl_cache_op_t op,
			 char *tag,
{'fraction_non_alphanumeric': 0.35049762007788837, 'fraction_numerical': 0.0, 'mean_word_length': 5.780058651026393, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1780151', 'n_tokens_mistral': 728, 'n_tokens_neox': 681, 'n_words': 140}