goahead是linux下的轻量级web服务器

源代码在线查看: symlookup.htm

软件大小: 129 K
上传用户: wuweixiong123
关键词: goahead linux web 轻量级
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				symLookup -- basic
				
				
				
				
				 
				
				
					 symLookup
				     basic
				     EMF
				
				
				
				
				Synopsis
				Finds a value from a symbol table given the lookup key
				
				Prototype
				
				
				sym_t *symLookup(sym_fd_t sd, char_t* aname);
				
				
				Parameters
				
				
				    
				    
				        sd
				        Handle to the table created from a previous call to symOpen
					
				    
				        aname
				        The string lookup key that was set by 
							symEnter
					
				
				
				
				Description
				
				 
				This module implements a highly efficient generic symbol table with 
				update and access routines.  Symbols are simple character strings and 
				the values they take can be flexible types as defined by value_t.
				This module allows multiple symbol tables to be created.
				
				
				Return Value
				 
				Returns a pointer to a sym_t structure which contains the value.
				NULL if not found.
				
				
				Example
				
				sym_fd_t id;
				sym_t* sp;
				
				id = symOpen(64);
				...
				
				symEnter(id, "lookup", valueString("value"), 0);
				...
				
				sp = symLookup(id, "lookup");
				
				
				See Also
				
				symClose,
				symDelete,
				symEnter,
				symFirst,
				symNext,
				symOpen
				
				
				
				
							

相关资源