| Line | |
|---|
| 1 |
/* |
|---|
| 2 |
* Copyright (c) 2007, OmniTI Computer Consulting, Inc. |
|---|
| 3 |
* All rights reserved. |
|---|
| 4 |
*/ |
|---|
| 5 |
|
|---|
| 6 |
#ifndef _STRATCON_REALTIME_HTTP_H |
|---|
| 7 |
#define _STRATCON_REALTIME_HTTP_H |
|---|
| 8 |
|
|---|
| 9 |
#include "noit_conf.h" |
|---|
| 10 |
|
|---|
| 11 |
/* This is in the public header as the stratcon_datastore must know |
|---|
| 12 |
* how to resolve this |
|---|
| 13 |
*/ |
|---|
| 14 |
struct realtime_tracker { |
|---|
| 15 |
int sid; /* set by request */ |
|---|
| 16 |
int interval; /* set by request */ |
|---|
| 17 |
char *noit; /* resolved by datastore */ |
|---|
| 18 |
uuid_t checkid; /* resolved by datastore */ |
|---|
| 19 |
struct realtime_tracker *next; /* next in series */ |
|---|
| 20 |
eventer_t conn; /* used to track noitd connection feeding this */ |
|---|
| 21 |
struct realtime_context *rc; /* link back to the rc that justified us */ |
|---|
| 22 |
}; |
|---|
| 23 |
|
|---|
| 24 |
API_EXPORT(void) |
|---|
| 25 |
stratcon_realtime_http_init(const char *toplevel); |
|---|
| 26 |
|
|---|
| 27 |
#endif |
|---|