12345678910111213141516171819202122 |
- #ifndef BIZLOG_H
- #define BIZLOG_H
- #pragma once
- typedef struct bizlog_t bizlog_t;
- bizlog_t *bizlog_create(const char *base_dir);
- void bizlog_destroy(bizlog_t *log);
- int bizlog_has_session(bizlog_t *log);
- int bizlog_session_begin(bizlog_t *log, const char *session,const char*filename=NULL);
- int bizlog_session_end(bizlog_t *log);
- int bizlog_function(bizlog_t *log, const char *name, const char *display_name, const char *product, const char *service_code, int action_id);
- int bizlog_customer_id(bizlog_t *log, const char *customer_id, const char *verify_method, int level, int action_id);
- int bizlog_agreement(bizlog_t *log, const char *content, int action_id);
- int bizlog_receipt(bizlog_t *log, const char *content, int action_id);
- int bizlog_operation(bizlog_t *log, const char *op_code, const char *content, int action_id);
- int bizlog_response(bizlog_t *log, const char *ret_code, const char *content, int action_id);
- int bizlog_agent(bizlog_t *log, const char *op_code, const char *content, int action_id);
- int bizlog_call_id(bizlog_t *log, const char *call_id, const char *skillcode, const char *agent_id, int action_id);
- #endif // BIZLOG_H
|