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

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

?? packer.c

?? -
?? C
字號:
/* * $Id: Packer.c,v 1.11 1999/01/19 02:24:20 wessels Exp $ * * DEBUG: section 60    Packer: A uniform interface to store-like modules * AUTHOR: Alex Rousskov * * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/ * ---------------------------------------------------------- * *  Squid is the result of efforts by numerous individuals from the *  Internet community.  Development is led by Duane Wessels of the *  National Laboratory for Applied Network Research and funded by the *  National Science Foundation.  Squid is Copyrighted (C) 1998 by *  Duane Wessels and the University of California San Diego.  Please *  see the COPYRIGHT file for full details.  Squid incorporates *  software developed and/or copyrighted by other sources.  Please see *  the CREDITS file for full details. * *  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, USA. * *//* * Rationale: * ---------- *  * OK, we have to major interfaces comm.c and store.c. *  * Store.c has a nice storeAppend[Printf] capability which makes "storing" * things easy and painless.  *  * Comm.c lacks commAppend[Printf] because comm does not handle its own * buffers (no mem_obj equivalent for comm.c). *  * Thus, if one wants to be able to store _and_ comm_write an object, s/he * has to implement two almost identical functions. *  * Packer * ------ *  * Packer provides for a more uniform interface to store and comm modules. * Packer has its own append and printf routines that "know" where to send * incoming data. In case of store interface, Packer sends data to * storeAppend.  Otherwise, Packer uses a MemBuf that can be flushed later to * comm_write. *  * Thus, one can write just one function that will either "pack" things for * comm_write or "append" things to store, depending on actual packer * supplied. *  * It is amazing how much work a tiny object can save. :) *  *//* * To-Do: */#include "squid.h"/* local types *//* local routines *//* local constants and vars *//* * We do have one potential problem here. Both append_f and vprintf_f types * cannot match real functions precisely (at least because of the difference in * the type of the first parameter). Thus, we have to use type cast. If somebody * changes the prototypes of real functions, Packer will not notice that because * of the type cast. * * Solution: we use the constants below to *hard code* current prototypes of * real functions. If real prototypes change, these constants will produce a * warning (e.g., "warning: assignment from incompatible pointer type"). *//* append()'s */static void (*const store_append) (StoreEntry *, const char *, int) = &storeAppend;static void (*const memBuf_append) (MemBuf *, const char *, mb_size_t) = &memBufAppend;/* vprintf()'s */static void (*const store_vprintf) (StoreEntry *, const char *, va_list ap) = &storeAppendVPrintf;static void (*const memBuf_vprintf) (MemBuf *, const char *, va_list ap) = &memBufVPrintf;/* init/clean *//* init with this to forward data to StoreEntry */voidpackerToStoreInit(Packer * p, StoreEntry * e){    assert(p && e);    p->append = (append_f) store_append;    p->vprintf = (vprintf_f) store_vprintf;    p->real_handler = e;}/* init with this to accumulate data in MemBuf */voidpackerToMemInit(Packer * p, MemBuf * mb){    assert(p && mb);    p->append = (append_f) memBuf_append;    p->vprintf = (vprintf_f) memBuf_vprintf;    p->real_handler = mb;}/* call this when you are done */voidpackerClean(Packer * p){    assert(p);    /* it is not really necessary to do this, but, just in case... */    p->append = NULL;    p->vprintf = NULL;    p->real_handler = NULL;}voidpackerAppend(Packer * p, const char *buf, int sz){    assert(p);    assert(p->real_handler && p->append);    p->append(p->real_handler, buf, sz);}#if STDC_HEADERSvoidpackerPrintf(Packer * p, const char *fmt,...){    va_list args;    va_start(args, fmt);#elsevoidpackerPrintf(va_alist)     va_dcl{    va_list args;    Packer *p = NULL;    const char *fmt = NULL;    int sz = 0;    va_start(args);    p = va_arg(args, Packer *);    fmt = va_arg(args, char *);#endif    assert(p);    assert(p->real_handler && p->vprintf);    p->vprintf(p->real_handler, fmt, args);    va_end(args);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精工是国产品牌吗| av中文字幕一区| 成人性生交大片免费看视频在线 | 日韩高清国产一区在线| 国产精品91xxx| 欧美日韩激情在线| 国产精品国产三级国产普通话三级| 五月天视频一区| www.亚洲精品| 久久婷婷色综合| 男人的天堂亚洲一区| 99精品视频在线观看免费| 精品国产乱子伦一区| 丝袜亚洲另类欧美| 色狠狠综合天天综合综合| 欧美不卡123| 天堂va蜜桃一区二区三区| 91免费版在线| 中文字幕+乱码+中文字幕一区| 日韩电影在线免费| 91国产福利在线| 亚洲免费av观看| 成人国产电影网| 国产精品久久久久久久久快鸭| 麻豆精品久久久| 69堂亚洲精品首页| 午夜一区二区三区在线观看| 色婷婷综合久久久久中文一区二区| 欧美国产亚洲另类动漫| 国产精品888| 国产欧美日韩三区| 国产suv精品一区二区883| 久久久青草青青国产亚洲免观| 麻豆国产精品一区二区三区| 欧美高清激情brazzers| 日日欢夜夜爽一区| 欧美午夜精品久久久久久超碰 | 亚洲成人综合在线| 欧美视频在线一区二区三区| 亚洲h精品动漫在线观看| 欧美日韩一区成人| 男女男精品网站| 26uuu色噜噜精品一区二区| 久久99精品国产.久久久久久| 精品国产凹凸成av人网站| 久久97超碰国产精品超碰| 久久免费国产精品| 波多野结衣欧美| 亚洲女厕所小便bbb| 欧美日韩电影在线播放| 蜜桃91丨九色丨蝌蚪91桃色| 欧美精品一区二区三| 国产白丝精品91爽爽久久| 亚洲天天做日日做天天谢日日欢| 欧美主播一区二区三区| 日本不卡不码高清免费观看| 国产人久久人人人人爽| 95精品视频在线| 日韩 欧美一区二区三区| 精品蜜桃在线看| caoporen国产精品视频| 午夜精品久久久久久久99水蜜桃 | 极品少妇xxxx精品少妇| 国产精品国产三级国产a| 精品视频1区2区| 国产成人aaa| 亚洲一区二区在线视频| 日韩午夜在线播放| 成人免费黄色大片| 婷婷综合另类小说色区| 国产欧美视频一区二区| 日本丰满少妇一区二区三区| 激情伊人五月天久久综合| 中文字幕色av一区二区三区| 欧美一区二区三区人| 丰满白嫩尤物一区二区| 丝袜亚洲精品中文字幕一区| 欧美激情一区在线观看| 日韩色在线观看| 91蜜桃传媒精品久久久一区二区| 青青草97国产精品免费观看无弹窗版| 国产亚洲一区二区三区| 欧美精品aⅴ在线视频| zzijzzij亚洲日本少妇熟睡| 日本网站在线观看一区二区三区| 亚洲同性gay激情无套| 欧美不卡视频一区| 精品视频一区二区三区免费| 成人高清av在线| 国模娜娜一区二区三区| 亚洲成av人**亚洲成av**| 国产精品萝li| 久久久无码精品亚洲日韩按摩| 欧美绝品在线观看成人午夜影视| 丰满少妇在线播放bd日韩电影| 日韩国产欧美三级| 亚洲一区二区三区视频在线播放| 欧美激情一区二区三区全黄| 精品国产伦理网| 日韩一区二区精品葵司在线| 欧美日韩一区二区在线观看| 不卡的av在线| 成人久久18免费网站麻豆| 激情综合网天天干| 免费久久99精品国产| 香蕉成人啪国产精品视频综合网| 一区二区三区不卡在线观看| 国产精品乱码人人做人人爱| 国产欧美日韩精品一区| 久久综合久久久久88| 欧美成人video| 欧美岛国在线观看| 日韩一级欧美一级| 91麻豆精品久久久久蜜臀| 欧美日韩一级二级三级| 欧美日韩一区二区三区不卡| 欧美日韩综合在线| 欧美体内she精高潮| 欧美视频一区二区| 欧美日韩激情一区二区三区| 51久久夜色精品国产麻豆| 欧美日韩你懂的| 日韩一区二区精品在线观看| 欧美一区二区黄| 日韩视频免费直播| 久久精品亚洲精品国产欧美kt∨| ww亚洲ww在线观看国产| 欧美国产视频在线| 亚洲色图欧洲色图| 亚洲网友自拍偷拍| 日本成人在线视频网站| 精品中文字幕一区二区小辣椒| 精品在线免费视频| 成人高清av在线| 日本精品视频一区二区| 91精品国产综合久久蜜臀| 日韩欧美国产精品一区| 久久丝袜美腿综合| 国产精品的网站| 亚洲一级不卡视频| 久久综合综合久久综合| 成人午夜私人影院| 欧美三级在线看| 久久这里只精品最新地址| 国产精品久久久久影院老司| 亚洲成人综合视频| 国产在线一区二区综合免费视频| 成人深夜视频在线观看| 欧美吻胸吃奶大尺度电影| 精品对白一区国产伦| 国产精品久久福利| 日本伊人色综合网| 丁香桃色午夜亚洲一区二区三区| 日本福利一区二区| 久久综合九色综合97_久久久| 亚洲精品自拍动漫在线| 久久精品国产**网站演员| av电影在线观看完整版一区二区| 欧美精品高清视频| 国产精品午夜在线观看| 偷拍一区二区三区| 91在线观看美女| 精品久久久久久久久久久久久久久久久 | 成人丝袜18视频在线观看| 91精品欧美一区二区三区综合在| 国产精品无码永久免费888| 日韩精品一区第一页| 91浏览器打开| 26uuu色噜噜精品一区| 日韩电影一区二区三区| 成人黄色电影在线| 久久先锋影音av鲁色资源| 一区二区高清在线| eeuss国产一区二区三区| 精品成人在线观看| 亚洲成人一区在线| 91丨porny丨首页| 国产肉丝袜一区二区| 蜜臀91精品一区二区三区| 欧美日韩激情一区| 亚洲天堂a在线| 成人免费高清视频| 国产调教视频一区| 九一久久久久久| 日韩欧美中文字幕精品| 亚洲国产成人av网| 欧美在线视频日韩| 亚洲乱码国产乱码精品精小说 | 欧美日韩国产123区| 综合激情网...| 成人国产一区二区三区精品| 久久婷婷色综合| 国产一区高清在线| 日韩亚洲欧美在线| 美女免费视频一区二区| 在线成人小视频| 婷婷开心久久网| 6080yy午夜一二三区久久| 视频在线观看91| 日韩亚洲欧美在线|