22 lines
455 B
C
22 lines
455 B
C
|
#ifndef _LOG_REMOTE_H
|
||
|
#define _LOG_REMOTE_H
|
||
|
|
||
|
#include "ulog_api.h"
|
||
|
#include "common_types.h"
|
||
|
#include "rpc_common.h"
|
||
|
|
||
|
typedef enum {
|
||
|
LOG_REMOTE_OP_ADD = 0,
|
||
|
LOG_REMOTE_OP_DEL
|
||
|
} log_op_t;
|
||
|
|
||
|
typedef struct _log_remote_host {
|
||
|
log_op_t op;
|
||
|
u8 rfc;
|
||
|
char host[256];
|
||
|
u16 port;
|
||
|
} log_remote_host_t;
|
||
|
|
||
|
void rpc_conf_log_remote(rpc_conn *conn, pointer input, int input_len, pointer data);
|
||
|
|
||
|
#endif
|