- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
STRLST.H
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:1k
源码类别:
操作系统开发
开发平台:
DOS
- /*
- * Copyright (c) 1990, 1999 Erick Engelke
- */
- #ifndef _STRLST_H
- #define _STRLST_H
- #ifndef RTOS_H
- #include <rtos.h>
- #endif
- #define _STRLST_SE_SIG 0x475833ffL
- typedef struct _stringentry {
- DWORD se_sig;
- struct _stringentry *se_next;
- char *se_string;
- void *se_data;
- } stringentry;
- #define _STRLST_SL_SIG 0x7654f323L
- typedef struct _stringlist {
- DWORD sl_sig;
- stringentry *sl_list;
- } stringlist;
- stringlist *strlst_new( void );
- int strlst_adddata( stringlist *sl, char *s, void *d );
- int strlst_add( stringlist *sl, char *s );
- void strlst_del( stringlist *sl, int index );
- void strlst_freeall( stringlist *sl );
- char *strlst_getfirst( stringlist *sl, void **dummy, BYTE **data );
- char *strlst_getnext( stringlist *sl, void **dummy, BYTE **data );
- char *strlst_findfirst( stringlist *sl, char *text, void **dummy, BYTE **data );
- #endif