Routines

 

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

 

A

addPostItem( )insert item name and limit the max size of value

B

base64_decode( )decoding src with base64 and store into dst
base64_encode( )encoding src with base64 and store into dst
bmpCreate( )create a new BMP image
bmpDestroy( )free the bmp handle
bmpPoint( )draw a pointer in position(y, x)
bmpPoint( )draw a pointer in position(y, x)
bmpPT( )make a point
bmpRectFill( )draw a rectangle and fill it
bmpRGB( )make RGB color
bmpSave( )save the memory bmp into bmp file
bwrite( )write binary data block

C

cgiPrefix( )make current cgi prefix string
cgiPrefix2( )make current cgi prefix string
cgiPrefix3( )make CGI prefix by current page name
createPostParam( )create a struct to hold post parameters

D

distoryPost( )free this post
distoryPostParam( )free post parameters
dopost( )read post data and parse it

E

ebBase64Decode( )decoding src with base64 and store into dst
ebBase64Encode( )encoding src with base64 and store into dst
ebBufCreate( )allocate a new tlv buffer then init it
ebBufDistroy( )free eybuild buffer
ebBufFlush( )flush eybuild buffer
ebBufIsAutoFlush( )check allow auto flush or not
ebBufIsFlushed( )check buffer ever flushed or not
ebBufReset( )reset the state to initialization state
ebBufResize( )change tlv buffer size to new size
ebBufStringAdd( )add a const string to the eybuild buffer
ebBufTlvAdd( )add data to tlv buffer
ebCalloc( )allocate space for an array
ebCgiInfo( )list current CGI environment.
ebCheckBufSize( )check tlv buffer size
ebClean( )clean current task control block
ebDefLangSet( )set the default language for current session
ebDefLangSet( )get current session language index
ebForward( )internal redirect in CGI virtual directory
ebFree( )free a block of memory
ebfwrite( )write binary data block into stream
ebGetBufRemain( )get the remain size for data write to avaiable
ebgetenv( )get the value of envirement variable
ebGetMainPage( )get defult page for this cgi
ebGetMainType( )get defult page type for this cgi
ebGetSessVariable( )get session variable by key
ebGetStat( )get stat information
ebHeader( )output HTTP header
ebHtmlDecode( )convert html format text into plain text
ebHtmlEncode( )convert plain text into html format text
ebHtmlnPrint( )convert plain text into html format text limit data length
ebHtmlPrint( )convert plain text into html format text
ebInit( )init current task control block
ebLangClean( )clean this lib for multi-task OS
ebLangGetByKey( )get current language value string by key
ebLangInit( )init this lib for multi-task OS
ebLogMsg( )dispaly log message to stderr
ebLogMsg2( )dispaly log message to stderr
ebMakeMsg( )store the format string to task templete buffer.
ebMalloc( )allocate a block of memory from the system memory partition
ebMemDestroy( )destroy memory management library
ebMemInit( )initialize memory management library
ebMemStat( )get the statistic info about current management library.
ebMemStatShow( )output the memory statistic into stderr
ebprintf( )write a formatted string to the eybuild buffer
ebRealloc( )reallocate a block of memory
ebRedirect( )redirect to an URL
ebRequestReset( )reset current task control block for FAST_CGI
ebRespondFlush( )flash current task respond
ebSendError( )send error message to error page
ebSessDestroy( )remove current session completely
ebSessEnd( )stop this session
ebSessGC( )garbage collection by probability
ebSessGetID( )get current session ID
ebSessIDRenew( )renew current session ID
ebSessInit( )initilize the session
ebSessIsRegister( )check specified session variable exist or not
ebSessRegister( )register new session variable or update exist variable
ebSessSetHandle( )change the default session handle
ebSessStart( )prepare session environment
ebSessUnregister( )remove specified session variable
ebSetBufAutoFlush( )set allow auto flush or not
ebSetBufDeflat( )set allow gzip compress output or not
ebSetCookie( )send cookie with HTTP header
ebSetDebug( )set debug environment
ebSetMainPage( )set defult page for this cgi
ebSetVar( )add a query variable into this session
ebStrdup( )make a copy of source string
ebUrlDecode( )decode the URL and store in a global buffer
ebUrlEncode( )encode the unsafe characters into '%XX' in URL
ebvprintf( )write a formatted string to the eybuild buffer
ebWriteBlock( )write binary data block
ebXmlnPrint( )convert plain text into html format text limit data length
ebXmlPrint( )convert plain text into html format text
eyBuildExec( )send ROM page or excute csp page

