*
* Copyright 1999, Nathan Neulinger <nneul@umr.edu>
*
- * $Id: packet-dccp.h,v 1.1 2002/05/03 16:23:25 nneul Exp $
+ * $Id: packet-dccp.h,v 1.3 2002/08/28 21:00:08 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* Copied from packet-tftp.c
- *
+ *
* 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.
:%s/u_in*t16_t/guint16/g
:%s/u_in*t32_t/guint32/g
:%s/u_ch*ar/guchar/g
+:%s/in*t32_t/gint32/g
This includes more than is really necessary, but easier to just include whole
header.
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*
- * Rhyolite Software DCC 1.0.53-1.45 $Revision: 1.1 $
+ * Rhyolite Software DCC 1.0.53-1.45 $Revision: 1.3 $
*/
#ifndef DCC_PROTO_H
typedef struct { /* with operation DCC_OP_ADMN */
DCC_HDR hdr;
- int32_t date; /* seconds since epoch on caller */
+ gint32 date; /* seconds since epoch on caller */
guint32 val; /* request type, buffer size, etc. */
guchar aop; /* one of DCC_AOPS */
guchar pad[3];
/* DCC_OP_DELETE request to delete checksums */
typedef struct {
DCC_HDR hdr;
- int32_t date; /* seconds since epoch on caller */
+ gint32 date; /* seconds since epoch on caller */
DCC_CK ck;
guchar pad[2]; /* structure padding */
DCC_SIGNATURE signature;