Change "unsigned gint64" to "guint64", and add GPL header to plugin_api.[ch]

svn path=/trunk/; revision=1606
This commit is contained in:
Gilbert Ramirez 2000-02-07 17:23:53 +00:00
parent c4fa7c87df
commit 07a7268c83
3 changed files with 46 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* packet-gryphon.c
* Routines for Gryphon protocol packet disassembly
*
* $Id: packet-gryphon.c,v 1.5 2000/02/07 17:08:27 gram Exp $
* $Id: packet-gryphon.c,v 1.6 2000/02/07 17:23:53 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Steve Limkemann <stevelim@dgtech.com>
@ -651,7 +651,7 @@ resp_time (int src, const u_char **data, const u_char *dataend, int *offset, int
int hours, minutes, seconds, fraction;
union {
unsigned int lng[2];
unsigned gint64 lnglng;
guint64 lnglng;
} ts;
unsigned int timestamp;
unsigned char date[45];

View File

@ -1,4 +1,26 @@
/* plugin_api.c
* Routines for Ethereal plugins.
*
* $Id: plugin_api.c,v 1.2 2000/02/07 17:23:47 gram Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.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.
*
*/
#ifdef HAVE_CONFIG_H

View File

@ -1,4 +1,26 @@
/* plugin_api.h
* Routines for Ethereal plugins.
*
* $Id: plugin_api.h,v 1.2 2000/02/07 17:23:47 gram Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.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 __PACKET_H__