root/src/stratcon_datastore.h

Revision 21b0c6c1011f78327925b8a1914d98cdd5cd43d5, 0.6 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

first whack at feeding actual data. refs #71

  • Property mode set to 100644
Line 
1 /*
2  * Copyright (c) 2007, OmniTI Computer Consulting, Inc.
3  * All rights reserved.
4  */
5
6 #ifndef _NOIT_STRATCON_DATASTORE_H
7 #define _NOIT_STRATCON_DATASTORE_H
8
9 #include "noit_defines.h"
10 #include "eventer/eventer.h"
11 #include "utils/noit_hash.h"
12
13 #include <sys/types.h>
14 #include <sys/socket.h>
15
16 typedef enum {
17  DS_OP_INSERT = 1,
18  DS_OP_CHKPT = 2,
19  DS_OP_FIND = 3,
20  DS_OP_FIND_COMPLETE = 4
21 } stratcon_datastore_op_t;
22
23 API_EXPORT(void)
24   stratcon_datastore_push(stratcon_datastore_op_t,
25                           struct sockaddr *, void *);
26
27 API_EXPORT(int)
28   stratcon_datastore_saveconfig(void *unused);
29
30 #endif
Note: See TracBrowser for help on using the browser.