#include "internal.h"#include <string.h>#include "debug.h"#include "prefs.h"#include "utils.h"#include "ip_location.h"ip_location.c包含/依赖关系图:

数据结构 | |
| struct | _ip_finder |
宏定义 | |
| #define | DEFAULT_IP_LOCATION_FILE "gaim/QQWry.dat" |
类型定义 | |
| typedef _ip_finder | ip_finder |
函数 | |
| guint32 | _byte_array_to_int (guint8 *ip, gint count) |
| void | _read_from (GIOChannel *io, guint32 offset, guint8 *buf, gint len) |
| gsize | _read_line_from (GIOChannel *io, guint32 offset, gchar **ret_str) |
| guint32 | _get_string (GIOChannel *io, guint32 offset, gchar **ret) |
| void | _get_country_city (GIOChannel *io, guint32 offset, gchar **country, gchar **area) |
| void | _set_ip_range (gint rec_no, ip_finder *f) |
| gboolean | qq_ip_get_location (guint32 ip, gchar **country, gchar **area) |
|
|
The QQ2003C protocol plugin for gaim Copyright (C) 2004 Puzzlebird 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 This code is based on * qqwry.c, by lvxiang <srm2003@163.com> * IpChecker.m, by Jeff_Ye 在文件ip_location.c第37行定义。 参考自 qq_ip_get_location(). |
|
|
在文件ip_location.c第39行定义。 |
|
||||||||||||
|
在文件ip_location.c第54行定义。 |
|
||||||||||||||||||||
|
在文件ip_location.c第144行定义。 参考 _get_string(). 参考自 qq_ip_get_location(). 函数调用图: ![]() |
|
||||||||||||||||
|
在文件ip_location.c第120行定义。 参考 _byte_array_to_int()、_read_from()及_read_line_from(). 参考自 _get_country_city(). 函数调用图: ![]() |
|
||||||||||||||||||||
|
在文件ip_location.c第66行定义。 |
|
||||||||||||||||
|
在文件ip_location.c第91行定义。 参考自 _get_string(). |
|
||||||||||||
|
||||||||||||||||
|
The QQ2003C protocol plugin for gaim Copyright (C) 2004 Puzzlebird 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 在文件ip_location.c第180行定义。 参考 _byte_array_to_int()、_get_country_city()、_read_from()、_set_ip_range()、_ip_finder::cur_start_ip、DEFAULT_IP_LOCATION_FILE、_ip_finder::io、_ip_finder::offset_cur_end_ip、_ip_finder::offset_first_start_ip及_ip_finder::offset_last_start_ip. 参考自 _qq_tooltip_text(). 函数调用图: ![]() |
1.4.4