#ifndef _INCLUDE_SOQ_SENDLOG_H_ #define _INCLUDE_SOQ_SENDLOG_H_ #include "soq_types.h" #include #include 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