F

file_atime( )get the last access time of the file
file_ctime( )get the create time of the file
file_executable( )test the file executable or not
file_exists( )test file exist or not
file_isblock( )test the file is a block device or not
file_ischar( )test the file is a character device or not
file_isdir( )test the file is a directory or not
file_isfifo( )test the file is a fifo or not
file_islink( )test the file is a symbolic link or not
file_isreg( )test the file is a regular file or not
file_mtime( )get the last modified time of the file
file_readable( )test the file readable or not
file_size( )get file size if file exist
file_writeable( )test the file writeable or not
forEachNode( )done user hook for each node in current subtree
forward( )internal redirect in CGI virtual directory

G

getAuthType( )get auth type (AUTH_TYPE)
getContentLength( )get content length (CONTENT_LENGTH)
getContentType( )get content type (CONTENT_TYPE)
getCookie( )get the value of cookie
getCookieByIndex( )get the cookie by index
getCookieNext( )get the next paramter by "name"
getCookieNumber( )get the number of cookie in cookie list (for GET/POST)
getEbCBlock( )get eybuild control block
getEbiofp( )get current I/O buffer file description
getGatewayInterface( )get gateway interface (GATEWAY_INTERFACE)
getHttpAccept( )get HTTP accept MIME type (HTTP_ACCEPT)
getHttpAcceptEncode( )get browser accept encode (HTTP_ACCEPT_ENCODING)
getHttpAcceptLanguage( )get browser accept language (HTTP_ACCEPT_LANGUAGE)
getHttpConnection( )get connect state (HTTP_CONNECTION)
getHttpCookie( )get HTTP cookie list (HTTP_COOKIE)
getHttpHeader( )get the value of specified HTTP header name
getHttpLastModified( )get the date last modified (HTTP_IF_MODIFIED_SINCE)
getHttpUserAgent( )get remote user agent (HTTP_USER_AGENT)
getParameter( )get the value of parameter user variable
getParameterNext( )get the next paramter by "name"
getPathInfo( )get path info (PATH_INFO)
getPathTranslated( )get path info (PATH_INFO)
getPost( )get the value of parameter user submit by POST method
getPostFileCount( )get the number of files uploaded
getPostItemValue( )get post item value by item name
getPostSrcFileName( )get source file name by index from post
getPostTempFileName( )get temporary file by index from post
getQeuryByIndex( )get the query by index
getQeuryNumber( )get the number of query in query list (for GET/POST)
getQueryString( )get questry string (QUERY_STRING)
getRemoteAddr( )get remote host IP Address or URL (REMOTE_ADDR)
getRemoteHost( )get remote host IP Address or URL (REMOTE_HOST)
getRemoteIdent( )get remote ident (REMOTE_IDENT)
getRemotePort( )get remote host port (REMOTE_PORT)
getRemoteUser( )get remote user (REMOTE_USER)
getRequestMethod( )get request method (REQUEST_METHOD)
getScriptName( )get script name (SCRIPT_NAME)
getServerAddr( )get server IP address (SERVER_ADDR)
getServerName( )get server name (SERVER_NAME)
getServerPort( )get server port (SERVER_PORT)
getServerProtocol( )get server protocol (SERVER_PROTOCOL)
getServerSoftware( )get server software (SERVER_SOFTWARE)
get_dirlen( )get the length of directory from given path
get_extname( )get file extended name from given path
get_filename( )get filename from given path

H

header( )send HTTP header in CSP script

I

initEnviron( )initilize environ struct with current environment
installPostHook( )install hooks and cookie to this post
isblankstr( )check a string is NULL or only include spaces/tabs
isSetCookie( )check a cookie exist or not
isSetQuery( )check a query exist or not

L

lstAdd( )add a node to the end of a list
lstConcat( )concatenate two lists
lstCount( )report the number of nodes in a list
lstDelete( )delete a specified node from a list
lstExtract( )extract a sublist from a list
lstFind( )find a node in a list
lstFirst( )find first node in list
lstForEach( )done user hook for each list node
lstFree( )free up a list
lstInit( )initialize a list descriptor
lstInsert( )insert a node in a list after a specified node
lstLast( )find the last node in a list
lstNext( )find the next node in a list
lstNStep( )find a list node steps away from a specified node
lstNth( )find the Nth node in a list
lstPrevious( )find the previous node in a list
ltostr( )covert a long number into a string

