📄 util.h
字号:
/* * util.h - header of util.c * Copyright 2002, 2003 Krisztian Pifko <monsta@users.sourceforge.net> * * Author: * Krisztian Pifko <monsta@users.sourceforge.net> * * 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 * */#include <stdlib.h>#include <string.h>#include <glib.h>#include <sys/time.h>#include <sys/types.h>extern char *getheaders (char *hname, char *headers);extern char *getparameter (char *req, char *pname);extern u_char *memfind (u_char * what, u_char * block, size_t len, int l);extern gchar *urldecode (gchar * str);extern gchar *urlencode (gchar * str);extern void resettimeout (struct timeval *tv);extern int urlparse (char *url, char **protocol, char **host, char **port, char **location);extern char *get_data_pos (char *b);extern float convert_size (u_long bytes, char **code);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -