2021-09-08 21:25:52 +08:00
|
|
|
#ifndef __STR_ARGS__H
|
|
|
|
#define __STR_ARGS__H
|
|
|
|
#include "dataArgs.h"
|
2021-09-10 17:49:56 +08:00
|
|
|
Args* New_strBuff(void);
|
|
|
|
char* strsGetFirstToken(Args* buffs, char* strIn, char sign);
|
|
|
|
char* strsGetLastToken(Args* buffs, char* arg_Path, char sign);
|
|
|
|
char* strsPopToken(Args* buffs, char* tokens, char sign);
|
|
|
|
char* strsCopy(Args* buffs, char* source);
|
|
|
|
char* strsDeleteChar(Args* buff, char* strIn, char ch);
|
|
|
|
char* strsCut(Args* buffs, char* strIn, char startSign, char endSign);
|
|
|
|
char* strsRemovePrefix(Args* buffs, char* inputStr, char* prefix);
|
|
|
|
char* strsAppend(Args* buffs, char* strOrigin, char* strAppend);
|
|
|
|
char* strsFormat(Args* buffs, uint16_t buffSize, const char* fmt, ...);
|
|
|
|
char* strsGetDirectStr(Args* buffs, char* argPath);
|
|
|
|
char* strsGetCleanCmd(Args* buffs, char* cmd);
|
2021-09-08 21:25:52 +08:00
|
|
|
#endif
|