M

makeSessID( )create session ID
MD5Final( )calculate the MD5 digest for src, output with hex format
MD5Hex( )calculate the MD5 digest for src, output with hex format
MD5Init( )initializes an MD5 message digest context
MD5String( )calculate the MD5 digest for src
MD5Update( )updates the MD5 context by using the supplied buffer
memshow( )list the data of specified memory area
memshow( )list the data of specified memory area to a file
movePostFile( )move post file by index to specified directory

P

preg_match( )perform a regular expression match
preg_match_all( )perform regular expression match searches all in target
preg_replace( )perform a regular expression search and replace
preg_split( )split string by a regular expression
preg_split_free( )free split list
print( )write a formatted string and buffered by CSP page

R

redirect( )send redirect instruction with HTTP header
regcomp( )compile regular expression
regcomp2( )compile regular expression advanced version
regerror( )get errmsg string by error code
regexec( )match a null-terminated string against the precompiled pattern
regfree( )free regular expressions resources
romPrefix( )make current rom prefix string
romPrefix2( )make current rom prefix string
romPrefix3( )make ROM prefix by current directory

S

set( )add a query variable into this session
setcookie( )send cookie with HTTP header
sqlite_affected_rows( )get last INSERT, UPDATE, or DELETE affected_rows
sqlite_begin_trans( )start transaction
sqlite_close( )close a data base
sqlite_column_count( )get the number of fields/columns
sqlite_column_name( )get field/column name by index
sqlite_column_type( )get field/column type by index
sqlite_commit_trans( )commit transaction
sqlite_dump_row( )dump the fetched row
sqlite_end_trans( )end transaction
sqlite_errno( )get last error code
sqlite_error( )get last error description string
sqlite_exec( )execute a result-less query
sqlite_fetch_lengths( )get the length of each fields/columns
sqlite_fetch_row( )fetch a row for query result
sqlite_free_dump( )free the row dumped by sqlite_dump_row()
sqlite_free_result( )free the query result
sqlite_init( )init the SQLITE struct
sqlite_num_fields( )get field/column type by index
sqlite_open( )open a data base
sqlite_query( )execute a sql sentence
sqlite_query_fetch_once( )execute query and fetch a row for query result
sqlite_real_query( )query by specified length.
sqlite_rollback_trans( )rollback transaction
strdup( )make a copy of source string
strichr( )find the first occurrence of a character in a string
stricmp( )compare strings, ignoring case
strirep( )replace the substring with case-insensitive
strissp( )check string just include white space or not
stristr( )find the first occurrence of substr in a string
strltrim( )jumpover white-space in the left side of a string
strnchr( )limit lenth find the first occurrence of a character in a string
strncspn( )search character in a given set limit the search length
strndup( )make a copy of source string limit length
strnichr( )find the first occurrence of a character in a string
strnicmp( )compare strings, limit length, ignoring case
strnissp( )limit lenth check string just include white space or not
strnistr( )find the first occurrence of substr in a string
strnstr( )find the first occurrence of substr in a string
strrcspn( )search character in a given set retrorsely
strrep( )replace the substring with in source string
strrev( )reverse a string
strrpbrk( )search character in a given set retrorsely
strrspn( )search character not in a given set retrorsely
strrtok( )break down a string into tokens reverse
strrtrim( )remove white-space in the right side of a string
strsplit( )split 'src' string into at most 'max' sub string
strtolower( )convert string into lowercase
strtoupper( )convert string into uppercase
strtr( )translating all occurrences in "from" to the corresponding in "to"
strtrim( )remove white-space in the both side of a string

T

thisCgiPrefix( )make prefix by current page name
treeAddChild( )insert as last child node of
treeChild( )get first child node of current node
treeChildNth( )get tree child by index(from 0)
treeChildNum( )get the number of child nodes, but not include sub layer
treeDelete( )delete specify node and its sub tree nodes from root tree
treeForEachChild( )done user hook for each child node, but not sub tree
treeFree( )free current tree and sub tree
treeInsChild( )insert as last child node of
treeParent( )get parent node of current node
treeSiblingNum( )get the number of sibling nodes, not include sub layer
trimpath( )remove useless or noneffective \'.\', \'..\' in given path

U

ultostr( )covert an unsigned long number into a string