| 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 |
} stratcon_datastore_op_t; |
|---|
| 20 |
|
|---|
| 21 |
API_EXPORT(void) |
|---|
| 22 |
stratcon_datastore_push(stratcon_datastore_op_t, |
|---|
| 23 |
struct sockaddr *, void *); |
|---|
| 24 |
|
|---|
| 25 |
#endif |
|---|