12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /***************************************************************************
- *
- * 通用函数定义
- *
- * Author : Li Bo Feng
- *
- * Update History
- * DATE OWNER DESCRIPTION
- * ----------- ------------ -----------
- * 2014-12-29 Li Bo Feng Generated
- *
- ***************************************************************************/
- #ifndef _DC_CODE_H_
- #define _DC_CODE_H_
- #ifdef _EDIT_IN_WINDOWS_ONLY
- #include <windows.h>
- #endif
- #include <unistd.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
- #include <stdarg.h>
- #include <ctype.h>
- #include <string.h>
- #include <signal.h>
- #include <sys/file.h>
- #include <sys/dir.h>
- #include <sys/stat.h>
- #include "dc.h"
- #include "ab_code.h"
- /**
- * 交易日志记录字符串分割
- * 参数:
- * stringBuffer 交易日志记录,即被分割字符串
- * splitChar 分隔字符
- * reveiveBuffer 交易日志字段,即分割后字符串接收数组
- * inReveiveBufferLength_outSplittedStringCount 输出分割后字符串数量
- * 返回:
- * 正常返回 DC_RET_OK,否则返回错误码
- */
- int splitString(char *stringBuffer, char splitChar, char reveiveBuffer[][MAX_FIELD_SIZE],
- int *inReveiveBufferLength_outSplittedStringCount);
- #endif
|