getipdlg.h

来自「Linux 上的socket嗅探器」· C头文件 代码 · 共 57 行

H
57
字号
/* *  * Copyright (C) 2003 Xiangbin Lee <honeycombs@sina.com> <honeycombs@263.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. */#ifndef _DLG_GETIP_H_#define _DLG_GETIP_H_#include "common.h"typedef struct _ipdlg_param{    // public:    GtkWidget *window;    gint ifsetip;    gulong ip;    gchar ips[32];    // private    gulong regsignal;    GtkWidget *text_ip1;    GtkWidget *text_ip2;    GtkWidget *text_ip3;    GtkWidget *text_ip4;    gpointer fundata;        void (*userfun)(struct _ipdlg_param*, gpointer );    }IPDLG_PARAM, *LPIPDLG_PARAM;#define ipdialog_ifsetip(param)   (param==NULL?0:(param->regsignal!=GTK_WIDGET_REG?0:param->ifsetip))void ipdialog_destroy(IPDLG_PARAM *lparam);IPDLG_PARAM* ipdialog_new(void (*userfun)(IPDLG_PARAM*, gpointer ), gpointer fundata);gulong ipdialog_getip(IPDLG_PARAM *lparam, gchar *ips);#endif //_DLG_GETIP_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?