aboutsummaryrefslogtreecommitdiffstats
path: root/csocketevents.h
blob: d02b3d23df3464a5dccab24b38756a7a500237f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __CSOCKETEVENTS
#define __CSOCKETEVENTS

#include "cphidget.h"
#include "regex.h"
#include "utils/utils.h"
#include "cphidgetlist.h"
#include "pdictclient.h"
#ifdef USE_ZEROCONF
#include "dns_sd.h"
#endif

extern regex_t phidgetsetex;
extern regex_t managerex;
extern regex_t managervalex;

void network_phidget_event_handler(const char *key, const char *val, unsigned int len, pdict_reason_t reason, void *ptr);
void network_manager_event_handler(const char *key, const char *val, unsigned int len, pdict_reason_t, void *ptr);
void network_heartbeat_event_handler(const char *key, const char *val, unsigned int len, pdict_reason_t reason, void *ptr);

#endif