1 /* krb5-types.h -- this file was generated for i686-pc-linux-gnu by
2 $Id: bits.c,v 1.23 2005/01/05 15:22:02 lha Exp $ */
4 #ifndef __samba_krb5_types_h__
5 #define __samba_krb5_types_h__
8 #include "system/network.h"
9 #include "lib/util/attr.h"
11 #if defined USING_SYSTEM_KRB5 && defined HEIMDAL_KRB5_TYPES_PATH
12 #include HEIMDAL_KRB5_TYPES_PATH
14 typedef socklen_t krb5_socklen_t
;
15 typedef int krb5_socket_t
;
16 typedef ssize_t krb5_ssize_t
;
20 #ifndef HEIMDAL_DEPRECATED
21 #define HEIMDAL_DEPRECATED _DEPRECATED_
24 #ifndef HEIMDAL_PRINTF_ATTRIBUTE
25 #ifdef HAVE_ATTRIBUTE_PRINTF
26 #define HEIMDAL_PRINTF_ATTRIBUTE(x) __attribute__((format x))
28 #define HEIMDAL_PRINTF_ATTRIBUTE(x)
32 #ifndef HEIMDAL_NORETURN_ATTRIBUTE
33 #ifdef HAVE___ATTRIBUTE__
34 #define HEIMDAL_NORETURN_ATTRIBUTE __attribute__((noreturn))
36 #define HEIMDAL_NORETURN_ATTRIBUTE
40 #ifndef HEIMDAL_UNUSED_ATTRIBUTE
41 #ifdef HAVE___ATTRIBUTE__
42 #define HEIMDAL_UNUSED_ATTRIBUTE __attribute__((unused))
44 #define HEIMDAL_UNUSED_ATTRIBUTE
48 #ifndef HEIMDAL_WARN_UNUSED_RESULT_ATTRIBUTE
49 #ifdef HAVE___ATTRIBUTE__
50 #define HEIMDAL_WARN_UNUSED_RESULT_ATTRIBUTE _WARN_UNUSED_RESULT_
52 #define HEIMDAL_WARN_UNUSED_RESULT_ATTRIBUTE
56 #endif /* __samb_krb5_types_h__ */