blob: 153a47153b4f52df368fb07238b5d180a5903338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _INCLUDE_SOQ_SENDLOG_H_
#define _INCLUDE_SOQ_SENDLOG_H_
#include "soq_types.h"
#include <MESA/Maat_rule.h>
#include <MESA/stream.h>
struct opt_unit_t
{
soq_opt_t opt_type;
int opt_len;
const void* opt_value;
};
struct soq_log_t
{
const struct streaminfo *stream;
const Maat_rule_t*result;
int result_num;
};
//return 0 if SUCCESS, otherwise return -1
void soq_send_log(const soq_log_t* log_msg,struct opt_unit_t* log_opt,int opt_num, int thread_id);
#endif
|