亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? scanner.h

?? 基于sip協議的網絡電話源碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* $Id: scanner.h 1142 2007-04-04 09:54:29Z bennylp $ *//*  * Copyright (C) 2003-2005 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  */#ifndef __PJ_SCANNER_H__#define __PJ_SCANNER_H__/** * @file scanner.h * @brief Text Scanning. */#include <pjlib-util/types.h>PJ_BEGIN_DECL/** * @defgroup PJ_SCAN Fast Text Scanning * @ingroup PJLIB_UTIL * @brief Text scanning utility. * * This module describes a fast text scanning functions. * * @{ */#if defined(PJ_SCANNER_USE_BITWISE) && PJ_SCANNER_USE_BITWISE != 0#  include <pjlib-util/scanner_cis_bitwise.h>#else#  include <pjlib-util/scanner_cis_uint.h>#endif/** * Initialize scanner input specification buffer. * * @param cs_buf    The scanner character specification. */PJ_DECL(void) pj_cis_buf_init(pj_cis_buf_t *cs_buf);/** * Create a new input specification. * * @param cs_buf    Specification buffer. * @param cis       Character input specification to be initialized. * * @return          PJ_SUCCESS if new specification has been successfully *                  created, or PJ_ETOOMANY if there are already too many *                  specifications in the buffer. */PJ_DECL(pj_status_t) pj_cis_init(pj_cis_buf_t *cs_buf, pj_cis_t *cis);/** * Create a new input specification based on an existing specification. * * @param new_cis   The new specification to be initialized. * @param existing  The existing specification, from which the input *                  bitmask will be copied to the new specification. * * @return          PJ_SUCCESS if new specification has been successfully *                  created, or PJ_ETOOMANY if there are already too many *                  specifications in the buffer. */PJ_DECL(pj_status_t) pj_cis_dup(pj_cis_t *new_cis, pj_cis_t *existing);/** * Add the characters in the specified range '[cstart, cend)' to the  * specification (the last character itself ('cend') is not added). * * @param cis       The scanner character specification. * @param cstart    The first character in the range. * @param cend      The next character after the last character in the range. */PJ_DECL(void) pj_cis_add_range( pj_cis_t *cis, int cstart, int cend);/** * Add alphabetic characters to the specification. * * @param cis       The scanner character specification. */PJ_DECL(void) pj_cis_add_alpha( pj_cis_t *cis);/** * Add numeric characters to the specification. * * @param cis       The scanner character specification. */PJ_DECL(void) pj_cis_add_num( pj_cis_t *cis);/** * Add the characters in the string to the specification. * * @param cis       The scanner character specification. * @param str       The string. */PJ_DECL(void) pj_cis_add_str( pj_cis_t *cis, const char *str);/** * Add specification from another specification. * * @param cis	    The specification is to be set. * @param rhs	    The specification to be copied. */PJ_DECL(void) pj_cis_add_cis( pj_cis_t *cis, const pj_cis_t *rhs);/** * Delete characters in the specified range from the specification. * * @param cis       The scanner character specification. * @param cstart    The first character in the range. * @param cend      The next character after the last character in the range. */PJ_DECL(void) pj_cis_del_range( pj_cis_t *cis, int cstart, int cend);/** * Delete characters in the specified string from the specification. * * @param cis       The scanner character specification. * @param str       The string. */PJ_DECL(void) pj_cis_del_str( pj_cis_t *cis, const char *str);/** * Invert specification. * * @param cis       The scanner character specification. */PJ_DECL(void) pj_cis_invert( pj_cis_t *cis );/** * Check whether the specified character belongs to the specification. * * @param cis       The scanner character specification. * @param c         The character to check for matching. * * @return	    Non-zero if match (not necessarily one). */PJ_INLINE(int) pj_cis_match( const pj_cis_t *cis, pj_uint8_t c ){    return PJ_CIS_ISSET(cis, c);}/** * Flags for scanner. */enum{    /** This flags specifies that the scanner should automatically skip	whitespaces      */    PJ_SCAN_AUTOSKIP_WS = 1,    /** This flags specifies that the scanner should automatically skip        SIP header continuation. This flag implies PJ_SCAN_AUTOSKIP_WS.     */    PJ_SCAN_AUTOSKIP_WS_HEADER = 3,    /** Auto-skip new lines.     */    PJ_SCAN_AUTOSKIP_NEWLINE = 4};/* Forward decl. */struct pj_scanner;/** * The callback function type to be called by the scanner when it encounters * syntax error. * * @param scanner       The scanner instance that calls the callback . */typedef void (*pj_syn_err_func_ptr)(struct pj_scanner *scanner);/** * The text scanner structure. */typedef struct pj_scanner{    char *begin;        /**< Start of input buffer.	*/    char *end;          /**< End of input buffer.	*/    char *curptr;       /**< Current pointer.		*/    int   line;         /**< Current line.		*/    char *start_line;   /**< Where current line starts.	*/    int   skip_ws;      /**< Skip whitespace flag.	*/    pj_syn_err_func_ptr callback;   /**< Syntax error callback. */} pj_scanner;/** * This structure can be used by application to store the state of the parser, * so that the scanner state can be rollback to this state when necessary. */typedef struct pj_scan_state{    char *curptr;       /**< Current scanner's pointer. */    int   line;         /**< Current line.		*/    char *start_line;   /**< Start of current line.	*/} pj_scan_state;/** * Initialize the scanner. Note that the input string buffer must have * length at least buflen+1 because the scanner will NULL terminate the * string during initialization. * * @param scanner   The scanner to be initialized. * @param bufstart  The input buffer to scan. Note that buffer[buflen] will be  *		    filled with NULL char until scanner is destroyed, so *		    the actual buffer length must be at least buflen+1. * @param buflen    The length of the input buffer, which normally is *		    strlen(bufstart). * @param options   Zero, or combination of PJ_SCAN_AUTOSKIP_WS or *		    PJ_SCAN_AUTOSKIP_WS_HEADER * @param callback  Callback to be called when the scanner encounters syntax *		    error condition. */PJ_DECL(void) pj_scan_init( pj_scanner *scanner, char *bufstart, int buflen, 			    unsigned options,			    pj_syn_err_func_ptr callback );/**  * Call this function when application has finished using the scanner. * * @param scanner   The scanner. */PJ_DECL(void) pj_scan_fini( pj_scanner *scanner );/**  * Determine whether the EOF condition for the scanner has been met. * * @param scanner   The scanner. * * @return Non-zero if scanner is EOF. */PJ_INLINE(int) pj_scan_is_eof( const pj_scanner *scanner){    return scanner->curptr >= scanner->end;}/**  * Peek strings in current position according to parameter spec, and return * the strings in parameter out. The current scanner position will not be * moved. If the scanner is already in EOF state, syntax error callback will * be called thrown. * * @param scanner   The scanner. * @param spec	    The spec to match input string. * @param out	    String to store the result. * * @return the character right after the peek-ed position or zero if there's *	   no more characters. */PJ_DECL(int) pj_scan_peek( pj_scanner *scanner,			   const pj_cis_t *spec, pj_str_t *out);/**  * Peek len characters in current position, and return them in out parameter. * Note that whitespaces or newlines will be returned as it is, regardless

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内精品不卡在线| 欧美日韩精品欧美日韩精品一| 成人激情免费视频| 91精品欧美久久久久久动漫| 国产精品激情偷乱一区二区∴| 国产一区91精品张津瑜| 日韩免费视频一区| 免费欧美日韩国产三级电影| 欧美日韩精品三区| 夜夜操天天操亚洲| 在线观看网站黄不卡| 亚洲蜜臀av乱码久久精品| 国产一区在线不卡| 精品国产髙清在线看国产毛片| 午夜精品久久久久久| 国产婷婷色一区二区三区四区 | 韩国一区二区三区| 欧美绝品在线观看成人午夜影视| 亚洲一二三四在线| 欧美揉bbbbb揉bbbbb| 午夜影院久久久| 欧美精品一卡两卡| 激情综合色丁香一区二区| 久久综合色8888| 国产凹凸在线观看一区二区| 久久影院午夜论| 懂色av中文字幕一区二区三区| 日韩一级二级三级精品视频| 亚洲精品视频免费观看| 久久99国产精品麻豆| 国产亚洲欧美一区在线观看| 99久久久国产精品| 一区二区三区在线观看动漫| 欧美三级三级三级| 蜜桃久久av一区| 国产欧美视频在线观看| 99re在线精品| 免费美女久久99| 国产精品伦理一区二区| 色久综合一二码| 久久精品72免费观看| 国产精品欧美经典| 欧美三级韩国三级日本一级| 久久福利资源站| 亚洲天堂久久久久久久| 91精品国模一区二区三区| 国产精品综合一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 欧美在线高清视频| 国产综合色精品一区二区三区| 久久九九全国免费| 欧美三电影在线| 国产成人鲁色资源国产91色综 | 久久影院午夜片一区| 91无套直看片红桃| 麻豆精品精品国产自在97香蕉| 国产色爱av资源综合区| 欧美视频一二三区| 高清成人在线观看| 午夜国产不卡在线观看视频| 国产欧美视频一区二区三区| 欧美日韩国产一区二区三区地区| 国产成人av影院| 日韩精品色哟哟| 亚洲欧美激情视频在线观看一区二区三区 | 麻豆成人久久精品二区三区小说| 中文字幕一区二区三区在线播放| 欧美剧在线免费观看网站| 高清不卡在线观看av| 日韩精品电影一区亚洲| 亚洲免费在线观看| 国产精品视频麻豆| wwww国产精品欧美| 日韩一区二区三区四区五区六区 | www.66久久| 国产一区二区三区久久悠悠色av| 亚洲成人免费视| 国产视频亚洲色图| 久久这里只有精品首页| 欧美色爱综合网| 色婷婷av一区二区三区gif | 欧美无砖砖区免费| 99九九99九九九视频精品| 精品一区二区日韩| 日本美女一区二区三区| 亚洲一区二区精品视频| 1024成人网| 国产精品久久久久婷婷二区次| 精品国偷自产国产一区| 欧美精品视频www在线观看| 91麻豆自制传媒国产之光| 成人一级片网址| 风间由美一区二区av101| 激情图片小说一区| 久久99精品国产.久久久久| 免费看欧美美女黄的网站| 天堂在线亚洲视频| 日韩avvvv在线播放| 午夜免费欧美电影| 午夜精品一区二区三区电影天堂| 国产日韩精品视频一区| 欧美mv日韩mv| 日韩色视频在线观看| 欧美大片在线观看| 精品动漫一区二区三区在线观看| 欧美一区二区性放荡片| 日韩网站在线看片你懂的| 6080午夜不卡| 精品国产乱码久久久久久牛牛| 欧美www视频| 国产日韩欧美一区二区三区综合| 国产亚洲精品中文字幕| 国产精品免费网站在线观看| 国产精品久久久久久久午夜片| 亚洲丝袜自拍清纯另类| 亚洲一区在线观看免费观看电影高清 | 国产专区欧美精品| 国产一区二区三区黄视频| 韩国午夜理伦三级不卡影院| 国产风韵犹存在线视精品| 99国产精品久久久久久久久久 | 另类欧美日韩国产在线| 韩国v欧美v亚洲v日本v| 免费成人结看片| 国产一区二区三区观看| 成人免费视频视频| 欧美色网站导航| 欧美视频一二三区| 欧美美女一区二区在线观看| 正在播放一区二区| 国产农村妇女精品| 一区二区三区欧美久久| 美日韩一区二区| 波多野结衣中文一区| 精品视频一区二区三区免费| 日韩免费福利电影在线观看| 欧美激情一区二区三区| 亚洲第一成年网| 首页国产欧美久久| 国产.欧美.日韩| 91黄视频在线观看| 久久亚洲精精品中文字幕早川悠里 | 男人操女人的视频在线观看欧美| 久88久久88久久久| 99这里只有精品| 欧美一级高清大全免费观看| 国产欧美精品一区| 日韩电影网1区2区| 91老师片黄在线观看| 欧美成人精品3d动漫h| 中文字幕日本乱码精品影院| 免费国产亚洲视频| 色噜噜狠狠色综合中国| 久久综合色综合88| 亚洲福利视频三区| 成人av电影在线| 欧美精品一区二区三区四区| 一区二区三区四区在线播放| 国模少妇一区二区三区| 欧美日韩午夜影院| 最新不卡av在线| 国产乱码精品一品二品| 91精品国产高清一区二区三区| 国产精品久久夜| 国产在线精品一区二区不卡了| 欧美性猛片xxxx免费看久爱| 亚洲国产精品ⅴa在线观看| 免播放器亚洲一区| 精品视频123区在线观看| 中文字幕一区二区不卡| 国产乱对白刺激视频不卡| 欧美一区二区不卡视频| 日本一区二区三区高清不卡 | 日韩区在线观看| 午夜免费久久看| 欧美天天综合网| 欧美极品xxx| 国产乱子轮精品视频| 激情久久五月天| 日本国产一区二区| 国产情人综合久久777777| 国产精品一区专区| 国产精品人成在线观看免费 | 亚洲综合激情小说| 在线观看免费一区| 亚洲va欧美va人人爽午夜| 欧美精品久久天天躁| 男女视频一区二区| 国产亚洲一区二区在线观看| 国产91丝袜在线18| 亚洲美女电影在线| 欧美一区欧美二区| 国产精品99久久久久久似苏梦涵 | 777奇米成人网| 国精产品一区一区三区mba桃花| 久久综合色一综合色88| 成人av动漫在线| 亚洲va韩国va欧美va精品| 精品少妇一区二区三区在线视频| 国产精品99久久久久久似苏梦涵|