This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-maat/src/inc_internal/json2iris.h

31 lines
822 B
C
Raw Normal View History

2022-12-03 22:23:41 +08:00
/*
**********************************************************************************************
* File: json2iris.h
* Description: rule for transform json2iris
2023-05-04 17:10:19 +08:00
* Authors: Zheng chao <zhengchao@geedgenetworks.com>
2022-12-03 22:23:41 +08:00
* Date: 2022-10-31
2023-05-04 17:10:19 +08:00
* Copyright: (c) Since 2022 Geedge Networks, Ltd. All rights reserved.
2022-12-03 22:23:41 +08:00
***********************************************************************************************
*/
#ifndef _JSON2IRIS_H_
#define _JSON2IRIS_H_
#ifdef __cplusplus
2022-12-03 22:23:41 +08:00
extern "C"
{
#endif
#include "hiredis/hiredis.h"
#include "log/log.h"
2022-12-03 22:23:41 +08:00
2023-02-03 17:28:14 +08:00
int json2iris(const char *json_buff, const char *json_filename,
redisContext *redis_write_ctx, char *iris_dir_buf,
int buf_len, char *encrypt_key, char *encrypt_algo,
2022-12-09 17:12:18 +08:00
struct log_handle *logger);
2022-12-03 22:23:41 +08:00
#ifdef __cplusplus
2022-12-03 22:23:41 +08:00
}
#endif
#endif