/*
* Amanda, The Advanced Maryland Automatic Network Disk Archiver
* Copyright (c) 1991-1999 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved.
* All Rights Reserved.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* file named AUTHORS, in the root directory of this distribution.
*/
/*
- * $Id: packet.h,v 1.8.2.1 2006/12/18 20:43:51 martinea Exp $
+ * $Id: packet.h,v 1.8 2006/05/25 01:47:12 johnfranks Exp $
*
* interfaces for modifying amanda protocol packet type
*/
*/
void pkt_init_empty(pkt_t *pkt, pktype_t type);
void pkt_init(pkt_t *, pktype_t, const char *, ...)
- __attribute__ ((format (printf, 3, 4)));
+ G_GNUC_PRINTF(3,4);
/*
* Append data to a packet
*/
void pkt_cat(pkt_t *, const char *, ...)
- __attribute__ ((format (printf, 2, 3)));
+ G_GNUC_PRINTF(2,3);
/*
* Convert the packet type to and from a string