lls_str.h
来自「国外网站上的一些精典的C程序」· C头文件 代码 · 共 42 行
H
42 行
/* ======================================================================= LLS_STR.h Generic Singly Linked List for Strings. v1.00 94-08-11 - Based on the LLS_BLOB module for variable size data- items. Use the functions in the LLS module for operations not specific to Strings. - Refer to LLS_BLOB.h for comments. - Note that ALL functions of LLS_BLOB are redefined for consistency reasons. This module has no associated .C files. _____ This version is Public Domain. /_|__| A.Reitsma, Delft, The Netherlands./ | \ --------------------------------------------------------------- */#ifndef LLS_STR__H#define LLS_STR__H#include <string.h>#include "lls_blob.h"#define LLSstringCreate() LLSblobCreate()#define LLSstringInsert(l,s) LLSblobInsert( l, s, strlen( s ) +1 )#define LLSstringAdd(l,s) LLSblobAdd( l, s, strlen( s ) +1 )#define LLSstringPrepend(l,s) LLSblobPrepend( l, s, strlen( s ) +1 )#define LLSstringAppend(l,s) LLSblobAppend( l, s, strlen( s ) +1 )#define LLSstringDelete(l) LLSblobDelete( l )#define LLSstringData(l,d) LLSblobData( l, d ) /* returns strlen() +1 !!! */#endif /* LLS_STR__H *//* ==== LLS_STR.h end ================================================ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?