/*
** CBLM v3
** $Id: probe.h,v 1.1 2006/05/08 01:52:14 sella Exp $
** Copyright (c) 2004 James M. Sella. All Rights Reserved.
** Released under the GPL Version 2 License.
** http://www.digitalgenesis.com
** 
** Cheap Bastard Latency Monitor v3
*/

#ifndef __DGS_PROBE_H
#define __DGS_PROBE_H

#ifdef HAVE_CONFIG_H
	#include <config.h>
#endif

#ifndef __USE_BSD
	#define __USE_BSD
#endif
#include <netinet/ip.h>
#ifndef __FAVOR_BSD
	#define __FAVOR_BSD
#endif
#include <netinet/udp.h>

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <arpa/inet.h>
#include <syslog.h>

#include <errno.h>
#include <assert.h>

typedef struct probe_t {
	struct in_addr ip;
	struct probe_t* next;
} _probe_t;

/* Function definitions. */
int register_probe();
int unregister_probe();
int read_probes();
void free_probes();

#endif

/*
** Local Variables:
** c-basic-offset: 3
** tab-width: 3
** End:
** vim: noet ts=3 sw=3
*/
