后台改为zlog实现

This commit is contained in:
yangwei
2019-08-31 23:35:44 +08:00
parent cecbe2628d
commit 49822347cb
52 changed files with 8198 additions and 127 deletions

17
zlog/zc_util.h Normal file
View File

@@ -0,0 +1,17 @@
/*
* This file is part of the zlog Library.
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
* Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zc_util_h
#define __zc_util_h
size_t zc_parse_byte_size(char *astring);
int zc_str_replace_env(char *str, size_t str_size);
#define zc_max(a,b) ((a) > (b) ? (a) : (b))
#define zc_min(a,b) ((a) < (b) ? (a) : (b))
#endif