#ifndef __COLLECTOR_H__
#define __COLLECTOR_H__

#include "sched.h"

enum AdTypes
{
    STARTD_AD,
    SCHEDD_AD,
    MASTER_AD,
    GATEWAY_AD,
    CKPT_SRVR_AD,

    NUM_AD_TYPES
};

// collector commands
const int UPDATE_STARTD_AD       = 0;
const int UPDATE_SCHEDD_AD       = 1;
const int UPDATE_MASTER_AD       = 2;
const int UPDATE_GATEWAY_AD      = 3;
const int UPDATE_CKPT_SRVR_AD  = 4;

const int QUERY_STARTD_ADS       = 5;
const int QUERY_SCHEDD_ADS       = 6;
const int QUERY_MASTER_ADS       = 7;
const int QUERY_GATEWAY_ADS      = 8;
const int QUERY_CKPT_SRVR_ADS  = 9;

#endif // __COLLECTOR_H__



#ifndef __COLLECTOR_H__
#define __COLLECTOR_H__

#include "sched.h"

enum AdTypes
{
    STARTD_AD,
    SCHEDD_AD,
    MASTER_AD,
    GATEWAY_AD,
    CKPT_SRVR_AD,

    NUM_AD_TYPES
};

#include "condor_commands.h"   // collector commands

#endif // __COLLECTOR_H__



Use condor_commands.h instead of defining commands here.
Use condor_commands.h instead of defining commands here.
