Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 914138 Details for
Bug 1102324
test fails when gnutls is compiled by gcc-4.9.0-1.fc21
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Preprocessed gnutls_str.c
gnutls_str.i (text/plain), 407.63 KB, created by
Michal Toman
on 2014-07-02 11:47:32 UTC
(
hide
)
Description:
Preprocessed gnutls_str.c
Filename:
MIME Type:
Creator:
Michal Toman
Created:
2014-07-02 11:47:32 UTC
Size:
407.63 KB
patch
obsolete
># 1 "gnutls_str.c" ># 1 "/home/mtoman/rpmbuild/BUILD/gnutls-3.3.2/lib//" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "/usr/include/stdc-predef.h" 1 3 4 ># 1 "<command-line>" 2 ># 1 "gnutls_str.c" ># 23 "gnutls_str.c" ># 1 "./gnutls_int.h" 1 ># 27 "./gnutls_int.h" ># 1 "../config.h" 1 ># 28 "./gnutls_int.h" 2 > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 147 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 212 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 324 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 3 4 >typedef int wchar_t; ># 31 "./gnutls_int.h" 2 ># 1 "./../gl/string.h" 1 ># 22 "./../gl/string.h" > ># 23 "./../gl/string.h" 3 > > > > ># 1 "/usr/include/string.h" 1 3 4 ># 25 "/usr/include/string.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 365 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 385 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 386 "/usr/include/sys/cdefs.h" 2 3 4 ># 366 "/usr/include/features.h" 2 3 4 ># 389 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 6 "/usr/include/gnu/stubs.h" 2 3 4 > > ># 1 "/usr/include/gnu/stubs-32.h" 1 3 4 ># 9 "/usr/include/gnu/stubs.h" 2 3 4 ># 390 "/usr/include/features.h" 2 3 4 ># 26 "/usr/include/string.h" 2 3 4 > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 33 "/usr/include/string.h" 2 3 4 ># 44 "/usr/include/string.h" 3 4 > > >extern void *memcpy (void *__restrict __dest, const void *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, const void *__src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 96 "/usr/include/string.h" 3 4 >extern void *memchr (const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 110 "/usr/include/string.h" 3 4 >extern void *rawmemchr (const void *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 121 "/usr/include/string.h" 3 4 >extern void *memrchr (const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 27 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct __locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; ># 164 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 210 "/usr/include/string.h" 3 4 > ># 235 "/usr/include/string.h" 3 4 >extern char *strchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 262 "/usr/include/string.h" 3 4 >extern char *strrchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 276 "/usr/include/string.h" 3 4 >extern char *strchrnul (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern size_t strcspn (const char *__s, const char *__reject) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 314 "/usr/include/string.h" 3 4 >extern char *strpbrk (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 341 "/usr/include/string.h" 3 4 >extern char *strstr (const char *__haystack, const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 372 "/usr/include/string.h" 3 4 >extern char *strcasestr (const char *__haystack, const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > >extern void *memmem (const void *__haystack, size_t __haystacklen, > const void *__needle, size_t __needlelen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); > ># 437 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 488 "/usr/include/string.h" 3 4 >extern char *index (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 516 "/usr/include/string.h" 3 4 >extern char *rindex (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ extern int ffsll (long long int __ll) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int strcasecmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (const char *__s1, const char *__s2, > __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (const char *__s1, const char *__s2, > size_t __n, __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 603 "/usr/include/string.h" 3 4 >extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 631 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 632 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 51 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 36 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 2 3 4 ># 60 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 24 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/byteswap.h" 2 3 4 ># 33 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/byteswap-16.h" 1 3 4 ># 24 "/usr/include/bits/byteswap-16.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/byteswap-16.h" 2 3 4 ># 34 "/usr/include/bits/byteswap.h" 2 3 4 ># 61 "/usr/include/endian.h" 2 3 4 ># 52 "/usr/include/bits/string2.h" 2 3 4 ># 1 "/usr/include/bits/types.h" 1 3 4 ># 27 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 121 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 122 "/usr/include/bits/types.h" 2 3 4 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > > >__extension__ typedef int __fsword_t; > >__extension__ typedef long int __ssize_t; > > >__extension__ typedef long int __syscall_slong_t; > >__extension__ typedef unsigned long int __syscall_ulong_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 53 "/usr/include/bits/string2.h" 2 3 4 ># 393 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 945 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c1 (const char *__s, int __reject); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c1 (const char *__s, int __reject) >{ > size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c2 (const char *__s, int __reject1, > int __reject2); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c2 (const char *__s, int __reject1, int __reject2) >{ > size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c3 (const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c3 (const char *__s, int __reject1, int __reject2, > int __reject3) >{ > size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1021 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c1 (const char *__s, int __accept); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c1 (const char *__s, int __accept) >{ > size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c2 (const char *__s, int __accept1, > int __accept2); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c2 (const char *__s, int __accept1, int __accept2) >{ > size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c3 (const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c3 (const char *__s, int __accept1, int __accept2, int __accept3) >{ > size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1097 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c2 (const char *__s, int __accept1, > int __accept2); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strpbrk_c2 (const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c3 (const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1147 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} ># 1179 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, const char *__delim); ># 1197 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_1c (char **__s, char __reject); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_1c (char **__s, char __reject) >{ > char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > char *__retval = *__s; > if (__retval != ((void *)0)) > { > char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > char *__retval = *__s; > if (__retval != ((void *)0)) > { > char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1273 "/usr/include/bits/string2.h" 3 4 ># 1 "./../gl/stdlib.h" 1 3 4 ># 20 "./../gl/stdlib.h" 3 4 > ># 21 "./../gl/stdlib.h" 3 > > > > > > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 32 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 2 3 4 > > ># 464 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > ># 967 "/usr/include/stdlib.h" 3 4 > ># 29 "./../gl/stdlib.h" 2 3 ># 1274 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (const char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 1297 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 635 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 22 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))) > ; ># 47 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len) >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) > >{ > return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 75 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0 > && (!__builtin_constant_p (__ch) || __ch != 0)) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len) >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src) >{ > return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > >extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); >extern char *__stpncpy_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__ , __leaf__)) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 640 "/usr/include/string.h" 2 3 4 > > > > ># 28 "./../gl/string.h" 2 3 > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 34 "./../gl/string.h" 2 3 ># 422 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy > > ; > > > >extern int _gl_cxxalias_dummy; >extern int _gl_cxxalias_dummy > ; ># 463 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 675 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 723 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 753 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1007 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 1260 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1329 "./../gl/string.h" 3 >extern int _gl_cxxalias_dummy; >extern int _gl_cxxalias_dummy; ># 32 "./gnutls_int.h" 2 ># 1 "./../gl/stdlib.h" 1 ># 20 "./../gl/stdlib.h" > ># 21 "./../gl/stdlib.h" 3 ># 36 "./../gl/stdlib.h" 3 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 32 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 42 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 66 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > > > > > > > unsigned int:16; > unsigned int __w_retcode:8; > unsigned int __w_coredump:1; > unsigned int __w_termsig:7; > > } __wait_terminated; > struct > { > > > > > > > unsigned int:16; > unsigned int __w_stopsig:8; > unsigned int __w_stopval:8; > > } __wait_stopped; > }; ># 43 "/usr/include/stdlib.h" 2 3 4 ># 67 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 95 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 139 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern long double strtold (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > ># 239 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); > >extern unsigned long int strtoul_l (const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern long long int strtoll_l (const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern unsigned long long int strtoull_l (const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); > >extern double strtod_l (const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); > >extern float strtof_l (const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); > >extern long double strtold_l (const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline __attribute__ ((__gnu_inline__)) long int >__attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int >__attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 305 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 > > > > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 27 "/usr/include/sys/types.h" 3 4 > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > > > >typedef __ino64_t ino_t; > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > > > >typedef __off64_t off_t; > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 132 "/usr/include/sys/types.h" 3 4 ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 33 "./../gl/time.h" 3 ># 1 "/usr/include/time.h" 1 3 4 ># 57 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 73 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 91 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 103 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 34 "./../gl/time.h" 2 3 ># 133 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 147 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 194 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 219 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/sys/select.h" 1 3 4 ># 30 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 22 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 34 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 33 "./../gl/time.h" 3 ># 1 "/usr/include/time.h" 1 3 4 ># 120 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > __syscall_slong_t tv_nsec; > }; ># 34 "./../gl/time.h" 2 3 ># 44 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 46 "/usr/include/sys/select.h" 2 3 4 ># 54 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 64 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 96 "/usr/include/sys/select.h" 3 4 > ># 106 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 118 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > > > ># 1 "/usr/include/bits/select2.h" 1 3 4 ># 24 "/usr/include/bits/select2.h" 3 4 >extern long int __fdelt_chk (long int __d); >extern long int __fdelt_warn (long int __d) > __attribute__((__warning__ ("bit outside of fd_set selected"))); ># 129 "/usr/include/sys/select.h" 2 3 4 > > > ># 220 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 24 "/usr/include/sys/sysmacros.h" 3 4 > > >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} > > ># 223 "/usr/include/sys/types.h" 2 3 4 > > > > > >typedef __blksize_t blksize_t; ># 248 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; > > > > > >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 21 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 22 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 48 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >union pthread_attr_t >{ > char __size[36]; > long int __align; >}; > >typedef union pthread_attr_t pthread_attr_t; ># 69 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef struct __pthread_internal_slist >{ > struct __pthread_internal_slist *__next; >} __pthread_slist_t; > > > > > >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > > > > > int __kind; > > > > > > unsigned int __nusers; > __extension__ union > { > int __spins; > __pthread_slist_t __list; > }; > > } __data; > char __size[24]; > long int __align; >} pthread_mutex_t; > > > > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ ># 175 "/usr/include/bits/pthreadtypes.h" 3 4 > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > unsigned char __pad1; > unsigned char __pad2; > unsigned char __shared; > > > unsigned char __flags; > int __writer; > } __data; > > char __size[32]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[20]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > > ># 29 "./../gl/sys/types.h" 2 3 ># 315 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > __extension__ unsigned long long int __a; > > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 474 "/usr/include/stdlib.h" 3 4 > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > ># 1 "./../gl/alloca.h" 1 3 4 ># 493 "/usr/include/stdlib.h" 2 3 4 > > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern void *aligned_alloc (size_t __alignment, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__)); > > > > >extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > >extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *secure_getenv (const char *__name) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (const char *__name, const char *__value, int __replace) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); ># 606 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 622 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 644 "/usr/include/stdlib.h" 3 4 >extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int mkstemps64 (char *__template, int __suffixlen) > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 662 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 676 "/usr/include/stdlib.h" 3 4 >extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64") > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 697 "/usr/include/stdlib.h" 3 4 >extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64") > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int mkostemps64 (char *__template, int __suffixlen, int __flags) > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > > > >extern int system (const char *__command) __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *canonicalize_file_name (const char *__name) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 733 "/usr/include/stdlib.h" 3 4 >extern char *realpath (const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (const void *, const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > >typedef int (*__compar_d_fn_t) (const void *, const void *, void *); > > > > > >extern void *bsearch (const void *__key, const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > ># 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 4 ># 19 "/usr/include/bits/stdlib-bsearch.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) void * >bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) >{ > size_t __l, __u, __idx; > const void *__p; > int __comparison; > > __l = 0; > __u = __nmemb; > while (__l < __u) > { > __idx = (__l + __u) / 2; > __p = (void *) (((const char *) __base) + (__idx * __size)); > __comparison = (*__compar) (__key, __p); > if (__comparison < 0) > __u = __idx; > else if (__comparison > 0) > __l = __idx + 1; > else > return (void *) __p; > } > > return ((void *)0); >} ># 760 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > >extern void qsort_r (void *__base, size_t __nmemb, size_t __size, > __compar_d_fn_t __compar, void *__arg) > __attribute__ ((__nonnull__ (1, 4))); > > > > >extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 811 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > >extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > >extern size_t wcstombs (char *__restrict __s, > const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 898 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); > > > > > >extern void setkey (const char *__key) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > ># 1 "/usr/include/bits/stdlib-float.h" 1 3 4 ># 24 "/usr/include/bits/stdlib-float.h" 3 4 > >extern __inline __attribute__ ((__gnu_inline__)) double >__attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} > ># 955 "/usr/include/stdlib.h" 2 3 4 > > > ># 1 "/usr/include/bits/stdlib.h" 1 3 4 ># 23 "/usr/include/bits/stdlib.h" 3 4 >extern char *__realpath_chk (const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__warn_unused_result__)); >extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__warn_unused_result__)) > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > { > > > > > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > } > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > } > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} ># 959 "/usr/include/stdlib.h" 2 3 4 ># 967 "/usr/include/stdlib.h" 3 4 > ># 37 "./../gl/stdlib.h" 2 3 > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 43 "./../gl/stdlib.h" 2 3 ># 607 "./../gl/stdlib.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1042 "./../gl/stdlib.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1127 "./../gl/stdlib.h" 3 >extern int _gl_cxxalias_dummy > ; > > >extern int _gl_cxxalias_dummy; ># 1245 "./../gl/stdlib.h" 3 >extern int _gl_cxxalias_dummy; > > >extern int _gl_cxxalias_dummy; ># 33 "./gnutls_int.h" 2 ># 1 "./../gl/stdio.h" 1 ># 20 "./../gl/stdio.h" > ># 21 "./../gl/stdio.h" 3 ># 43 "./../gl/stdio.h" 3 ># 1 "/usr/include/stdio.h" 1 3 4 ># 29 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 64 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 74 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 31 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "./../gl/wchar.h" 1 3 4 ># 30 "./../gl/wchar.h" 3 4 > ># 31 "./../gl/wchar.h" 3 ># 47 "./../gl/wchar.h" 3 ># 1 "/usr/include/wchar.h" 1 3 4 ># 82 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 48 "./../gl/wchar.h" 2 3 ># 21 "/usr/include/_G_config.h" 2 3 4 >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 32 "/usr/include/libio.h" 2 3 4 ># 49 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 50 "/usr/include/libio.h" 2 3 4 ># 144 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 154 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 177 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 245 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 293 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 302 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 338 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > > > > >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 434 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 464 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 75 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 108 "/usr/include/stdio.h" 3 4 > > > > >typedef _G_fpos64_t fpos_t; > > > >typedef _G_fpos64_t fpos64_t; ># 164 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 165 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); > >extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int renameat (int __oldfd, const char *__old, int __newfd, > const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > ># 198 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__warn_unused_result__)); > > > > > > >extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__)); > > > >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 227 "/usr/include/stdio.h" 3 4 >extern char *tempnam (const char *__dir, const char *__pfx) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 252 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 262 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > ># 283 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") > > __attribute__ ((__warn_unused_result__)); >extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") > > > __attribute__ ((__warn_unused_result__)); > > > > > > > >extern FILE *fopen64 (const char *__restrict __filename, > const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); >extern FILE *freopen64 (const char *__restrict __filename, > const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > const char *__restrict __format, ...); > > > > >extern int printf (const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, > __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); >extern int __asprintf (char **__restrict __ptr, > const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); >extern int asprintf (char **__restrict __ptr, > const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int vdprintf (int __fd, const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (const char *__restrict __s, > const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); ># 463 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); > > >extern int vsscanf (const char *__restrict __s, > const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 522 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 550 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 561 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 594 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); ># 640 "/usr/include/stdio.h" 3 4 > ># 649 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); ># 665 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fputs (const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 726 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (const char *__restrict __s, > FILE *__restrict __stream); ># 737 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > ># 781 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") > > ; >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); > > > > > > > > ># 806 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") > ; >extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64") > ; > > > > > > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__)); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 26 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern const char *const sys_errlist[]; > > >extern int _sys_nerr; >extern const char *const _sys_errlist[]; ># 854 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 872 "/usr/include/stdio.h" 3 4 >extern FILE *popen (const char *__command, const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); ># 933 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 43 "/usr/include/bits/stdio.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 934 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/stdio2.h" 1 3 4 ># 23 "/usr/include/bits/stdio2.h" 3 4 >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, const char *__restrict __format, > ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > const char *__restrict __format, ...); >extern int __printf_chk (int __flag, const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, const char *__restrict __format, > __gnuc_va_list __ap); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >printf (const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >vprintf (const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >vfprintf (FILE *__restrict __stream, > const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} > > >extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt, > ...) __attribute__ ((__format__ (__printf__, 3, 4))); >extern int __vdprintf_chk (int __fd, int __flag, > const char *__restrict __fmt, __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 3, 0))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >dprintf (int __fd, const char *__restrict __fmt, ...) >{ > return __dprintf_chk (__fd, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); >} > > > > >extern int __asprintf_chk (char **__restrict __ptr, int __flag, > const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__)); >extern int __vasprintf_chk (char **__restrict __ptr, int __flag, > const char *__restrict __fmt, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__)); >extern int __obstack_printf_chk (struct obstack *__restrict __obstack, > int __flag, const char *__restrict __format, > ...) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))); >extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack, > int __flag, > const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) >{ > return __asprintf_chk (__ptr, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) > >{ > return __asprintf_chk (__ptr, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __fmt, ...) > >{ > return __obstack_printf_chk (__obstack, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} ># 206 "/usr/include/bits/stdio2.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vasprintf (char **__restrict __ptr, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt, > __ap); >} ># 241 "/usr/include/bits/stdio2.h" 3 4 >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") > > __attribute__ ((__warn_unused_result__)); >extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") > > > __attribute__ ((__warn_unused_result__)); >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} > > >extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size, > int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") > > __attribute__ ((__warn_unused_result__)); >extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_unlocked_alias (__s, __n, __stream); >} > > > > >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") > > > __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} ># 937 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 44 "./../gl/stdio.h" 2 3 > > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdarg.h" 1 3 4 ># 52 "./../gl/stdio.h" 2 3 > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 54 "./../gl/stdio.h" 2 3 > > > > ># 1 "./../gl/sys/types.h" 1 3 ># 20 "./../gl/sys/types.h" 3 > ># 21 "./../gl/sys/types.h" 3 ># 59 "./../gl/stdio.h" 2 3 ># 547 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 562 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 605 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 656 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 671 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 686 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 726 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 777 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 802 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 840 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 861 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 896 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; ># 922 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; ># 934 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 948 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 979 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 1015 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > > >extern int _gl_cxxalias_dummy; ># 1185 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1208 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1222 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1236 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1338 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1361 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 1444 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 1465 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 1521 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 1576 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1624 "./../gl/stdio.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 34 "./gnutls_int.h" 2 ># 1 "/usr/include/ctype.h" 1 3 4 ># 28 "/usr/include/ctype.h" 3 4 > ># 46 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = (1 << (0)), > _ISlower = (1 << (1)), > _ISalpha = (1 << (2)), > _ISdigit = (1 << (3)), > _ISxdigit = (1 << (4)), > _ISspace = (1 << (5)), > _ISprint = (1 << (6)), > _ISgraph = (1 << (7)), > _ISblank = (1 << (8)), > _IScntrl = (1 << (9)), > _ISpunct = (1 << (10)), > _ISalnum = (1 << (11)) >}; ># 79 "/usr/include/ctype.h" 3 4 >extern const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >extern const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >extern const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 104 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isalpha (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int iscntrl (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isdigit (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int islower (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isgraph (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isprint (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int ispunct (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isspace (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isupper (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isxdigit (int) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int isblank (int) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int isascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int _tolower (int) __attribute__ ((__nothrow__ , __leaf__)); ># 214 "/usr/include/ctype.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 271 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); > >extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); >extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); >extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); ># 347 "/usr/include/ctype.h" 3 4 > ># 35 "./gnutls_int.h" 2 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 1 3 4 ># 34 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 1 3 4 ># 168 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 143 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 160 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 38 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 2 3 4 ># 161 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 144 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 148 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 33 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 152 "/usr/include/limits.h" 2 3 4 ># 169 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/syslimits.h" 2 3 4 ># 35 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 2 3 4 ># 36 "./gnutls_int.h" 2 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdint.h" 1 3 4 ># 9 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdint.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 26 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 27 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 48 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 125 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 137 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 10 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdint.h" 2 3 4 ># 37 "./gnutls_int.h" 2 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stdbool.h" 1 3 4 ># 38 "./gnutls_int.h" 2 ># 50 "./gnutls_int.h" ># 1 "./../gl/sys/types.h" 1 ># 20 "./../gl/sys/types.h" > ># 21 "./../gl/sys/types.h" 3 ># 51 "./gnutls_int.h" 2 ># 1 "./../gl/unistd.h" 1 ># 21 "./../gl/unistd.h" > ># 22 "./../gl/unistd.h" 3 ># 40 "./../gl/unistd.h" 3 ># 1 "/usr/include/unistd.h" 1 3 4 ># 27 "/usr/include/unistd.h" 3 4 > ># 202 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 203 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 22 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 2 3 4 ># 207 "/usr/include/unistd.h" 2 3 4 ># 226 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 227 "/usr/include/unistd.h" 2 3 4 ># 274 "/usr/include/unistd.h" 3 4 >typedef __socklen_t socklen_t; ># 287 "/usr/include/unistd.h" 3 4 >extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int euidaccess (const char *__name, int __type) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int eaccess (const char *__name, int __type) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int faccessat (int __fd, const char *__file, int __type, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); ># 337 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__)) > > ; > > > > > >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)); > > > > > >extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)); ># 388 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") > > __attribute__ ((__warn_unused_result__)); >extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") > > __attribute__ ((__warn_unused_result__)); ># 404 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset) __attribute__ ((__warn_unused_result__)); > > >extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, > __off64_t __offset) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 432 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); ># 444 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 469 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int fchownat (int __fd, const char *__file, __uid_t __owner, > __gid_t __group, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > >extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 511 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern char *getwd (char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (const char *__path, char *const __argv[], > char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern int execv (const char *__path, char *const __argv[]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execle (const char *__path, const char *__arg, ...) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execl (const char *__path, const char *__arg, ...) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execvp (const char *__file, char *const __argv[]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int execlp (const char *__file, const char *__arg, ...) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int execvpe (const char *__file, char *const __argv[], > char *const __envp[]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 24 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS, > > > _SC_V7_ILP32_OFF32, > > _SC_V7_ILP32_OFFBIG, > > _SC_V7_LP64_OFF64, > > _SC_V7_LPBIG_OFFBIG, > > > _SC_SS_REPL_MAX, > > > _SC_TRACE_EVENT_NAME_MAX, > > _SC_TRACE_NAME_MAX, > > _SC_TRACE_SYS_MAX, > > _SC_TRACE_USER_EVENT_MAX, > > > _SC_XOPEN_STREAMS, > > > _SC_THREAD_ROBUST_PRIO_INHERIT, > > _SC_THREAD_ROBUST_PRIO_PROTECT > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_V5_WIDTH_RESTRICTED_ENVS, > > > > _CS_V7_WIDTH_RESTRICTED_ENVS, > > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V7_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LIBS, > > _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V7_LP64_OFF64_CFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LIBS, > > _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_V6_ENV, > > _CS_V7_ENV > > }; ># 610 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (const char *__path, int __name) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); > >extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); ># 660 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > >extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) > __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) > __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > >extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern __pid_t fork (void) __attribute__ ((__nothrow__)); > > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int link (const char *__from, const char *__to) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern int linkat (int __fromfd, const char *__from, int __tofd, > const char *__to, int __flags) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern int symlink (const char *__from, const char *__to) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern ssize_t readlink (const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern int symlinkat (const char *__from, int __tofd, > const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); > > >extern ssize_t readlinkat (int __fd, const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); > > > >extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern int unlinkat (int __fd, const char *__name, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > >extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 871 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 57 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 71 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 150 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__ , __leaf__)); ># 872 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (const char *__name, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int setdomainname (const char *__name, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); >extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); >extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int fsync (int __fd); > > > > > >extern int syncfs (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); ># 997 "/usr/include/unistd.h" 3 4 >extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int truncate64 (const char *__file, __off64_t __length) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 1019 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); > > > > > >extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 1037 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); ># 1058 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); ># 1084 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") > __attribute__ ((__warn_unused_result__)); > > > > > >extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__)); ># 1112 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes); > > > > > > > >extern char *crypt (const char *__key, const char *__salt) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__glibc_block, int __edflag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (const void *__restrict __from, void *__restrict __to, > ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 1148 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/unistd.h" 1 3 4 ># 23 "/usr/include/bits/unistd.h" 3 4 >extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, > size_t __buflen) __attribute__ ((__warn_unused_result__)); >extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") > __attribute__ ((__warn_unused_result__)); >extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t >read (int __fd, void *__buf, size_t __nbytes) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__nbytes)) > return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > > if (__nbytes > __builtin_object_size (__buf, 0)) > return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > } > return __read_alias (__fd, __buf, __nbytes); >} > > >extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes, > __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); >extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); >extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") > > __attribute__ ((__warn_unused_result__)); >extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") > > __attribute__ ((__warn_unused_result__)); >extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer"))) > ; >extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk") > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer"))) > ; ># 86 "/usr/include/bits/unistd.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t >pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__nbytes)) > return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); > > if ( __nbytes > __builtin_object_size (__buf, 0)) > return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, > __builtin_object_size (__buf, 0)); > } > > return __pread64_alias (__fd, __buf, __nbytes, __offset); >} > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t >pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__nbytes)) > return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); > > if ( __nbytes > __builtin_object_size (__buf, 0)) > return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, > __builtin_object_size (__buf, 0)); > } > > return __pread64_alias (__fd, __buf, __nbytes, __offset); >} > > > > >extern ssize_t __readlink_chk (const char *__restrict __path, > char *__restrict __buf, size_t __len, > size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t >__attribute__ ((__nothrow__ , __leaf__)) readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) > >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if ( __len > __builtin_object_size (__buf, 2 > 1)) > return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __readlink_alias (__path, __buf, __len); >} > > > >extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path, > char *__restrict __buf, size_t __len, > size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer"))) > > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t >__attribute__ ((__nothrow__ , __leaf__)) readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) > >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if (__len > __builtin_object_size (__buf, 2 > 1)) > return __readlinkat_chk_warn (__fd, __path, __buf, __len, > __builtin_object_size (__buf, 2 > 1)); > } > return __readlinkat_alias (__fd, __path, __buf, __len); >} > > >extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); >extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__ , __leaf__)) getcwd (char *__buf, size_t __size) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size)) > return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > > if (__size > __builtin_object_size (__buf, 2 > 1)) > return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > } > return __getcwd_alias (__buf, __size); >} > > >extern char *__getwd_chk (char *__buf, size_t buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__ , __leaf__)) getwd (char *__buf) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); > return __getwd_warn (__buf); >} > > >extern size_t __confstr_chk (int __name, char *__buf, size_t __len, > size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__ , __leaf__)) > ; >extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) confstr (int __name, char *__buf, size_t __len) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if (__builtin_object_size (__buf, 2 > 1) < __len) > return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __confstr_alias (__name, __buf, __len); >} > > >extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); >extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) getgroups (int __size, __gid_t __list[]) >{ > if (__builtin_object_size (__list, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size) || __size < 0) > return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)); > > if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1)) > return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)); > } > return __getgroups_alias (__size, __list); >} > > >extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) ttyname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ttyname_r_alias (__fd, __buf, __buflen); >} > > > >extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nonnull__ (1))); >extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") > __attribute__ ((__nonnull__ (1))); >extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk") > > > __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >getlogin_r (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __getlogin_r_alias (__buf, __buflen); >} > > > > >extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (1))); >extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) gethostname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __gethostname_alias (__buf, __buflen); >} > > > > >extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))) > > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) getdomainname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __getdomainname_alias (__buf, __buflen); >} ># 1149 "/usr/include/unistd.h" 2 3 4 > > > ># 41 "./../gl/unistd.h" 2 3 ># 56 "./../gl/unistd.h" 3 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 57 "./../gl/unistd.h" 2 3 ># 137 "./../gl/unistd.h" 3 > ># 137 "./../gl/unistd.h" 3 >#pragma GCC diagnostic push ># 137 "./../gl/unistd.h" 3 > ># 137 "./../gl/unistd.h" 3 >#pragma GCC diagnostic ignored "-Wmissing-prototypes" ># 137 "./../gl/unistd.h" 3 > ># 137 "./../gl/unistd.h" 3 >#pragma GCC diagnostic ignored "-Wmissing-declarations" ># 137 "./../gl/unistd.h" 3 > ># 137 "./../gl/unistd.h" 3 >#pragma GCC diagnostic ignored "-Wsuggest-attribute=const" ># 137 "./../gl/unistd.h" 3 > ># 620 "./../gl/unistd.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 670 "./../gl/unistd.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1416 "./../gl/unistd.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1865 "./../gl/unistd.h" 3 > ># 1865 "./../gl/unistd.h" 3 >#pragma GCC diagnostic pop ># 1865 "./../gl/unistd.h" 3 > ># 52 "./gnutls_int.h" 2 ># 1 "./../gl/sys/stat.h" 1 ># 25 "./../gl/sys/stat.h" > ># 26 "./../gl/sys/stat.h" 3 ># 41 "./../gl/sys/stat.h" 3 ># 1 "./../gl/sys/types.h" 1 3 ># 20 "./../gl/sys/types.h" 3 > ># 21 "./../gl/sys/types.h" 3 ># 42 "./../gl/sys/stat.h" 2 3 > > ># 1 "./../gl/time.h" 1 3 ># 20 "./../gl/time.h" 3 > ># 21 "./../gl/time.h" 3 ># 39 "./../gl/time.h" 3 ># 1 "/usr/include/time.h" 1 3 4 ># 29 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 38 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 86 "/usr/include/bits/time.h" 3 4 ># 1 "/usr/include/bits/timex.h" 1 3 4 ># 25 "/usr/include/bits/timex.h" 3 4 >struct timex >{ > unsigned int modes; > __syscall_slong_t offset; > __syscall_slong_t freq; > __syscall_slong_t maxerror; > __syscall_slong_t esterror; > int status; > __syscall_slong_t constant; > __syscall_slong_t precision; > __syscall_slong_t tolerance; > struct timeval time; > __syscall_slong_t tick; > __syscall_slong_t ppsfreq; > __syscall_slong_t jitter; > int shift; > __syscall_slong_t stabil; > __syscall_slong_t jitcnt; > __syscall_slong_t calcnt; > __syscall_slong_t errcnt; > __syscall_slong_t stbcnt; > > int tai; > > > int :32; int :32; int :32; int :32; > int :32; int :32; int :32; int :32; > int :32; int :32; int :32; >}; ># 87 "/usr/include/bits/time.h" 2 3 4 > > > > >extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ , __leaf__)); > > ># 42 "/usr/include/time.h" 2 3 4 ># 131 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 186 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double difftime (time_t __time1, time_t __time0) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > const char *__restrict __format, > const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *strptime (const char *__restrict __s, > const char *__restrict __fmt, struct tm *__tp) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > const char *__restrict __format, > const struct tm *__restrict __tp, > __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern char *strptime_l (const char *__restrict __s, > const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern struct tm *gmtime_r (const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern struct tm *localtime_r (const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern char *asctime_r (const struct tm *__restrict __tp, > char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *ctime_r (const time_t *__restrict __timer, > char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); ># 319 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); > > >extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 334 "/usr/include/time.h" 3 4 >extern int nanosleep (const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int timer_settime (timer_t __timerid, int __flags, > const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > __attribute__ ((__nothrow__ , __leaf__)); > > >extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int timespec_get (struct timespec *__ts, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 403 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 412 "/usr/include/time.h" 3 4 >extern struct tm *getdate (const char *__string); ># 426 "/usr/include/time.h" 3 4 >extern int getdate_r (const char *__restrict __string, > struct tm *__restrict __resbufp); > > > ># 40 "./../gl/time.h" 2 3 > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 43 "./../gl/time.h" 2 3 ># 400 "./../gl/time.h" 3 >struct __time_t_must_be_integral { > unsigned int __floating_time_t_unsupported : (time_t) 1; >}; ># 440 "./../gl/time.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 465 "./../gl/time.h" 3 >extern int _gl_cxxalias_dummy > ; > > >extern int _gl_cxxalias_dummy; ># 487 "./../gl/time.h" 3 >extern int _gl_cxxalias_dummy > ; > > >extern int _gl_cxxalias_dummy; ># 508 "./../gl/time.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 523 "./../gl/time.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 45 "./../gl/sys/stat.h" 2 3 > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 36 "/usr/include/sys/stat.h" 3 4 ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 37 "/usr/include/sys/stat.h" 2 3 4 ># 102 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 25 "/usr/include/bits/stat.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/stat.h" 2 3 4 ># 87 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > unsigned int __pad1; > > > > __ino_t __st_ino; > > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned int __pad2; > > > > __off64_t st_size; > > __blksize_t st_blksize; > > > > > __blkcnt64_t st_blocks; ># 121 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 139 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > > }; ># 184 "/usr/include/bits/stat.h" 3 4 >struct stat64 > { > __dev_t st_dev; > unsigned int __pad1; > > __ino_t __st_ino; > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned int __pad2; > __off64_t st_size; > __blksize_t st_blksize; > > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 221 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > }; ># 105 "/usr/include/sys/stat.h" 2 3 4 ># 216 "/usr/include/sys/stat.h" 3 4 >extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (1, 2))); >extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > > > > > > >extern int stat64 (const char *__restrict __file, > struct stat64 *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); ># 242 "/usr/include/sys/stat.h" 3 4 >extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "fstatat64") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (2, 3))); > > > > > > >extern int fstatat64 (int __fd, const char *__restrict __file, > struct stat64 *__restrict __buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 266 "/usr/include/sys/stat.h" 3 4 >extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int lstat64 (const char *__restrict __file, > struct stat64 *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int chmod (const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int fchmodat (int __fd, const char *__file, __mode_t __mode, > int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern __mode_t getumask (void) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int mkdir (const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkdirat (int __fd, const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > >extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknodat (int __fd, const char *__path, __mode_t __mode, > __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int mkfifo (const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int utimensat (int __fd, const char *__path, > const struct timespec __times[2], > int __flags) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); ># 409 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (3, 4))); ># 431 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat64 (int __ver, int __fildes, const char *__filename, > struct stat64 *__stat_buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); > >extern int __xmknod (int __ver, const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, const char *__path, > __mode_t __mode, __dev_t *__dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) stat (const char *__path, struct stat *__statbuf) >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) lstat (const char *__path, struct stat *__statbuf) >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (3, __fd, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) > >{ > return __fxstatat (3, __fd, __filename, __statbuf, __flag); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) mknod (const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (1, __path, __mode, &__dev); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) > >{ > return __xmknodat (1, __fd, __path, __mode, &__dev); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) stat64 (const char *__path, struct stat64 *__statbuf) >{ > return __xstat64 (3, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) lstat64 (const char *__path, struct stat64 *__statbuf) >{ > return __lxstat64 (3, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) fstat64 (int __fd, struct stat64 *__statbuf) >{ > return __fxstat64 (3, __fd, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) fstatat64 (int __fd, const char *__filename, struct stat64 *__statbuf, int __flag) > >{ > return __fxstatat64 (3, __fd, __filename, __statbuf, __flag); >} > > > > > > > ># 48 "./../gl/sys/stat.h" 2 3 ># 657 "./../gl/sys/stat.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 829 "./../gl/sys/stat.h" 3 >extern int _gl_cxxalias_dummy; > > >extern int _gl_cxxalias_dummy; ># 53 "./gnutls_int.h" 2 > ># 1 "./../gl/sys/socket.h" 1 ># 27 "./../gl/sys/socket.h" > ># 28 "./../gl/sys/socket.h" 3 ># 51 "./../gl/sys/socket.h" 3 ># 1 "./../gl/sys/types.h" 1 3 ># 20 "./../gl/sys/types.h" 3 > ># 21 "./../gl/sys/types.h" 3 ># 52 "./../gl/sys/socket.h" 2 3 > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 56 "./../gl/sys/socket.h" 2 3 > > ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 24 "/usr/include/sys/socket.h" 3 4 > > ># 1 "./../gl/sys/uio.h" 1 3 4 ># 19 "./../gl/sys/uio.h" 3 4 > ># 20 "./../gl/sys/uio.h" 3 ># 28 "./../gl/sys/uio.h" 3 ># 1 "./../gl/sys/types.h" 1 3 ># 20 "./../gl/sys/types.h" 3 > ># 21 "./../gl/sys/types.h" 3 ># 29 "./../gl/sys/uio.h" 2 3 > > ># 1 "/usr/include/sys/uio.h" 1 3 4 ># 23 "/usr/include/sys/uio.h" 3 4 ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 24 "/usr/include/sys/uio.h" 2 3 4 > > > > ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 25 "/usr/include/bits/uio.h" 3 4 ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 26 "/usr/include/bits/uio.h" 2 3 4 ># 43 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 56 "/usr/include/bits/uio.h" 3 4 > > > >extern ssize_t process_vm_readv (pid_t __pid, const struct iovec *__lvec, > unsigned long int __liovcnt, > const struct iovec *__rvec, > unsigned long int __riovcnt, > unsigned long int __flags) > __attribute__ ((__nothrow__ , __leaf__)); > > >extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec, > unsigned long int __liovcnt, > const struct iovec *__rvec, > unsigned long int __riovcnt, > unsigned long int __flags) > __attribute__ ((__nothrow__ , __leaf__)); > > ># 29 "/usr/include/sys/uio.h" 2 3 4 ># 39 "/usr/include/sys/uio.h" 3 4 >extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) > __attribute__ ((__warn_unused_result__)); ># 50 "/usr/include/sys/uio.h" 3 4 >extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) > __attribute__ ((__warn_unused_result__)); ># 81 "/usr/include/sys/uio.h" 3 4 >extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "preadv64") > > __attribute__ ((__warn_unused_result__)); >extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "pwritev64") > > __attribute__ ((__warn_unused_result__)); ># 103 "/usr/include/sys/uio.h" 3 4 >extern ssize_t preadv64 (int __fd, const struct iovec *__iovec, int __count, > __off64_t __offset) __attribute__ ((__warn_unused_result__)); ># 115 "/usr/include/sys/uio.h" 3 4 >extern ssize_t pwritev64 (int __fd, const struct iovec *__iovec, int __count, > __off64_t __offset) __attribute__ ((__warn_unused_result__)); > > > > ># 32 "./../gl/sys/uio.h" 2 3 ># 27 "/usr/include/sys/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 29 "/usr/include/sys/socket.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 32 "/usr/include/sys/socket.h" 2 3 4 > > > > > > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 27 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 28 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 30 "/usr/include/bits/socket.h" 2 3 4 ># 38 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/socket_type.h" 1 3 4 ># 24 "/usr/include/bits/socket_type.h" 3 4 >enum __socket_type >{ > SOCK_STREAM = 1, > > > SOCK_DGRAM = 2, > > > SOCK_RAW = 3, > > SOCK_RDM = 4, > > SOCK_SEQPACKET = 5, > > > SOCK_DCCP = 6, > > SOCK_PACKET = 10, > > > > > > > > SOCK_CLOEXEC = 02000000, > > > SOCK_NONBLOCK = 00004000 > > >}; ># 39 "/usr/include/bits/socket.h" 2 3 4 ># 146 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/sockaddr.h" 1 3 4 ># 28 "/usr/include/bits/sockaddr.h" 3 4 >typedef unsigned short int sa_family_t; ># 147 "/usr/include/bits/socket.h" 2 3 4 > > >struct sockaddr > { > sa_family_t sa_family; > char sa_data[14]; > }; ># 162 "/usr/include/bits/socket.h" 3 4 >struct sockaddr_storage > { > sa_family_t ss_family; > unsigned long int __ss_align; > char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; > }; > > > >enum > { > MSG_OOB = 0x01, > > MSG_PEEK = 0x02, > > MSG_DONTROUTE = 0x04, > > > > MSG_TRYHARD = MSG_DONTROUTE, > > > MSG_CTRUNC = 0x08, > > MSG_PROXY = 0x10, > > MSG_TRUNC = 0x20, > > MSG_DONTWAIT = 0x40, > > MSG_EOR = 0x80, > > MSG_WAITALL = 0x100, > > MSG_FIN = 0x200, > > MSG_SYN = 0x400, > > MSG_CONFIRM = 0x800, > > MSG_RST = 0x1000, > > MSG_ERRQUEUE = 0x2000, > > MSG_NOSIGNAL = 0x4000, > > MSG_MORE = 0x8000, > > MSG_WAITFORONE = 0x10000, > > MSG_FASTOPEN = 0x20000000, > > > MSG_CMSG_CLOEXEC = 0x40000000 > > > > }; > > > > >struct msghdr > { > void *msg_name; > socklen_t msg_namelen; > > struct iovec *msg_iov; > size_t msg_iovlen; > > void *msg_control; > size_t msg_controllen; > > > > > int msg_flags; > }; > > >struct cmsghdr > { > size_t cmsg_len; > > > > > int cmsg_level; > int cmsg_type; > > __extension__ unsigned char __cmsg_data []; > > }; ># 272 "/usr/include/bits/socket.h" 3 4 >extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, > struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern __inline __attribute__ ((__gnu_inline__)) struct cmsghdr * >__attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) >{ > if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) > > return (struct cmsghdr *) 0; > > __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg > + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); > if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control > + __mhdr->msg_controllen) > || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) > > return (struct cmsghdr *) 0; > return __cmsg; >} > > > > >enum > { > SCM_RIGHTS = 0x01 > > > , SCM_CREDENTIALS = 0x02 > > > }; > > > >struct ucred >{ > pid_t pid; > uid_t uid; > gid_t gid; >}; ># 345 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/asm/socket.h" 1 3 4 ># 10 "/usr/include/asm/socket.h" 3 4 ># 1 "/usr/include/asm/sockios.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/sockios.h" 1 3 4 ># 5 "/usr/include/asm/sockios.h" 2 3 4 ># 11 "/usr/include/asm/socket.h" 2 3 4 ># 346 "/usr/include/bits/socket.h" 2 3 4 ># 379 "/usr/include/bits/socket.h" 3 4 >struct linger > { > int l_onoff; > int l_linger; > }; ># 39 "/usr/include/sys/socket.h" 2 3 4 > > > > >struct osockaddr > { > unsigned short int sa_family; > unsigned char sa_data[14]; > }; > > > > >enum >{ > SHUT_RD = 0, > > SHUT_WR, > > SHUT_RDWR > >}; ># 90 "/usr/include/sys/socket.h" 3 4 >typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__; > } __SOCKADDR_ARG __attribute__ ((__transparent_union__)); > > >typedef union { const struct sockaddr *__restrict __sockaddr__; const struct sockaddr_at *__restrict __sockaddr_at__; const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; const struct sockaddr_dl *__restrict __sockaddr_dl__; const struct sockaddr_eon *__restrict __sockaddr_eon__; const struct sockaddr_in *__restrict __sockaddr_in__; const struct sockaddr_in6 *__restrict __sockaddr_in6__; const struct sockaddr_inarp *__restrict __sockaddr_inarp__; const struct sockaddr_ipx *__restrict __sockaddr_ipx__; const struct sockaddr_iso *__restrict __sockaddr_iso__; const struct sockaddr_ns *__restrict __sockaddr_ns__; const struct sockaddr_un *__restrict __sockaddr_un__; const struct sockaddr_x25 *__restrict __sockaddr_x25__; > } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__)); > > > > > >struct mmsghdr > { > struct msghdr msg_hdr; > unsigned int msg_len; > > }; > > > > > > >extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int socketpair (int __domain, int __type, int __protocol, > int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) > __attribute__ ((__nothrow__ , __leaf__)); > > >extern int getsockname (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); ># 137 "/usr/include/sys/socket.h" 3 4 >extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); > > > >extern int getpeername (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t sendto (int __fd, const void *__buf, size_t __n, > int __flags, __CONST_SOCKADDR_ARG __addr, > socklen_t __addr_len); ># 174 "/usr/include/sys/socket.h" 3 4 >extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, > int __flags, __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern ssize_t sendmsg (int __fd, const struct msghdr *__message, > int __flags); > > > > > > > >extern int sendmmsg (int __fd, struct mmsghdr *__vmessages, > unsigned int __vlen, int __flags); > > > > > > > >extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); > > > > > > > >extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, > unsigned int __vlen, int __flags, > const struct timespec *__tmo); > > > > > > >extern int getsockopt (int __fd, int __level, int __optname, > void *__restrict __optval, > socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int setsockopt (int __fd, int __level, int __optname, > const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); ># 243 "/usr/include/sys/socket.h" 3 4 >extern int accept (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len); > > > > > > >extern int accept4 (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len, int __flags); ># 261 "/usr/include/sys/socket.h" 3 4 >extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); > > > > > ># 1 "/usr/include/bits/socket2.h" 1 3 4 ># 23 "/usr/include/bits/socket2.h" 3 4 >extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, > int __flags); >extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv") > ; >extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk") > > > __attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t >recv (int __fd, void *__buf, size_t __n, int __flags) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__n)) > return __recv_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags); > > if (__n > __builtin_object_size (__buf, 0)) > return __recv_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags); > } > return __recv_alias (__fd, __buf, __n, __flags); >} > >extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, > size_t __buflen, int __flags, > __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len); >extern ssize_t __recvfrom_alias (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "recvfrom") > > > ; >extern ssize_t __recvfrom_chk_warn (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "__recvfrom_chk") > > > > > __attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t >recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, > __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__n)) > return __recvfrom_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags, > __addr, __addr_len); > if (__n > __builtin_object_size (__buf, 0)) > return __recvfrom_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags, > __addr, __addr_len); > } > return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len); >} ># 281 "/usr/include/sys/socket.h" 2 3 4 > > > ># 59 "./../gl/sys/socket.h" 2 3 ># 70 "./../gl/sys/socket.h" 3 > ># 70 "./../gl/sys/socket.h" 3 >#pragma GCC diagnostic push ># 70 "./../gl/sys/socket.h" 3 > ># 70 "./../gl/sys/socket.h" 3 >#pragma GCC diagnostic ignored "-Wmissing-prototypes" ># 70 "./../gl/sys/socket.h" 3 > ># 70 "./../gl/sys/socket.h" 3 >#pragma GCC diagnostic ignored "-Wmissing-declarations" ># 70 "./../gl/sys/socket.h" 3 > ># 70 "./../gl/sys/socket.h" 3 >#pragma GCC diagnostic ignored "-Wsuggest-attribute=const" ># 70 "./../gl/sys/socket.h" 3 > ># 587 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 615 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 644 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 673 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 703 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 785 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 809 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 835 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 866 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 898 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 928 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy > > ; > >extern int _gl_cxxalias_dummy; ># 953 "./../gl/sys/socket.h" 3 >extern int _gl_cxxalias_dummy; > >extern int _gl_cxxalias_dummy; ># 1000 "./../gl/sys/socket.h" 3 > ># 1000 "./../gl/sys/socket.h" 3 >#pragma GCC diagnostic pop ># 1000 "./../gl/sys/socket.h" 3 > ># 55 "./gnutls_int.h" 2 > > > ># 1 "./../gl/time.h" 1 ># 20 "./../gl/time.h" > ># 21 "./../gl/time.h" 3 ># 59 "./gnutls_int.h" 2 ># 1 "./../gl/u64.h" 1 ># 25 "./../gl/u64.h" > ># 25 "./../gl/u64.h" >#pragma GCC diagnostic push ># 25 "./../gl/u64.h" > ># 25 "./../gl/u64.h" >#pragma GCC diagnostic ignored "-Wmissing-prototypes" ># 25 "./../gl/u64.h" > ># 25 "./../gl/u64.h" >#pragma GCC diagnostic ignored "-Wmissing-declarations" ># 25 "./../gl/u64.h" > ># 25 "./../gl/u64.h" >#pragma GCC diagnostic ignored "-Wsuggest-attribute=const" ># 25 "./../gl/u64.h" > ># 37 "./../gl/u64.h" >typedef uint64_t u64; ># 179 "./../gl/u64.h" > ># 179 "./../gl/u64.h" >#pragma GCC diagnostic pop ># 179 "./../gl/u64.h" > ># 60 "./gnutls_int.h" 2 > > ># 1 "/usr/include/nettle/memxor.h" 1 3 4 > > > > > > > ># 1 "./../gl/stdlib.h" 1 3 4 ># 20 "./../gl/stdlib.h" 3 4 > ># 21 "./../gl/stdlib.h" 3 ># 9 "/usr/include/nettle/memxor.h" 2 3 4 ># 1 "/usr/include/nettle/nettle-types.h" 1 3 4 ># 29 "/usr/include/nettle/nettle-types.h" 3 4 ># 1 "/usr/include/nettle/nettle-stdint.h" 1 3 4 ># 30 "/usr/include/nettle/nettle-types.h" 2 3 4 > > > > > > >typedef void nettle_random_func(void *ctx, > unsigned length, uint8_t *dst); > > >typedef void nettle_progress_func(void *ctx, int c); > > >typedef void *nettle_realloc_func(void *ctx, void *p, unsigned length); > > >typedef void nettle_set_key_func(void *ctx, > unsigned length, > const uint8_t *key); > > > > > > > >typedef void nettle_crypt_func(void *ctx, > unsigned length, uint8_t *dst, > const uint8_t *src); > > >typedef void nettle_hash_init_func(void *ctx); >typedef void nettle_hash_update_func(void *ctx, > unsigned length, > const uint8_t *src); >typedef void nettle_hash_digest_func(void *ctx, > unsigned length, uint8_t *dst); > > > >typedef unsigned nettle_armor_length_func(unsigned length); >typedef void nettle_armor_init_func(void *ctx); > >typedef unsigned nettle_armor_encode_update_func(void *ctx, > uint8_t *dst, > unsigned src_length, > const uint8_t *src); > >typedef unsigned nettle_armor_encode_final_func(void *ctx, uint8_t *dst); > >typedef int nettle_armor_decode_update_func(void *ctx, > unsigned *dst_length, > uint8_t *dst, > unsigned src_length, > const uint8_t *src); > >typedef int nettle_armor_decode_final_func(void *ctx); ># 10 "/usr/include/nettle/memxor.h" 2 3 4 > > > > > >uint8_t *memxor(uint8_t *dst, const uint8_t *src, size_t n); >uint8_t *memxor3(uint8_t *dst, const uint8_t *a, const uint8_t *b, size_t n); ># 63 "./gnutls_int.h" 2 ># 90 "./gnutls_int.h" >typedef struct { > unsigned char i[8]; >} uint64; > ># 1 "./includes/gnutls/gnutls.h" 1 ># 40 "./includes/gnutls/gnutls.h" ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 41 "./includes/gnutls/gnutls.h" 2 > > > > ># 1 "./../gl/sys/types.h" 1 ># 20 "./../gl/sys/types.h" > ># 21 "./../gl/sys/types.h" 3 ># 46 "./includes/gnutls/gnutls.h" 2 > > > ># 1 "./../gl/time.h" 1 ># 20 "./../gl/time.h" > ># 21 "./../gl/time.h" 3 ># 50 "./includes/gnutls/gnutls.h" 2 ># 101 "./includes/gnutls/gnutls.h" >typedef enum gnutls_cipher_algorithm { > GNUTLS_CIPHER_UNKNOWN = 0, > GNUTLS_CIPHER_NULL = 1, > GNUTLS_CIPHER_ARCFOUR_128 = 2, > GNUTLS_CIPHER_3DES_CBC = 3, > GNUTLS_CIPHER_AES_128_CBC = 4, > GNUTLS_CIPHER_AES_256_CBC = 5, > GNUTLS_CIPHER_ARCFOUR_40 = 6, > GNUTLS_CIPHER_CAMELLIA_128_CBC = 7, > GNUTLS_CIPHER_CAMELLIA_256_CBC = 8, > GNUTLS_CIPHER_RC2_40_CBC = 90, > GNUTLS_CIPHER_DES_CBC = 91, > GNUTLS_CIPHER_AES_192_CBC = 92, > GNUTLS_CIPHER_AES_128_GCM = 93, > GNUTLS_CIPHER_AES_256_GCM = 94, > GNUTLS_CIPHER_CAMELLIA_192_CBC = 95, > GNUTLS_CIPHER_SALSA20_256 = 96, > GNUTLS_CIPHER_ESTREAM_SALSA20_256 = 97, > GNUTLS_CIPHER_CAMELLIA_128_GCM = 98, > GNUTLS_CIPHER_CAMELLIA_256_GCM = 99, > > > > GNUTLS_CIPHER_IDEA_PGP_CFB = 200, > GNUTLS_CIPHER_3DES_PGP_CFB = 201, > GNUTLS_CIPHER_CAST5_PGP_CFB = 202, > GNUTLS_CIPHER_BLOWFISH_PGP_CFB = 203, > GNUTLS_CIPHER_SAFER_SK128_PGP_CFB = 204, > GNUTLS_CIPHER_AES128_PGP_CFB = 205, > GNUTLS_CIPHER_AES192_PGP_CFB = 206, > GNUTLS_CIPHER_AES256_PGP_CFB = 207, > GNUTLS_CIPHER_TWOFISH_PGP_CFB = 208 >} gnutls_cipher_algorithm_t; ># 156 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_KX_UNKNOWN = 0, > GNUTLS_KX_RSA = 1, > GNUTLS_KX_DHE_DSS = 2, > GNUTLS_KX_DHE_RSA = 3, > GNUTLS_KX_ANON_DH = 4, > GNUTLS_KX_SRP = 5, > GNUTLS_KX_RSA_EXPORT = 6, > GNUTLS_KX_SRP_RSA = 7, > GNUTLS_KX_SRP_DSS = 8, > GNUTLS_KX_PSK = 9, > GNUTLS_KX_DHE_PSK = 10, > GNUTLS_KX_ANON_ECDH = 11, > GNUTLS_KX_ECDHE_RSA = 12, > GNUTLS_KX_ECDHE_ECDSA = 13, > GNUTLS_KX_ECDHE_PSK = 14, > GNUTLS_KX_RSA_PSK = 15, >} gnutls_kx_algorithm_t; ># 183 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_PARAMS_RSA_EXPORT = 1, > GNUTLS_PARAMS_DH = 2, > GNUTLS_PARAMS_ECDH = 3, >} gnutls_params_type_t; ># 199 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_CRD_CERTIFICATE = 1, > GNUTLS_CRD_ANON, > GNUTLS_CRD_SRP, > GNUTLS_CRD_PSK, > GNUTLS_CRD_IA >} gnutls_credentials_type_t; ># 229 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_MAC_UNKNOWN = 0, > GNUTLS_MAC_NULL = 1, > GNUTLS_MAC_MD5 = 2, > GNUTLS_MAC_SHA1 = 3, > GNUTLS_MAC_RMD160 = 4, > GNUTLS_MAC_MD2 = 5, > GNUTLS_MAC_SHA256 = 6, > GNUTLS_MAC_SHA384 = 7, > GNUTLS_MAC_SHA512 = 8, > GNUTLS_MAC_SHA224 = 9, > > > GNUTLS_MAC_AEAD = 200, > GNUTLS_MAC_UMAC_96 = 201, > GNUTLS_MAC_UMAC_128 = 202, >} gnutls_mac_algorithm_t; ># 262 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_DIG_UNKNOWN = GNUTLS_MAC_UNKNOWN, > GNUTLS_DIG_NULL = GNUTLS_MAC_NULL, > GNUTLS_DIG_MD5 = GNUTLS_MAC_MD5, > GNUTLS_DIG_SHA1 = GNUTLS_MAC_SHA1, > GNUTLS_DIG_RMD160 = GNUTLS_MAC_RMD160, > GNUTLS_DIG_MD2 = GNUTLS_MAC_MD2, > GNUTLS_DIG_SHA256 = GNUTLS_MAC_SHA256, > GNUTLS_DIG_SHA384 = GNUTLS_MAC_SHA384, > GNUTLS_DIG_SHA512 = GNUTLS_MAC_SHA512, > GNUTLS_DIG_SHA224 = GNUTLS_MAC_SHA224 > > >} gnutls_digest_algorithm_t; ># 291 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_COMP_UNKNOWN = 0, > GNUTLS_COMP_NULL = 1, > GNUTLS_COMP_DEFLATE = 2, > GNUTLS_COMP_ZLIB = GNUTLS_COMP_DEFLATE, >} gnutls_compression_method_t; ># 323 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_AL_WARNING = 1, > GNUTLS_AL_FATAL >} gnutls_alert_level_t; ># 365 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_A_CLOSE_NOTIFY, > GNUTLS_A_UNEXPECTED_MESSAGE = 10, > GNUTLS_A_BAD_RECORD_MAC = 20, > GNUTLS_A_DECRYPTION_FAILED, > GNUTLS_A_RECORD_OVERFLOW, > GNUTLS_A_DECOMPRESSION_FAILURE = 30, > GNUTLS_A_HANDSHAKE_FAILURE = 40, > GNUTLS_A_SSL3_NO_CERTIFICATE = 41, > GNUTLS_A_BAD_CERTIFICATE = 42, > GNUTLS_A_UNSUPPORTED_CERTIFICATE, > GNUTLS_A_CERTIFICATE_REVOKED, > GNUTLS_A_CERTIFICATE_EXPIRED, > GNUTLS_A_CERTIFICATE_UNKNOWN, > GNUTLS_A_ILLEGAL_PARAMETER, > GNUTLS_A_UNKNOWN_CA, > GNUTLS_A_ACCESS_DENIED, > GNUTLS_A_DECODE_ERROR = 50, > GNUTLS_A_DECRYPT_ERROR, > GNUTLS_A_EXPORT_RESTRICTION = 60, > GNUTLS_A_PROTOCOL_VERSION = 70, > GNUTLS_A_INSUFFICIENT_SECURITY, > GNUTLS_A_INTERNAL_ERROR = 80, > GNUTLS_A_USER_CANCELED = 90, > GNUTLS_A_NO_RENEGOTIATION = 100, > GNUTLS_A_UNSUPPORTED_EXTENSION = 110, > GNUTLS_A_CERTIFICATE_UNOBTAINABLE = 111, > GNUTLS_A_UNRECOGNIZED_NAME = 112, > GNUTLS_A_UNKNOWN_PSK_IDENTITY = 115, > GNUTLS_A_NO_APPLICATION_PROTOCOL = 120, >} gnutls_alert_description_t; ># 418 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_HANDSHAKE_HELLO_REQUEST = 0, > GNUTLS_HANDSHAKE_CLIENT_HELLO = 1, > GNUTLS_HANDSHAKE_SERVER_HELLO = 2, > GNUTLS_HANDSHAKE_HELLO_VERIFY_REQUEST = 3, > GNUTLS_HANDSHAKE_NEW_SESSION_TICKET = 4, > GNUTLS_HANDSHAKE_CERTIFICATE_PKT = 11, > GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE = 12, > GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST = 13, > GNUTLS_HANDSHAKE_SERVER_HELLO_DONE = 14, > GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY = 15, > GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE = 16, > GNUTLS_HANDSHAKE_FINISHED = 20, > GNUTLS_HANDSHAKE_CERTIFICATE_STATUS = 22, > GNUTLS_HANDSHAKE_SUPPLEMENTAL = 23, > GNUTLS_HANDSHAKE_CHANGE_CIPHER_SPEC = 254, > GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 = 1024, >} gnutls_handshake_description_t; > > > >const char > *gnutls_handshake_description_get_name(gnutls_handshake_description_t > type); ># 472 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_CERT_INVALID = 1 << 1, > GNUTLS_CERT_REVOKED = 1 << 5, > GNUTLS_CERT_SIGNER_NOT_FOUND = 1 << 6, > GNUTLS_CERT_SIGNER_NOT_CA = 1 << 7, > GNUTLS_CERT_INSECURE_ALGORITHM = 1 << 8, > GNUTLS_CERT_NOT_ACTIVATED = 1 << 9, > GNUTLS_CERT_EXPIRED = 1 << 10, > GNUTLS_CERT_SIGNATURE_FAILURE = 1 << 11, > GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED = 1 << 12, > GNUTLS_CERT_UNEXPECTED_OWNER = 1 << 14, > GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE = 1 << 15, > GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE = 1 << 16, > GNUTLS_CERT_MISMATCH = 1 << 17, >} gnutls_certificate_status_t; ># 496 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_CERT_IGNORE = 0, > GNUTLS_CERT_REQUEST = 1, > GNUTLS_CERT_REQUIRE = 2 >} gnutls_certificate_request_t; ># 509 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_OPENPGP_CERT = 0, > GNUTLS_OPENPGP_CERT_FINGERPRINT = 1 >} gnutls_openpgp_crt_status_t; ># 521 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_SHUT_RDWR = 0, > GNUTLS_SHUT_WR = 1 >} gnutls_close_request_t; ># 541 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_SSL3 = 1, > GNUTLS_TLS1_0 = 2, > GNUTLS_TLS1 = GNUTLS_TLS1_0, > GNUTLS_TLS1_1 = 3, > GNUTLS_TLS1_2 = 4, > GNUTLS_DTLS0_9 = 6, > GNUTLS_DTLS1_0 = 5, > GNUTLS_DTLS1_2 = 202, > GNUTLS_DTLS_VERSION_MIN = GNUTLS_DTLS1_0, > GNUTLS_DTLS_VERSION_MAX = GNUTLS_DTLS1_2, > GNUTLS_TLS_VERSION_MAX = GNUTLS_TLS1_2, > GNUTLS_VERSION_UNKNOWN = 0xff >} gnutls_protocol_t; ># 565 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_CRT_UNKNOWN = 0, > GNUTLS_CRT_X509 = 1, > GNUTLS_CRT_OPENPGP = 2, > GNUTLS_CRT_RAW = 3 >} gnutls_certificate_type_t; ># 579 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_X509_FMT_DER = 0, > GNUTLS_X509_FMT_PEM = 1 >} gnutls_x509_crt_fmt_t; ># 594 "./includes/gnutls/gnutls.h" >typedef enum gnutls_certificate_print_formats { > GNUTLS_CRT_PRINT_FULL = 0, > GNUTLS_CRT_PRINT_ONELINE = 1, > GNUTLS_CRT_PRINT_UNSIGNED_FULL = 2, > GNUTLS_CRT_PRINT_COMPACT = 3, > GNUTLS_CRT_PRINT_FULL_NUMBERS = 4, >} gnutls_certificate_print_formats_t; ># 613 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_PK_UNKNOWN = 0, > GNUTLS_PK_RSA = 1, > GNUTLS_PK_DSA = 2, > GNUTLS_PK_DH = 3, > GNUTLS_PK_EC = 4, >} gnutls_pk_algorithm_t; > >const char *gnutls_pk_algorithm_get_name(gnutls_pk_algorithm_t algorithm); ># 647 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_SIGN_UNKNOWN = 0, > GNUTLS_SIGN_RSA_SHA1 = 1, > GNUTLS_SIGN_RSA_SHA = GNUTLS_SIGN_RSA_SHA1, > GNUTLS_SIGN_DSA_SHA1 = 2, > GNUTLS_SIGN_DSA_SHA = GNUTLS_SIGN_DSA_SHA1, > GNUTLS_SIGN_RSA_MD5 = 3, > GNUTLS_SIGN_RSA_MD2 = 4, > GNUTLS_SIGN_RSA_RMD160 = 5, > GNUTLS_SIGN_RSA_SHA256 = 6, > GNUTLS_SIGN_RSA_SHA384 = 7, > GNUTLS_SIGN_RSA_SHA512 = 8, > GNUTLS_SIGN_RSA_SHA224 = 9, > GNUTLS_SIGN_DSA_SHA224 = 10, > GNUTLS_SIGN_DSA_SHA256 = 11, > GNUTLS_SIGN_ECDSA_SHA1 = 12, > GNUTLS_SIGN_ECDSA_SHA224 = 13, > GNUTLS_SIGN_ECDSA_SHA256 = 14, > GNUTLS_SIGN_ECDSA_SHA384 = 15, > GNUTLS_SIGN_ECDSA_SHA512 = 16, > GNUTLS_SIGN_DSA_SHA384 = 17, > GNUTLS_SIGN_DSA_SHA512 = 18, >} gnutls_sign_algorithm_t; ># 682 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_ECC_CURVE_INVALID = 0, > GNUTLS_ECC_CURVE_SECP224R1, > GNUTLS_ECC_CURVE_SECP256R1, > GNUTLS_ECC_CURVE_SECP384R1, > GNUTLS_ECC_CURVE_SECP521R1, > GNUTLS_ECC_CURVE_SECP192R1, >} gnutls_ecc_curve_t; ># 712 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_SEC_PARAM_INSECURE = -20, > GNUTLS_SEC_PARAM_EXPORT = -15, > GNUTLS_SEC_PARAM_VERY_WEAK = -12, > GNUTLS_SEC_PARAM_WEAK = -10, > GNUTLS_SEC_PARAM_UNKNOWN = 0, > GNUTLS_SEC_PARAM_LOW = 1, > GNUTLS_SEC_PARAM_LEGACY = 2, > GNUTLS_SEC_PARAM_MEDIUM = 3, > GNUTLS_SEC_PARAM_HIGH = 4, > GNUTLS_SEC_PARAM_ULTRA = 5, >} gnutls_sec_param_t; ># 734 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_CB_TLS_UNIQUE >} gnutls_channel_binding_t; > > > > > >typedef void *gnutls_transport_ptr_t; > >struct gnutls_session_int; >typedef struct gnutls_session_int *gnutls_session_t; > >struct gnutls_dh_params_int; >typedef struct gnutls_dh_params_int *gnutls_dh_params_t; > >struct gnutls_ecdh_params_int; >typedef struct gnutls_ecdh_params_int *gnutls_ecdh_params_t; > > >struct gnutls_x509_privkey_int; >typedef struct gnutls_x509_privkey_int *gnutls_rsa_params_t; > >struct gnutls_priority_st; >typedef struct gnutls_priority_st *gnutls_priority_t; > >typedef struct { > unsigned char *data; > unsigned int size; >} gnutls_datum_t; > > >typedef struct gnutls_params_st { > gnutls_params_type_t type; > union params { > gnutls_dh_params_t dh; > gnutls_ecdh_params_t ecdh; > gnutls_rsa_params_t rsa_export; > } params; > int deinit; >} gnutls_params_st; > >typedef int gnutls_params_function(gnutls_session_t, gnutls_params_type_t, > gnutls_params_st *); > > > >int gnutls_init(gnutls_session_t * session, unsigned int flags); >void gnutls_deinit(gnutls_session_t session); > > >int gnutls_bye(gnutls_session_t session, gnutls_close_request_t how); > >int gnutls_handshake(gnutls_session_t session); > > >void gnutls_handshake_set_timeout(gnutls_session_t session, > unsigned int ms); >int gnutls_rehandshake(gnutls_session_t session); > >gnutls_alert_description_t gnutls_alert_get(gnutls_session_t session); >int gnutls_alert_send(gnutls_session_t session, > gnutls_alert_level_t level, > gnutls_alert_description_t desc); >int gnutls_alert_send_appropriate(gnutls_session_t session, int err); >const char *gnutls_alert_get_name(gnutls_alert_description_t alert); >const char *gnutls_alert_get_strname(gnutls_alert_description_t alert); > >gnutls_sec_param_t gnutls_pk_bits_to_sec_param(gnutls_pk_algorithm_t algo, > unsigned int bits); >const char *gnutls_sec_param_get_name(gnutls_sec_param_t param); >unsigned int gnutls_sec_param_to_pk_bits(gnutls_pk_algorithm_t algo, > gnutls_sec_param_t param); >unsigned int >gnutls_sec_param_to_symmetric_bits(gnutls_sec_param_t param); > > >const char *gnutls_ecc_curve_get_name(gnutls_ecc_curve_t curve); >int gnutls_ecc_curve_get_size(gnutls_ecc_curve_t curve); >gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session); > > >gnutls_cipher_algorithm_t gnutls_cipher_get(gnutls_session_t session); >gnutls_kx_algorithm_t gnutls_kx_get(gnutls_session_t session); >gnutls_mac_algorithm_t gnutls_mac_get(gnutls_session_t session); >gnutls_compression_method_t >gnutls_compression_get(gnutls_session_t session); >gnutls_certificate_type_t >gnutls_certificate_type_get(gnutls_session_t session); > >int gnutls_sign_algorithm_get(gnutls_session_t session); >int gnutls_sign_algorithm_get_client(gnutls_session_t session); > >int gnutls_sign_algorithm_get_requested(gnutls_session_t session, > size_t indx, > gnutls_sign_algorithm_t * algo); > > >const char *gnutls_cipher_get_name(gnutls_cipher_algorithm_t algorithm); >const char *gnutls_mac_get_name(gnutls_mac_algorithm_t algorithm); >const char *gnutls_digest_get_name(gnutls_digest_algorithm_t algorithm); >const char *gnutls_compression_get_name(gnutls_compression_method_t > algorithm); >const char *gnutls_kx_get_name(gnutls_kx_algorithm_t algorithm); >const char *gnutls_certificate_type_get_name(gnutls_certificate_type_t > type); >const char *gnutls_pk_get_name(gnutls_pk_algorithm_t algorithm); >const char *gnutls_sign_get_name(gnutls_sign_algorithm_t algorithm); > >size_t gnutls_cipher_get_key_size(gnutls_cipher_algorithm_t algorithm); >size_t gnutls_mac_get_key_size(gnutls_mac_algorithm_t algorithm); > >int gnutls_sign_is_secure(gnutls_sign_algorithm_t algorithm); >gnutls_digest_algorithm_t >gnutls_sign_get_hash_algorithm(gnutls_sign_algorithm_t sign); >gnutls_pk_algorithm_t >gnutls_sign_get_pk_algorithm(gnutls_sign_algorithm_t sign); >gnutls_sign_algorithm_t >gnutls_pk_to_sign(gnutls_pk_algorithm_t pk, > gnutls_digest_algorithm_t hash); > > > >gnutls_mac_algorithm_t gnutls_mac_get_id(const char *name); >gnutls_digest_algorithm_t gnutls_digest_get_id(const char *name); >gnutls_compression_method_t gnutls_compression_get_id(const char *name); >gnutls_cipher_algorithm_t gnutls_cipher_get_id(const char *name); >gnutls_kx_algorithm_t gnutls_kx_get_id(const char *name); >gnutls_protocol_t gnutls_protocol_get_id(const char *name); >gnutls_certificate_type_t gnutls_certificate_type_get_id(const char *name); >gnutls_pk_algorithm_t gnutls_pk_get_id(const char *name); >gnutls_sign_algorithm_t gnutls_sign_get_id(const char *name); > > >const gnutls_ecc_curve_t *gnutls_ecc_curve_list(void); >const gnutls_cipher_algorithm_t *gnutls_cipher_list(void); >const gnutls_mac_algorithm_t *gnutls_mac_list(void); >const gnutls_digest_algorithm_t *gnutls_digest_list(void); >const gnutls_compression_method_t *gnutls_compression_list(void); >const gnutls_protocol_t *gnutls_protocol_list(void); >const gnutls_certificate_type_t *gnutls_certificate_type_list(void); >const gnutls_kx_algorithm_t *gnutls_kx_list(void); >const gnutls_pk_algorithm_t *gnutls_pk_list(void); >const gnutls_sign_algorithm_t *gnutls_sign_list(void); >const char *gnutls_cipher_suite_info(size_t idx, > unsigned char *cs_id, > gnutls_kx_algorithm_t * kx, > gnutls_cipher_algorithm_t * cipher, > gnutls_mac_algorithm_t * mac, > gnutls_protocol_t * min_version); > > >int gnutls_error_is_fatal(int error); >int gnutls_error_to_alert(int err, int *level); > >void gnutls_perror(int error); >const char *gnutls_strerror(int error); >const char *gnutls_strerror_name(int error); > > > >void gnutls_handshake_set_private_extensions(gnutls_session_t session, > int allow); >int gnutls_handshake_set_random(gnutls_session_t session, > const gnutls_datum_t * random); > >gnutls_handshake_description_t >gnutls_handshake_get_last_out(gnutls_session_t session); >gnutls_handshake_description_t >gnutls_handshake_get_last_in(gnutls_session_t session); > > > > >int gnutls_heartbeat_ping(gnutls_session_t session, size_t data_size, > unsigned int max_tries, unsigned int flags); >int gnutls_heartbeat_pong(gnutls_session_t session, unsigned int flags); > >void gnutls_record_set_timeout(gnutls_session_t session, unsigned int ms); >void gnutls_record_disable_padding(gnutls_session_t session); > >void gnutls_record_cork(gnutls_session_t session); > >int gnutls_record_uncork(gnutls_session_t session, unsigned int flags); > >typedef struct { > size_t low; > size_t high; >} gnutls_range_st; > >int gnutls_range_split(gnutls_session_t session, > const gnutls_range_st * orig, > gnutls_range_st * small_range, > gnutls_range_st * rem_range); > >ssize_t gnutls_record_send(gnutls_session_t session, const void *data, > size_t data_size); >ssize_t gnutls_record_send_range(gnutls_session_t session, > const void *data, size_t data_size, > const gnutls_range_st * range); >ssize_t gnutls_record_recv(gnutls_session_t session, void *data, > size_t data_size); > > >ssize_t gnutls_record_recv_seq(gnutls_session_t session, void *data, > size_t data_size, unsigned char *seq); > >size_t gnutls_record_overhead_size(gnutls_session_t session); > >size_t gnutls_est_record_overhead_size(gnutls_protocol_t version, > gnutls_cipher_algorithm_t cipher, > gnutls_mac_algorithm_t mac, > gnutls_compression_method_t comp, > unsigned int flags); > >void gnutls_session_enable_compatibility_mode(gnutls_session_t session); >void gnutls_record_set_max_empty_records(gnutls_session_t session, > const unsigned int i); > >int gnutls_record_can_use_length_hiding(gnutls_session_t session); > >int gnutls_record_get_direction(gnutls_session_t session); > >size_t gnutls_record_get_max_size(gnutls_session_t session); >ssize_t gnutls_record_set_max_size(gnutls_session_t session, size_t size); > >size_t gnutls_record_check_pending(gnutls_session_t session); >size_t gnutls_record_check_corked(gnutls_session_t session); > >void gnutls_session_force_valid(gnutls_session_t session); > >int gnutls_prf(gnutls_session_t session, > size_t label_size, const char *label, > int server_random_first, > size_t extra_size, const char *extra, > size_t outsize, char *out); > >int gnutls_prf_raw(gnutls_session_t session, > size_t label_size, const char *label, > size_t seed_size, const char *seed, > size_t outsize, char *out); > > > > > > > >typedef enum { > GNUTLS_NAME_DNS = 1 >} gnutls_server_name_type_t; > >int gnutls_server_name_set(gnutls_session_t session, > gnutls_server_name_type_t type, > const void *name, size_t name_length); > >int gnutls_server_name_get(gnutls_session_t session, > void *data, size_t * data_length, > unsigned int *type, unsigned int indx); > >unsigned int gnutls_heartbeat_get_timeout(gnutls_session_t session); >void gnutls_heartbeat_set_timeouts(gnutls_session_t session, > unsigned int retrans_timeout, > unsigned int total_timeout); > > > > > >void gnutls_heartbeat_enable(gnutls_session_t session, unsigned int type); > > >int gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type); > > >int gnutls_safe_renegotiation_status(gnutls_session_t session); > > > > > > > >typedef enum { > GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA = 0 >} gnutls_supplemental_data_format_type_t; > >const char >*gnutls_supplemental_get_name(gnutls_supplemental_data_format_type_t type); > > >int gnutls_session_ticket_key_generate(gnutls_datum_t * key); >int gnutls_session_ticket_enable_client(gnutls_session_t session); >int gnutls_session_ticket_enable_server(gnutls_session_t session, > const gnutls_datum_t * key); ># 1041 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001, > GNUTLS_SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002, > GNUTLS_SRTP_NULL_HMAC_SHA1_80 = 0x0005, > GNUTLS_SRTP_NULL_HMAC_SHA1_32 = 0x0006 >} gnutls_srtp_profile_t; > >int gnutls_srtp_set_profile(gnutls_session_t session, > gnutls_srtp_profile_t profile); >int gnutls_srtp_set_profile_direct(gnutls_session_t session, > const char *profiles, > const char **err_pos); >int gnutls_srtp_get_selected_profile(gnutls_session_t session, > gnutls_srtp_profile_t * profile); > >const char *gnutls_srtp_get_profile_name(gnutls_srtp_profile_t profile); >int gnutls_srtp_get_profile_id(const char *name, > gnutls_srtp_profile_t * profile); >int gnutls_srtp_get_keys(gnutls_session_t session, > void *key_material, > unsigned int key_material_size, > gnutls_datum_t * client_key, > gnutls_datum_t * client_salt, > gnutls_datum_t * server_key, > gnutls_datum_t * server_salt); > >int gnutls_srtp_set_mki(gnutls_session_t session, > const gnutls_datum_t * mki); >int gnutls_srtp_get_mki(gnutls_session_t session, gnutls_datum_t * mki); > > > >int gnutls_alpn_get_selected_protocol(gnutls_session_t session, > gnutls_datum_t * protocol); >int gnutls_alpn_set_protocols(gnutls_session_t session, > const gnutls_datum_t * protocols, > unsigned protocols_size, unsigned flags); > >int gnutls_key_generate(gnutls_datum_t * key, unsigned int key_size); > > > > >int gnutls_priority_init(gnutls_priority_t * priority_cache, > const char *priorities, const char **err_pos); >void gnutls_priority_deinit(gnutls_priority_t priority_cache); >int gnutls_priority_get_cipher_suite_index(gnutls_priority_t pcache, > unsigned int idx, > unsigned int *sidx); > >int gnutls_priority_set(gnutls_session_t session, > gnutls_priority_t priority); >int gnutls_priority_set_direct(gnutls_session_t session, > const char *priorities, > const char **err_pos); > >int gnutls_priority_certificate_type_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_sign_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_protocol_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_compression_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_ecc_curve_list(gnutls_priority_t pcache, > const unsigned int **list); > >int gnutls_priority_kx_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_cipher_list(gnutls_priority_t pcache, > const unsigned int **list); >int gnutls_priority_mac_list(gnutls_priority_t pcache, > const unsigned int **list); > > > >int gnutls_set_default_priority(gnutls_session_t session); > > >const char *gnutls_cipher_suite_get_name(gnutls_kx_algorithm_t > kx_algorithm, > gnutls_cipher_algorithm_t > cipher_algorithm, > gnutls_mac_algorithm_t > mac_algorithm); > > >gnutls_protocol_t gnutls_protocol_get_version(gnutls_session_t session); > >const char *gnutls_protocol_get_name(gnutls_protocol_t version); > > > > >int gnutls_session_set_data(gnutls_session_t session, > const void *session_data, > size_t session_data_size); >int gnutls_session_get_data(gnutls_session_t session, void *session_data, > size_t * session_data_size); >int gnutls_session_get_data2(gnutls_session_t session, > gnutls_datum_t * data); >void gnutls_session_get_random(gnutls_session_t session, > gnutls_datum_t * client, > gnutls_datum_t * server); >char *gnutls_session_get_desc(gnutls_session_t session); > >int gnutls_session_set_premaster(gnutls_session_t session, > unsigned int entity, > gnutls_protocol_t version, > gnutls_kx_algorithm_t kx, > gnutls_cipher_algorithm_t cipher, > gnutls_mac_algorithm_t mac, > gnutls_compression_method_t comp, > const gnutls_datum_t * master, > const gnutls_datum_t * session_id); > > > >int gnutls_session_get_id(gnutls_session_t session, void *session_id, > size_t * session_id_size); >int gnutls_session_get_id2(gnutls_session_t session, > gnutls_datum_t * session_id); > >int gnutls_session_set_id(gnutls_session_t session, > const gnutls_datum_t * sid); > >int gnutls_session_channel_binding(gnutls_session_t session, > gnutls_channel_binding_t cbtype, > gnutls_datum_t * cb); > > > >int gnutls_session_is_resumed(gnutls_session_t session); >int gnutls_session_resumption_requested(gnutls_session_t session); > >typedef int (*gnutls_db_store_func) (void *, gnutls_datum_t key, > gnutls_datum_t data); >typedef int (*gnutls_db_remove_func) (void *, gnutls_datum_t key); >typedef gnutls_datum_t(*gnutls_db_retr_func) (void *, gnutls_datum_t key); > >void gnutls_db_set_cache_expiration(gnutls_session_t session, int seconds); >unsigned gnutls_db_get_default_cache_expiration(void); > >void gnutls_db_remove_session(gnutls_session_t session); >void gnutls_db_set_retrieve_function(gnutls_session_t session, > gnutls_db_retr_func retr_func); >void gnutls_db_set_remove_function(gnutls_session_t session, > gnutls_db_remove_func rem_func); >void gnutls_db_set_store_function(gnutls_session_t session, > gnutls_db_store_func store_func); >void gnutls_db_set_ptr(gnutls_session_t session, void *ptr); >void *gnutls_db_get_ptr(gnutls_session_t session); >int gnutls_db_check_entry(gnutls_session_t session, > gnutls_datum_t session_entry); >time_t gnutls_db_check_entry_time(gnutls_datum_t * entry); ># 1213 "./includes/gnutls/gnutls.h" >typedef int (*gnutls_handshake_hook_func) (gnutls_session_t, > unsigned int htype, > unsigned post, > unsigned int incoming); >void gnutls_handshake_set_hook_function(gnutls_session_t session, > unsigned int htype, int post, > gnutls_handshake_hook_func func); > >typedef int (*gnutls_handshake_post_client_hello_func) (gnutls_session_t); >void >gnutls_handshake_set_post_client_hello_function(gnutls_session_t session, > gnutls_handshake_post_client_hello_func > func); > >void gnutls_handshake_set_max_packet_length(gnutls_session_t session, > size_t max); > > > >const char *gnutls_check_version(const char *req_version); > > > >void gnutls_credentials_clear(gnutls_session_t session); > > > >int gnutls_credentials_set(gnutls_session_t session, > gnutls_credentials_type_t type, void *cred); > > > > >struct gnutls_pubkey_st; >typedef struct gnutls_pubkey_st *gnutls_pubkey_t; > >struct gnutls_privkey_st; >typedef struct gnutls_privkey_st *gnutls_privkey_t; > >struct gnutls_x509_privkey_int; >typedef struct gnutls_x509_privkey_int *gnutls_x509_privkey_t; > >struct gnutls_x509_crl_int; >typedef struct gnutls_x509_crl_int *gnutls_x509_crl_t; > >struct gnutls_x509_crt_int; >typedef struct gnutls_x509_crt_int *gnutls_x509_crt_t; > >struct gnutls_x509_crq_int; >typedef struct gnutls_x509_crq_int *gnutls_x509_crq_t; > >struct gnutls_openpgp_keyring_int; >typedef struct gnutls_openpgp_keyring_int *gnutls_openpgp_keyring_t; > > > > >struct gnutls_certificate_credentials_st; >typedef struct gnutls_certificate_credentials_st >*gnutls_certificate_credentials_t; >typedef gnutls_certificate_credentials_t > gnutls_certificate_server_credentials; >typedef gnutls_certificate_credentials_t > gnutls_certificate_client_credentials; > >typedef struct gnutls_anon_server_credentials_st >*gnutls_anon_server_credentials_t; >typedef struct gnutls_anon_client_credentials_st >*gnutls_anon_client_credentials_t; > >void gnutls_anon_free_server_credentials(gnutls_anon_server_credentials_t > sc); >int >gnutls_anon_allocate_server_credentials(gnutls_anon_server_credentials_t > * sc); > >void gnutls_anon_set_server_dh_params(gnutls_anon_server_credentials_t res, > gnutls_dh_params_t dh_params); > >void >gnutls_anon_set_server_params_function(gnutls_anon_server_credentials_t > res, gnutls_params_function * func); > >void >gnutls_anon_free_client_credentials(gnutls_anon_client_credentials_t sc); >int >gnutls_anon_allocate_client_credentials(gnutls_anon_client_credentials_t > * sc); > > > > >void >gnutls_certificate_free_credentials(gnutls_certificate_credentials_t sc); >int >gnutls_certificate_allocate_credentials(gnutls_certificate_credentials_t > * res); > >int >gnutls_certificate_get_issuer(gnutls_certificate_credentials_t sc, > gnutls_x509_crt_t cert, > gnutls_x509_crt_t * issuer, > unsigned int flags); > >int gnutls_certificate_get_crt_raw(gnutls_certificate_credentials_t sc, > unsigned idx1, unsigned idx2, > gnutls_datum_t * cert); > >void gnutls_certificate_free_keys(gnutls_certificate_credentials_t sc); >void gnutls_certificate_free_cas(gnutls_certificate_credentials_t sc); >void gnutls_certificate_free_ca_names(gnutls_certificate_credentials_t sc); >void gnutls_certificate_free_crls(gnutls_certificate_credentials_t sc); > >void gnutls_certificate_set_dh_params(gnutls_certificate_credentials_t res, > gnutls_dh_params_t dh_params); >void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials_t > res, unsigned int flags); >void gnutls_certificate_set_verify_limits(gnutls_certificate_credentials_t > res, unsigned int max_bits, > unsigned int max_depth); > >int >gnutls_certificate_set_x509_system_trust(gnutls_certificate_credentials_t > cred); > >int >gnutls_certificate_set_x509_trust_file(gnutls_certificate_credentials_t > cred, const char *cafile, > gnutls_x509_crt_fmt_t type); >int gnutls_certificate_set_x509_trust_mem(gnutls_certificate_credentials_t > res, const gnutls_datum_t * ca, > gnutls_x509_crt_fmt_t type); > >int >gnutls_certificate_set_x509_crl_file(gnutls_certificate_credentials_t > res, const char *crlfile, > gnutls_x509_crt_fmt_t type); >int gnutls_certificate_set_x509_crl_mem(gnutls_certificate_credentials_t > res, const gnutls_datum_t * CRL, > gnutls_x509_crt_fmt_t type); > >int >gnutls_certificate_set_x509_key_file(gnutls_certificate_credentials_t > res, const char *certfile, > const char *keyfile, > gnutls_x509_crt_fmt_t type); > >int >gnutls_certificate_set_x509_key_file2(gnutls_certificate_credentials_t > res, const char *certfile, > const char *keyfile, > gnutls_x509_crt_fmt_t type, > const char *pass, > unsigned int flags); > >int gnutls_certificate_set_x509_key_mem(gnutls_certificate_credentials_t > res, const gnutls_datum_t * cert, > const gnutls_datum_t * key, > gnutls_x509_crt_fmt_t type); > >int gnutls_certificate_set_x509_key_mem2(gnutls_certificate_credentials_t > res, const gnutls_datum_t * cert, > const gnutls_datum_t * key, > gnutls_x509_crt_fmt_t type, > const char *pass, > unsigned int flags); > >void gnutls_certificate_send_x509_rdn_sequence(gnutls_session_t session, > int status); > >int >gnutls_certificate_set_x509_simple_pkcs12_file >(gnutls_certificate_credentials_t res, const char *pkcs12file, > gnutls_x509_crt_fmt_t type, const char *password); >int >gnutls_certificate_set_x509_simple_pkcs12_mem >(gnutls_certificate_credentials_t res, const gnutls_datum_t * p12blob, > gnutls_x509_crt_fmt_t type, const char *password); > > > > >int gnutls_certificate_set_x509_key(gnutls_certificate_credentials_t res, > gnutls_x509_crt_t * cert_list, > int cert_list_size, > gnutls_x509_privkey_t key); >int gnutls_certificate_set_x509_trust(gnutls_certificate_credentials_t res, > gnutls_x509_crt_t * ca_list, > int ca_list_size); >int gnutls_certificate_set_x509_crl(gnutls_certificate_credentials_t res, > gnutls_x509_crl_t * crl_list, > int crl_list_size); > > >typedef int (*gnutls_status_request_ocsp_func) > (gnutls_session_t session, void *ptr, gnutls_datum_t * ocsp_response); > >void >gnutls_certificate_set_ocsp_status_request_function >(gnutls_certificate_credentials_t res, >gnutls_status_request_ocsp_func ocsp_func, void *ptr); > >int >gnutls_certificate_set_ocsp_status_request_file >(gnutls_certificate_credentials_t res, const char *response_file, > unsigned int flags); > >int gnutls_ocsp_status_request_enable_client(gnutls_session_t session, > gnutls_datum_t * responder_id, > size_t responder_id_size, > gnutls_datum_t * > request_extensions); > >int gnutls_ocsp_status_request_get(gnutls_session_t session, > gnutls_datum_t * response); > >int gnutls_ocsp_status_request_is_checked(gnutls_session_t session, > unsigned int flags); > > > >int gnutls_global_init(void); >void gnutls_global_deinit(void); ># 1446 "./includes/gnutls/gnutls.h" >typedef time_t(*gnutls_time_func) (time_t * t); > >typedef int (*mutex_init_func) (void **mutex); >typedef int (*mutex_lock_func) (void **mutex); >typedef int (*mutex_unlock_func) (void **mutex); >typedef int (*mutex_deinit_func) (void **mutex); > >void gnutls_global_set_mutex(mutex_init_func init, > mutex_deinit_func deinit, > mutex_lock_func lock, > mutex_unlock_func unlock); > >typedef void *(*gnutls_alloc_function) (size_t); >typedef void *(*gnutls_calloc_function) (size_t, size_t); >typedef int (*gnutls_is_secure_function) (const void *); >typedef void (*gnutls_free_function) (void *); >typedef void *(*gnutls_realloc_function) (void *, size_t); > >void gnutls_global_set_time_function(gnutls_time_func time_func); > > >extern gnutls_alloc_function gnutls_malloc; >extern gnutls_realloc_function gnutls_realloc; >extern gnutls_calloc_function gnutls_calloc; >extern gnutls_free_function gnutls_free; > >extern char *(*gnutls_strdup) (const char *); > >typedef void (*gnutls_log_func) (int, const char *); >typedef void (*gnutls_audit_log_func) (gnutls_session_t, const char *); >void gnutls_global_set_log_function(gnutls_log_func log_func); >void gnutls_global_set_audit_log_function(gnutls_audit_log_func log_func); >void gnutls_global_set_log_level(int level); > > > >int gnutls_dh_params_init(gnutls_dh_params_t * dh_params); >void gnutls_dh_params_deinit(gnutls_dh_params_t dh_params); >int gnutls_dh_params_import_raw(gnutls_dh_params_t dh_params, > const gnutls_datum_t * prime, > const gnutls_datum_t * generator); >int gnutls_dh_params_import_pkcs3(gnutls_dh_params_t params, > const gnutls_datum_t * pkcs3_params, > gnutls_x509_crt_fmt_t format); >int gnutls_dh_params_generate2(gnutls_dh_params_t params, > unsigned int bits); >int gnutls_dh_params_export_pkcs3(gnutls_dh_params_t params, > gnutls_x509_crt_fmt_t format, > unsigned char *params_data, > size_t * params_data_size); >int gnutls_dh_params_export2_pkcs3(gnutls_dh_params_t params, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); >int gnutls_dh_params_export_raw(gnutls_dh_params_t params, > gnutls_datum_t * prime, > gnutls_datum_t * generator, > unsigned int *bits); >int gnutls_dh_params_cpy(gnutls_dh_params_t dst, gnutls_dh_params_t src); > > > > > >typedef struct { > void *iov_base; > size_t iov_len; >} giovec_t; > >typedef ssize_t(*gnutls_pull_func) (gnutls_transport_ptr_t, void *, > size_t); >typedef ssize_t(*gnutls_push_func) (gnutls_transport_ptr_t, const void *, > size_t); > >typedef int (*gnutls_pull_timeout_func) (gnutls_transport_ptr_t, > unsigned int ms); > >typedef ssize_t(*gnutls_vec_push_func) (gnutls_transport_ptr_t, > const giovec_t * iov, int iovcnt); > >typedef int (*gnutls_errno_func) (gnutls_transport_ptr_t); > > > > > > >void gnutls_transport_set_int2(gnutls_session_t session, int r, int s); > > >void gnutls_transport_get_int2(gnutls_session_t session, int *r, int *s); >int gnutls_transport_get_int(gnutls_session_t session); > >void gnutls_transport_set_ptr(gnutls_session_t session, > gnutls_transport_ptr_t ptr); >void gnutls_transport_set_ptr2(gnutls_session_t session, > gnutls_transport_ptr_t recv_ptr, > gnutls_transport_ptr_t send_ptr); > >gnutls_transport_ptr_t gnutls_transport_get_ptr(gnutls_session_t session); >void gnutls_transport_get_ptr2(gnutls_session_t session, > gnutls_transport_ptr_t * recv_ptr, > gnutls_transport_ptr_t * send_ptr); > >void gnutls_transport_set_vec_push_function(gnutls_session_t session, > gnutls_vec_push_func vec_func); >void gnutls_transport_set_push_function(gnutls_session_t session, > gnutls_push_func push_func); >void gnutls_transport_set_pull_function(gnutls_session_t session, > gnutls_pull_func pull_func); > >void gnutls_transport_set_pull_timeout_function(gnutls_session_t session, > gnutls_pull_timeout_func > func); > >void gnutls_transport_set_errno_function(gnutls_session_t session, > gnutls_errno_func errno_func); > >void gnutls_transport_set_errno(gnutls_session_t session, int err); > > > >void gnutls_session_set_ptr(gnutls_session_t session, void *ptr); >void *gnutls_session_get_ptr(gnutls_session_t session); > >void gnutls_openpgp_send_cert(gnutls_session_t session, > gnutls_openpgp_crt_status_t status); > > > >int gnutls_fingerprint(gnutls_digest_algorithm_t algo, > const gnutls_datum_t * data, void *result, > size_t * result_size); > > > > > > > >typedef enum gnutls_random_art { > GNUTLS_RANDOM_ART_OPENSSH = 1, >} gnutls_random_art_t; > >int gnutls_random_art(gnutls_random_art_t type, > const char *key_type, unsigned int key_size, > void *fpr, size_t fpr_size, gnutls_datum_t * art); > > > > >typedef struct gnutls_srp_server_credentials_st >*gnutls_srp_server_credentials_t; >typedef struct gnutls_srp_client_credentials_st >*gnutls_srp_client_credentials_t; > >void >gnutls_srp_free_client_credentials(gnutls_srp_client_credentials_t sc); >int >gnutls_srp_allocate_client_credentials(gnutls_srp_client_credentials_t * > sc); >int gnutls_srp_set_client_credentials(gnutls_srp_client_credentials_t res, > const char *username, > const char *password); > >void >gnutls_srp_free_server_credentials(gnutls_srp_server_credentials_t sc); >int >gnutls_srp_allocate_server_credentials(gnutls_srp_server_credentials_t * > sc); >int gnutls_srp_set_server_credentials_file(gnutls_srp_server_credentials_t > res, const char *password_file, > const char *password_conf_file); > >const char *gnutls_srp_server_get_username(gnutls_session_t session); > >void gnutls_srp_set_prime_bits(gnutls_session_t session, > unsigned int bits); > >int gnutls_srp_verifier(const char *username, > const char *password, > const gnutls_datum_t * salt, > const gnutls_datum_t * generator, > const gnutls_datum_t * prime, > gnutls_datum_t * res); > > > > >extern const gnutls_datum_t gnutls_srp_4096_group_prime; >extern const gnutls_datum_t gnutls_srp_4096_group_generator; > >extern const gnutls_datum_t gnutls_srp_3072_group_prime; >extern const gnutls_datum_t gnutls_srp_3072_group_generator; > >extern const gnutls_datum_t gnutls_srp_2048_group_prime; >extern const gnutls_datum_t gnutls_srp_2048_group_generator; > >extern const gnutls_datum_t gnutls_srp_1536_group_prime; >extern const gnutls_datum_t gnutls_srp_1536_group_generator; > >extern const gnutls_datum_t gnutls_srp_1024_group_prime; >extern const gnutls_datum_t gnutls_srp_1024_group_generator; > >typedef int gnutls_srp_server_credentials_function(gnutls_session_t, > const char *username, > gnutls_datum_t * salt, > gnutls_datum_t * > verifier, > gnutls_datum_t * > generator, > gnutls_datum_t * prime); >void >gnutls_srp_set_server_credentials_function(gnutls_srp_server_credentials_t > cred, > gnutls_srp_server_credentials_function > * func); > >typedef int gnutls_srp_client_credentials_function(gnutls_session_t, > char **, char **); >void >gnutls_srp_set_client_credentials_function(gnutls_srp_client_credentials_t > cred, > gnutls_srp_client_credentials_function > * func); > >int gnutls_srp_base64_encode(const gnutls_datum_t * data, char *result, > size_t * result_size); >int gnutls_srp_base64_encode_alloc(const gnutls_datum_t * data, > gnutls_datum_t * result); > >int gnutls_srp_base64_decode(const gnutls_datum_t * b64_data, char *result, > size_t * result_size); >int gnutls_srp_base64_decode_alloc(const gnutls_datum_t * b64_data, > gnutls_datum_t * result); > >void >gnutls_srp_set_server_fake_salt_seed(gnutls_srp_server_credentials_t > sc, > const gnutls_datum_t * seed, > unsigned int salt_length); > > >typedef struct gnutls_psk_server_credentials_st >*gnutls_psk_server_credentials_t; >typedef struct gnutls_psk_client_credentials_st >*gnutls_psk_client_credentials_t; ># 1700 "./includes/gnutls/gnutls.h" >typedef enum gnutls_psk_key_flags { > GNUTLS_PSK_KEY_RAW = 0, > GNUTLS_PSK_KEY_HEX >} gnutls_psk_key_flags; > >void >gnutls_psk_free_client_credentials(gnutls_psk_client_credentials_t sc); >int >gnutls_psk_allocate_client_credentials(gnutls_psk_client_credentials_t * > sc); >int gnutls_psk_set_client_credentials(gnutls_psk_client_credentials_t res, > const char *username, > const gnutls_datum_t * key, > gnutls_psk_key_flags flags); > >void >gnutls_psk_free_server_credentials(gnutls_psk_server_credentials_t sc); >int >gnutls_psk_allocate_server_credentials(gnutls_psk_server_credentials_t * > sc); >int gnutls_psk_set_server_credentials_file(gnutls_psk_server_credentials_t > res, const char *password_file); > >int >gnutls_psk_set_server_credentials_hint(gnutls_psk_server_credentials_t > res, const char *hint); > >const char *gnutls_psk_server_get_username(gnutls_session_t session); >const char *gnutls_psk_client_get_hint(gnutls_session_t session); > >typedef int gnutls_psk_server_credentials_function(gnutls_session_t, > const char *username, > gnutls_datum_t * key); >void >gnutls_psk_set_server_credentials_function(gnutls_psk_server_credentials_t > cred, > gnutls_psk_server_credentials_function > * func); > >typedef int gnutls_psk_client_credentials_function(gnutls_session_t, > char **username, > gnutls_datum_t * key); >void >gnutls_psk_set_client_credentials_function(gnutls_psk_client_credentials_t > cred, > gnutls_psk_client_credentials_function > * func); > >int gnutls_hex_encode(const gnutls_datum_t * data, char *result, > size_t * result_size); >int gnutls_hex_decode(const gnutls_datum_t * hex_data, void *result, > size_t * result_size); > >void >gnutls_psk_set_server_dh_params(gnutls_psk_server_credentials_t res, > gnutls_dh_params_t dh_params); > >void >gnutls_psk_set_server_params_function(gnutls_psk_server_credentials_t > res, gnutls_params_function * func); ># 1774 "./includes/gnutls/gnutls.h" >typedef enum gnutls_x509_subject_alt_name_t { > GNUTLS_SAN_DNSNAME = 1, > GNUTLS_SAN_RFC822NAME = 2, > GNUTLS_SAN_URI = 3, > GNUTLS_SAN_IPADDRESS = 4, > GNUTLS_SAN_OTHERNAME = 5, > GNUTLS_SAN_DN = 6, > > > > GNUTLS_SAN_OTHERNAME_XMPP = 1000 >} gnutls_x509_subject_alt_name_t; > >struct gnutls_openpgp_crt_int; >typedef struct gnutls_openpgp_crt_int *gnutls_openpgp_crt_t; > >struct gnutls_openpgp_privkey_int; >typedef struct gnutls_openpgp_privkey_int *gnutls_openpgp_privkey_t; > >struct gnutls_pkcs11_privkey_st; >typedef struct gnutls_pkcs11_privkey_st *gnutls_pkcs11_privkey_t; ># 1805 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_PRIVKEY_X509, > GNUTLS_PRIVKEY_OPENPGP, > GNUTLS_PRIVKEY_PKCS11, > GNUTLS_PRIVKEY_EXT >} gnutls_privkey_type_t; > >typedef struct gnutls_retr2_st { > gnutls_certificate_type_t cert_type; > gnutls_privkey_type_t key_type; > > union { > gnutls_x509_crt_t *x509; > gnutls_openpgp_crt_t pgp; > } cert; > unsigned int ncerts; > > union { > gnutls_x509_privkey_t x509; > gnutls_openpgp_privkey_t pgp; > gnutls_pkcs11_privkey_t pkcs11; > } key; > > unsigned int deinit_all; >} gnutls_retr2_st; > > > > > >gnutls_credentials_type_t gnutls_auth_get_type(gnutls_session_t session); >gnutls_credentials_type_t >gnutls_auth_server_get_type(gnutls_session_t session); >gnutls_credentials_type_t >gnutls_auth_client_get_type(gnutls_session_t session); > > > >void gnutls_dh_set_prime_bits(gnutls_session_t session, unsigned int bits); >int gnutls_dh_get_secret_bits(gnutls_session_t session); >int gnutls_dh_get_peers_public_bits(gnutls_session_t session); >int gnutls_dh_get_prime_bits(gnutls_session_t session); > >int gnutls_dh_get_group(gnutls_session_t session, gnutls_datum_t * raw_gen, > gnutls_datum_t * raw_prime); >int gnutls_dh_get_pubkey(gnutls_session_t session, > gnutls_datum_t * raw_key); ># 1863 "./includes/gnutls/gnutls.h" >typedef int gnutls_certificate_retrieve_function(gnutls_session_t, > const > gnutls_datum_t * > req_ca_rdn, > int nreqs, > const > gnutls_pk_algorithm_t > * pk_algos, > int > pk_algos_length, > gnutls_retr2_st *); > > >void >gnutls_certificate_set_retrieve_function(gnutls_certificate_credentials_t > cred, > gnutls_certificate_retrieve_function > * func); > >typedef int gnutls_certificate_verify_function(gnutls_session_t); >void >gnutls_certificate_set_verify_function(gnutls_certificate_credentials_t > cred, > gnutls_certificate_verify_function > * func); > >void >gnutls_certificate_server_set_request(gnutls_session_t session, > gnutls_certificate_request_t req); > > > >const gnutls_datum_t *gnutls_certificate_get_peers(gnutls_session_t > session, unsigned int > *list_size); >const gnutls_datum_t *gnutls_certificate_get_ours(gnutls_session_t > session); > >int gnutls_certificate_get_peers_subkey_id(gnutls_session_t session, > gnutls_datum_t * id); > >time_t gnutls_certificate_activation_time_peers(gnutls_session_t session); >time_t gnutls_certificate_expiration_time_peers(gnutls_session_t session); > >int gnutls_certificate_client_get_request_status(gnutls_session_t session); >int gnutls_certificate_verify_peers2(gnutls_session_t session, > unsigned int *status); >int gnutls_certificate_verify_peers3(gnutls_session_t session, > const char *hostname, > unsigned int *status); ># 1922 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_DT_UNKNOWN = 0, > GNUTLS_DT_DNS_HOSTNAME = 1, > GNUTLS_DT_KEY_PURPOSE_OID = 2, >} gnutls_vdata_types_t; > >typedef struct { > gnutls_vdata_types_t type; > unsigned char *data; > unsigned int size; >} gnutls_typed_vdata_st; > >int >gnutls_certificate_verify_peers(gnutls_session_t session, > gnutls_typed_vdata_st * data, > unsigned int elements, > unsigned int *status); > >int gnutls_certificate_verification_status_print(unsigned int status, > gnutls_certificate_type_t > type, > gnutls_datum_t * out, > unsigned int flags); > >int gnutls_pem_base64_encode(const char *msg, const gnutls_datum_t * data, > char *result, size_t * result_size); >int gnutls_pem_base64_decode(const char *header, > const gnutls_datum_t * b64_data, > unsigned char *result, size_t * result_size); > >int gnutls_pem_base64_encode_alloc(const char *msg, > const gnutls_datum_t * data, > gnutls_datum_t * result); >int gnutls_pem_base64_decode_alloc(const char *header, > const gnutls_datum_t * b64_data, > gnutls_datum_t * result); ># 1974 "./includes/gnutls/gnutls.h" >void >gnutls_certificate_set_params_function(gnutls_certificate_credentials_t > res, gnutls_params_function * func); >void gnutls_anon_set_params_function(gnutls_anon_server_credentials_t res, > gnutls_params_function * func); >void gnutls_psk_set_params_function(gnutls_psk_server_credentials_t res, > gnutls_params_function * func); > >int gnutls_hex2bin(const char *hex_data, size_t hex_size, > void *bin_data, size_t * bin_size); > > > > > >typedef int (*gnutls_tdb_store_func) (const char *db_name, > const char *host, > const char *service, > time_t expiration, > const gnutls_datum_t * pubkey); > >typedef int (*gnutls_tdb_store_commitment_func) (const char *db_name, > const char *host, > const char *service, > time_t expiration, > gnutls_digest_algorithm_t > hash_algo, > const gnutls_datum_t * > hash); > > > >typedef int (*gnutls_tdb_verify_func) (const char *db_name, > const char *host, > const char *service, > const gnutls_datum_t * pubkey); > > >struct gnutls_tdb_int; >typedef struct gnutls_tdb_int *gnutls_tdb_t; > >int gnutls_tdb_init(gnutls_tdb_t * tdb); >void gnutls_tdb_set_store_func(gnutls_tdb_t tdb, > gnutls_tdb_store_func store); >void gnutls_tdb_set_store_commitment_func(gnutls_tdb_t tdb, > gnutls_tdb_store_commitment_func > cstore); >void gnutls_tdb_set_verify_func(gnutls_tdb_t tdb, > gnutls_tdb_verify_func verify); >void gnutls_tdb_deinit(gnutls_tdb_t tdb); > >int gnutls_verify_stored_pubkey(const char *db_name, > gnutls_tdb_t tdb, > const char *host, > const char *service, > gnutls_certificate_type_t cert_type, > const gnutls_datum_t * cert, > unsigned int flags); > >int gnutls_store_commitment(const char *db_name, > gnutls_tdb_t tdb, > const char *host, > const char *service, > gnutls_digest_algorithm_t hash_algo, > const gnutls_datum_t * hash, > time_t expiration, unsigned int flags); > >int gnutls_store_pubkey(const char *db_name, > gnutls_tdb_t tdb, > const char *host, > const char *service, > gnutls_certificate_type_t cert_type, > const gnutls_datum_t * cert, > time_t expiration, unsigned int flags); > > >int gnutls_load_file(const char *filename, gnutls_datum_t * data); > >int gnutls_url_is_supported(const char *url); ># 2067 "./includes/gnutls/gnutls.h" >typedef enum { > GNUTLS_PIN_USER = (1 << 0), > GNUTLS_PIN_SO = (1 << 1), > GNUTLS_PIN_FINAL_TRY = (1 << 2), > GNUTLS_PIN_COUNT_LOW = (1 << 3), > GNUTLS_PIN_CONTEXT_SPECIFIC = (1 << 4), > GNUTLS_PIN_WRONG = (1 << 5), >} gnutls_pin_flag_t; ># 2116 "./includes/gnutls/gnutls.h" >typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt, > const char *token_url, > const char *token_label, > unsigned int flags, > char *pin, size_t pin_max); > >void gnutls_certificate_set_pin_function(gnutls_certificate_credentials_t, > gnutls_pin_callback_t fn, > void *userdata); > > >int gnutls_fips140_mode_enabled(void); ># 2338 "./includes/gnutls/gnutls.h" ># 1 "./includes/gnutls/compat.h" 1 ># 51 "./includes/gnutls/compat.h" >typedef unsigned int gnutls_connection_end_t ; > > >typedef gnutls_cipher_algorithm_t gnutls_cipher_algorithm > ; >typedef gnutls_kx_algorithm_t gnutls_kx_algorithm > ; >typedef gnutls_mac_algorithm_t gnutls_mac_algorithm > ; >typedef gnutls_digest_algorithm_t gnutls_digest_algorithm > ; >typedef gnutls_compression_method_t gnutls_compression_method > ; >typedef gnutls_connection_end_t gnutls_connection_end > ; >typedef gnutls_x509_crt_fmt_t gnutls_x509_crt_fmt > ; >typedef gnutls_pk_algorithm_t gnutls_pk_algorithm > ; >typedef gnutls_sign_algorithm_t gnutls_sign_algorithm > ; >typedef gnutls_close_request_t gnutls_close_request > ; >typedef gnutls_certificate_request_t gnutls_certificate_request > ; >typedef gnutls_certificate_status_t gnutls_certificate_status > ; >typedef gnutls_session_t gnutls_session ; >typedef gnutls_alert_level_t gnutls_alert_level > ; >typedef gnutls_alert_description_t gnutls_alert_description > ; >typedef gnutls_x509_subject_alt_name_t gnutls_x509_subject_alt_name > ; >typedef gnutls_openpgp_privkey_t gnutls_openpgp_privkey > ; >typedef gnutls_openpgp_keyring_t gnutls_openpgp_keyring > ; >typedef gnutls_x509_crt_t gnutls_x509_crt ; >typedef gnutls_x509_privkey_t gnutls_x509_privkey > ; >typedef gnutls_x509_crl_t gnutls_x509_crl ; >typedef gnutls_x509_crq_t gnutls_x509_crq ; >typedef gnutls_certificate_credentials_t > gnutls_certificate_credentials ; >typedef gnutls_anon_server_credentials_t > gnutls_anon_server_credentials ; >typedef gnutls_anon_client_credentials_t > gnutls_anon_client_credentials ; >typedef gnutls_srp_client_credentials_t > gnutls_srp_client_credentials ; >typedef gnutls_srp_server_credentials_t > gnutls_srp_server_credentials ; >typedef gnutls_dh_params_t gnutls_dh_params ; >typedef gnutls_rsa_params_t gnutls_rsa_params ; >typedef gnutls_params_type_t gnutls_params_type > ; >typedef gnutls_credentials_type_t gnutls_credentials_type > ; >typedef gnutls_certificate_type_t gnutls_certificate_type > ; >typedef gnutls_datum_t gnutls_datum ; >typedef gnutls_transport_ptr_t gnutls_transport_ptr > ; ># 128 "./includes/gnutls/compat.h" >typedef gnutls_openpgp_crt_status_t gnutls_openpgp_key_status_t > ; >typedef gnutls_openpgp_crt_t gnutls_openpgp_key_t > ; ># 166 "./includes/gnutls/compat.h" >typedef struct gnutls_retr_st { > gnutls_certificate_type_t type; > union { > gnutls_x509_crt_t *x509; > gnutls_openpgp_crt_t pgp; > } cert; > unsigned int ncerts; > > union { > gnutls_x509_privkey_t x509; > gnutls_openpgp_privkey_t pgp; > } key; > > unsigned int deinit_all; >} gnutls_retr_st; > >typedef int >gnutls_certificate_client_retrieve_function(gnutls_session_t, > const > gnutls_datum_t * > req_ca_rdn, > int nreqs, const > gnutls_pk_algorithm_t > * pk_algos, int > pk_algos_length, > gnutls_retr_st *); >typedef int >gnutls_certificate_server_retrieve_function(gnutls_session_t, > gnutls_retr_st *); > >void gnutls_certificate_client_set_retrieve_function > (gnutls_certificate_credentials_t cred, > gnutls_certificate_client_retrieve_function * > func) ; >void > gnutls_certificate_server_set_retrieve_function > (gnutls_certificate_credentials_t cred, > gnutls_certificate_server_retrieve_function * > func) ; > > > >typedef int (*gnutls_sign_func) (gnutls_session_t session, > void *userdata, > gnutls_certificate_type_t > cert_type, > const gnutls_datum_t * cert, > const gnutls_datum_t * hash, > gnutls_datum_t * signature); > >void >gnutls_sign_callback_set(gnutls_session_t session, > gnutls_sign_func sign_func, > void *userdata) ; >gnutls_sign_func >gnutls_sign_callback_get(gnutls_session_t session, > void **userdata) ; > > > > >int gnutls_x509_privkey_sign_hash(gnutls_x509_privkey_t key, > const gnutls_datum_t * hash, > gnutls_datum_t * signature) > ; > >int gnutls_openpgp_privkey_sign_hash(gnutls_openpgp_privkey_t key, > const gnutls_datum_t * hash, > gnutls_datum_t * signature) > ; > > > >int gnutls_x509_privkey_sign_data(gnutls_x509_privkey_t key, > gnutls_digest_algorithm_t digest, > unsigned int flags, > const gnutls_datum_t * data, > void *signature, > size_t * signature_size) > ; > > >int gnutls_x509_crt_verify_data(gnutls_x509_crt_t crt, > unsigned int flags, > const gnutls_datum_t * data, > const gnutls_datum_t * signature) > ; > > > >int gnutls_x509_crt_verify_hash(gnutls_x509_crt_t crt, > unsigned int flags, > const gnutls_datum_t * hash, > const gnutls_datum_t * signature) > ; > > >int gnutls_x509_crt_get_verify_algorithm(gnutls_x509_crt_t crt, > const gnutls_datum_t * > signature, > gnutls_digest_algorithm_t > * hash) > ; > > >int gnutls_x509_crt_get_preferred_hash_algorithm(gnutls_x509_crt_t > crt, > gnutls_digest_algorithm_t > * hash, unsigned int > *mand) > ; > > >int gnutls_x509_crq_sign(gnutls_x509_crq_t crq, > gnutls_x509_privkey_t key) > ; > > > > >int gnutls_x509_crl_sign(gnutls_x509_crl_t crl, > gnutls_x509_crt_t issuer, > gnutls_x509_privkey_t issuer_key) > ; > > > >int gnutls_cipher_set_priority(gnutls_session_t session, > const int *list) > ; >int gnutls_mac_set_priority(gnutls_session_t session, > const int *list) ; >int gnutls_compression_set_priority(gnutls_session_t session, > const int *list) > ; >int gnutls_kx_set_priority(gnutls_session_t session, > const int *list) ; >int gnutls_protocol_set_priority(gnutls_session_t session, > const int *list) > ; >int gnutls_certificate_type_set_priority(gnutls_session_t session, > const int *list) > ; > > > >int gnutls_rsa_params_init(gnutls_rsa_params_t * > rsa_params) ; >void gnutls_rsa_params_deinit(gnutls_rsa_params_t rsa_params) > ; >int gnutls_rsa_params_cpy(gnutls_rsa_params_t dst, > gnutls_rsa_params_t src) > ; >int gnutls_rsa_params_import_raw(gnutls_rsa_params_t rsa_params, > const gnutls_datum_t * m, > const gnutls_datum_t * e, > const gnutls_datum_t * d, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * u); >int gnutls_rsa_params_generate2(gnutls_rsa_params_t params, > unsigned int bits) > ; >int gnutls_rsa_params_export_raw(gnutls_rsa_params_t rsa, > gnutls_datum_t * m, > gnutls_datum_t * e, > gnutls_datum_t * d, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * u, > unsigned int *bits) > ; >int gnutls_rsa_params_export_pkcs1(gnutls_rsa_params_t params, > gnutls_x509_crt_fmt_t format, > unsigned char *params_data, > size_t * > params_data_size) > ; >int gnutls_rsa_params_import_pkcs1(gnutls_rsa_params_t params, > const gnutls_datum_t * > pkcs1_params, > gnutls_x509_crt_fmt_t format) > ; > >int gnutls_rsa_export_get_pubkey(gnutls_session_t session, > gnutls_datum_t * exponent, > gnutls_datum_t * > modulus) ; >int gnutls_rsa_export_get_modulus_bits(gnutls_session_t session) > ; >int gnutls_set_default_export_priority(gnutls_session_t session) > ; > >void gnutls_certificate_set_rsa_export_params > (gnutls_certificate_credentials_t res, > gnutls_rsa_params_t rsa_params) ; > > >int gnutls_privkey_sign_raw_data(gnutls_privkey_t key, > unsigned flags, > const gnutls_datum_t * data, > gnutls_datum_t * > signature) ; > > > > > >static inline const void >*gnutls_session_get_server_random(gnutls_session_t session) > ; >static inline const void >*gnutls_session_get_server_random(gnutls_session_t session) >{ > gnutls_datum_t rnd; > gnutls_session_get_random(session, ((void *)0), &rnd); > return rnd.data; >} > >static inline const void >*gnutls_session_get_client_random(gnutls_session_t session) > ; >static inline const void >*gnutls_session_get_client_random(gnutls_session_t session) >{ > gnutls_datum_t rnd; > gnutls_session_get_random(session, &rnd, ((void *)0)); > return rnd.data; >} > > >void >gnutls_global_set_mem_functions(gnutls_alloc_function alloc_func, > gnutls_alloc_function secure_alloc_func, > gnutls_is_secure_function is_secure_func, > gnutls_realloc_function realloc_func, > gnutls_free_function free_func) ; ># 2339 "./includes/gnutls/gnutls.h" 2 ># 95 "./gnutls_int.h" 2 ># 1 "./includes/gnutls/dtls.h" 1 ># 40 "./includes/gnutls/dtls.h" >void gnutls_dtls_set_timeouts(gnutls_session_t session, > unsigned int retrans_timeout, > unsigned int total_timeout); > >unsigned int gnutls_dtls_get_mtu(gnutls_session_t session); >unsigned int gnutls_dtls_get_data_mtu(gnutls_session_t session); > >void gnutls_dtls_set_mtu(gnutls_session_t session, unsigned int mtu); >int gnutls_dtls_set_data_mtu(gnutls_session_t session, unsigned int mtu); > >unsigned int gnutls_dtls_get_timeout(gnutls_session_t session); ># 63 "./includes/gnutls/dtls.h" >typedef struct { > unsigned int record_seq; > unsigned int hsk_read_seq; > unsigned int hsk_write_seq; >} gnutls_dtls_prestate_st; > >int gnutls_dtls_cookie_send(gnutls_datum_t * key, > void *client_data, > size_t client_data_size, > gnutls_dtls_prestate_st * prestate, > gnutls_transport_ptr_t ptr, > gnutls_push_func push_func); > >int gnutls_dtls_cookie_verify(gnutls_datum_t * key, > void *client_data, > size_t client_data_size, void *_msg, > size_t msg_size, > gnutls_dtls_prestate_st * prestate); > >void gnutls_dtls_prestate_set(gnutls_session_t session, > gnutls_dtls_prestate_st * prestate); > >unsigned int gnutls_record_get_discarded(gnutls_session_t session); ># 96 "./gnutls_int.h" 2 ># 1 "./includes/gnutls/abstract.h" 1 ># 27 "./includes/gnutls/abstract.h" ># 1 "./includes/gnutls/x509.h" 1 ># 118 "./includes/gnutls/x509.h" >typedef enum gnutls_certificate_import_flags { > GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED = 1, > GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED = 2 >} gnutls_certificate_import_flags; > >int gnutls_x509_crt_init(gnutls_x509_crt_t * cert); >void gnutls_x509_crt_deinit(gnutls_x509_crt_t cert); >int gnutls_x509_crt_import(gnutls_x509_crt_t cert, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); >int gnutls_x509_crt_list_import2(gnutls_x509_crt_t ** certs, > unsigned int *size, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); >int gnutls_x509_crt_list_import(gnutls_x509_crt_t * certs, > unsigned int *cert_max, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); >int gnutls_x509_crt_export(gnutls_x509_crt_t cert, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); >int gnutls_x509_crt_export2(gnutls_x509_crt_t cert, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); >int gnutls_x509_crt_get_private_key_usage_period(gnutls_x509_crt_t > cert, > time_t * > activation, > time_t * > expiration, unsigned int > *critical); > >int gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt_t cert, > char *buf, size_t * buf_size); >int gnutls_x509_crt_get_issuer_dn2(gnutls_x509_crt_t cert, > gnutls_datum_t * dn); >int gnutls_x509_crt_get_issuer_dn_oid(gnutls_x509_crt_t cert, > int indx, void *oid, > size_t * oid_size); >int gnutls_x509_crt_get_issuer_dn_by_oid(gnutls_x509_crt_t cert, > const char *oid, int indx, > unsigned int raw_flag, > void *buf, size_t * buf_size); >int gnutls_x509_crt_get_dn(gnutls_x509_crt_t cert, char *buf, > size_t * buf_size); >int gnutls_x509_crt_get_dn2(gnutls_x509_crt_t cert, gnutls_datum_t * dn); >int gnutls_x509_crt_get_dn_oid(gnutls_x509_crt_t cert, int indx, > void *oid, size_t * oid_size); >int gnutls_x509_crt_get_dn_by_oid(gnutls_x509_crt_t cert, > const char *oid, int indx, > unsigned int raw_flag, void *buf, > size_t * buf_size); >int gnutls_x509_crt_check_hostname(gnutls_x509_crt_t cert, > const char *hostname); >int gnutls_x509_crt_check_hostname2(gnutls_x509_crt_t cert, > const char *hostname, unsigned int flags); > >int gnutls_x509_crt_get_signature_algorithm(gnutls_x509_crt_t cert); >int gnutls_x509_crt_get_signature(gnutls_x509_crt_t cert, > char *sig, size_t * sizeof_sig); >int gnutls_x509_crt_get_version(gnutls_x509_crt_t cert); >int gnutls_x509_crt_get_key_id(gnutls_x509_crt_t crt, > unsigned int flags, > unsigned char *output_data, > size_t * output_data_size); > >int gnutls_x509_crt_set_private_key_usage_period(gnutls_x509_crt_t > crt, > time_t activation, > time_t expiration); >int gnutls_x509_crt_set_authority_key_id(gnutls_x509_crt_t cert, > const void *id, size_t id_size); >int gnutls_x509_crt_get_authority_key_id(gnutls_x509_crt_t cert, > void *id, > size_t * id_size, > unsigned int *critical); >int gnutls_x509_crt_get_authority_key_gn_serial(gnutls_x509_crt_t > cert, > unsigned int seq, > void *alt, > size_t * alt_size, > unsigned int > *alt_type, > void *serial, > size_t * > serial_size, unsigned int > *critical); > >int gnutls_x509_crt_get_subject_key_id(gnutls_x509_crt_t cert, > void *ret, > size_t * ret_size, > unsigned int *critical); > >int gnutls_x509_crt_get_subject_unique_id(gnutls_x509_crt_t crt, > char *buf, size_t * buf_size); > >int gnutls_x509_crt_get_issuer_unique_id(gnutls_x509_crt_t crt, > char *buf, size_t * buf_size); > >void gnutls_x509_crt_set_pin_function(gnutls_x509_crt_t crt, > gnutls_pin_callback_t fn, > void *userdata); ># 234 "./includes/gnutls/x509.h" >typedef enum gnutls_info_access_what_t { > GNUTLS_IA_ACCESSMETHOD_OID = 1, > GNUTLS_IA_ACCESSLOCATION_GENERALNAME_TYPE = 2, > > GNUTLS_IA_URI = 106, > > GNUTLS_IA_UNKNOWN = 10000, > GNUTLS_IA_OCSP_URI = 10006, > GNUTLS_IA_CAISSUERS_URI = 10106 >} gnutls_info_access_what_t; > >int gnutls_x509_crt_get_authority_info_access(gnutls_x509_crt_t > crt, > unsigned int seq, > int what, > gnutls_datum_t * > data, unsigned int > *critical); > >typedef struct gnutls_name_constraints_st *gnutls_x509_name_constraints_t; > >unsigned gnutls_x509_name_constraints_check(gnutls_x509_name_constraints_t nc, > gnutls_x509_subject_alt_name_t type, > const gnutls_datum_t * name); >unsigned gnutls_x509_name_constraints_check_crt(gnutls_x509_name_constraints_t nc, > gnutls_x509_subject_alt_name_t type, > gnutls_x509_crt_t crt); > >int gnutls_x509_name_constraints_init(gnutls_x509_name_constraints_t *nc); >void gnutls_x509_name_constraints_deinit(gnutls_x509_name_constraints_t nc); > > >int gnutls_x509_crt_get_name_constraints(gnutls_x509_crt_t crt, > gnutls_x509_name_constraints_t nc, > unsigned int flags, > unsigned int *critical); >int gnutls_x509_name_constraints_add_permitted(gnutls_x509_name_constraints_t nc, > gnutls_x509_subject_alt_name_t type, > const gnutls_datum_t * name); >int gnutls_x509_name_constraints_add_excluded(gnutls_x509_name_constraints_t nc, > gnutls_x509_subject_alt_name_t type, > const gnutls_datum_t * name); >int gnutls_x509_crt_set_name_constraints(gnutls_x509_crt_t crt, > gnutls_x509_name_constraints_t nc, > unsigned int critical); >int gnutls_x509_name_constraints_get_permitted(gnutls_x509_name_constraints_t nc, > unsigned idx, > unsigned *type, gnutls_datum_t * name); >int gnutls_x509_name_constraints_get_excluded(gnutls_x509_name_constraints_t nc, > unsigned idx, > unsigned *type, gnutls_datum_t * name); ># 302 "./includes/gnutls/x509.h" >typedef enum gnutls_x509_crl_reason_flags_t { > GNUTLS_CRL_REASON_UNSPECIFIED = 0, > GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN = 1, > GNUTLS_CRL_REASON_CERTIFICATE_HOLD = 2, > GNUTLS_CRL_REASON_CESSATION_OF_OPERATION = 4, > GNUTLS_CRL_REASON_SUPERSEDED = 8, > GNUTLS_CRL_REASON_AFFILIATION_CHANGED = 16, > GNUTLS_CRL_REASON_CA_COMPROMISE = 32, > GNUTLS_CRL_REASON_KEY_COMPROMISE = 64, > GNUTLS_CRL_REASON_UNUSED = 128, > GNUTLS_CRL_REASON_AA_COMPROMISE = 32768 >} gnutls_x509_crl_reason_flags_t; > >int gnutls_x509_crt_get_crl_dist_points(gnutls_x509_crt_t cert, > unsigned int seq, > void *ret, > size_t * ret_size, > unsigned int *reason_flags, > unsigned int *critical); >int gnutls_x509_crt_set_crl_dist_points2(gnutls_x509_crt_t crt, > gnutls_x509_subject_alt_name_t > type, const void *data, > unsigned int data_size, > unsigned int reason_flags); >int gnutls_x509_crt_set_crl_dist_points(gnutls_x509_crt_t crt, > gnutls_x509_subject_alt_name_t > type, > const void *data_string, > unsigned int reason_flags); >int gnutls_x509_crt_cpy_crl_dist_points(gnutls_x509_crt_t dst, > gnutls_x509_crt_t src); > >int gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, > gnutls_x509_crt_t issuer, > gnutls_x509_privkey_t issuer_key, > gnutls_digest_algorithm_t dig, > unsigned int flags); > >time_t gnutls_x509_crt_get_activation_time(gnutls_x509_crt_t cert); > > > >time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt_t cert); >int gnutls_x509_crt_get_serial(gnutls_x509_crt_t cert, > void *result, size_t * result_size); > >int gnutls_x509_crt_get_pk_algorithm(gnutls_x509_crt_t cert, > unsigned int *bits); >int gnutls_x509_crt_get_pk_rsa_raw(gnutls_x509_crt_t crt, > gnutls_datum_t * m, gnutls_datum_t * e); >int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, gnutls_datum_t * y); > >int gnutls_x509_crt_get_subject_alt_name(gnutls_x509_crt_t cert, > unsigned int seq, > void *san, > size_t * san_size, > unsigned int *critical); >int gnutls_x509_crt_get_subject_alt_name2(gnutls_x509_crt_t cert, > unsigned int seq, > void *san, > size_t * san_size, > unsigned int *san_type, > unsigned int *critical); > >int gnutls_x509_crt_get_subject_alt_othername_oid(gnutls_x509_crt_t > cert, > unsigned int seq, > void *oid, > size_t * oid_size); > >int gnutls_x509_crt_get_issuer_alt_name(gnutls_x509_crt_t cert, > unsigned int seq, > void *ian, > size_t * ian_size, > unsigned int *critical); >int gnutls_x509_crt_get_issuer_alt_name2(gnutls_x509_crt_t cert, > unsigned int seq, > void *ian, > size_t * ian_size, > unsigned int *ian_type, > unsigned int *critical); > >int gnutls_x509_crt_get_issuer_alt_othername_oid(gnutls_x509_crt_t > cert, > unsigned int seq, > void *ret, > size_t * ret_size); > >int gnutls_x509_crt_get_ca_status(gnutls_x509_crt_t cert, > unsigned int *critical); >int gnutls_x509_crt_get_basic_constraints(gnutls_x509_crt_t cert, > unsigned int *critical, > unsigned int *ca, int *pathlen); > > > > >int gnutls_x509_crt_get_key_usage(gnutls_x509_crt_t cert, > unsigned int *key_usage, > unsigned int *critical); >int gnutls_x509_crt_set_key_usage(gnutls_x509_crt_t crt, > unsigned int usage); >int gnutls_x509_crt_set_authority_info_access(gnutls_x509_crt_t > crt, int what, > gnutls_datum_t * data); > >int gnutls_x509_crt_get_proxy(gnutls_x509_crt_t cert, > unsigned int *critical, > int *pathlen, > char **policyLanguage, > char **policy, size_t * sizeof_policy); ># 427 "./includes/gnutls/x509.h" >typedef enum gnutls_x509_qualifier_t { > GNUTLS_X509_QUALIFIER_UNKNOWN = 0, GNUTLS_X509_QUALIFIER_URI, > GNUTLS_X509_QUALIFIER_NOTICE >} gnutls_x509_qualifier_t; > >typedef struct gnutls_x509_policy_st { > char *oid; > unsigned int qualifiers; > struct { > gnutls_x509_qualifier_t type; > char *data; > unsigned int size; > } qualifier[8]; >} gnutls_x509_policy_st; > >void gnutls_x509_policy_release(struct gnutls_x509_policy_st > *policy); >int gnutls_x509_crt_get_policy(gnutls_x509_crt_t crt, int indx, struct gnutls_x509_policy_st > *policy, unsigned int *critical); >int gnutls_x509_crt_set_policy(gnutls_x509_crt_t crt, const struct gnutls_x509_policy_st > *policy, unsigned int critical); > >int gnutls_x509_dn_oid_known(const char *oid); > > >const char *gnutls_x509_dn_oid_name(const char *oid, unsigned int flags); > > >int gnutls_x509_crt_get_extension_oid(gnutls_x509_crt_t cert, > int indx, void *oid, > size_t * oid_size); >int gnutls_x509_crt_get_extension_by_oid(gnutls_x509_crt_t cert, > const char *oid, int indx, > void *buf, > size_t * buf_size, > unsigned int *critical); > > >int gnutls_x509_crt_get_extension_info(gnutls_x509_crt_t cert, > int indx, void *oid, > size_t * oid_size, > unsigned int *critical); >int gnutls_x509_crt_get_extension_data(gnutls_x509_crt_t cert, > int indx, void *data, > size_t * sizeof_data); >int >gnutls_x509_crt_get_extension_data2(gnutls_x509_crt_t cert, > unsigned indx, gnutls_datum_t * data); > > >int gnutls_x509_crt_set_extension_by_oid(gnutls_x509_crt_t crt, > const char *oid, > const void *buf, > size_t sizeof_buf, > unsigned int critical); > > > >int gnutls_x509_crt_set_dn(gnutls_x509_crt_t crt, const char *dn, > const char **err); > >int gnutls_x509_crt_set_dn_by_oid(gnutls_x509_crt_t crt, > const char *oid, > unsigned int raw_flag, > const void *name, > unsigned int sizeof_name); >int gnutls_x509_crt_set_issuer_dn_by_oid(gnutls_x509_crt_t crt, > const char *oid, > unsigned int raw_flag, > const void *name, > unsigned int sizeof_name); >int gnutls_x509_crt_set_issuer_dn(gnutls_x509_crt_t crt, > const char *dn, const char **err); > >int gnutls_x509_crt_set_version(gnutls_x509_crt_t crt, > unsigned int version); >int gnutls_x509_crt_set_key(gnutls_x509_crt_t crt, > gnutls_x509_privkey_t key); >int gnutls_x509_crt_set_ca_status(gnutls_x509_crt_t crt, unsigned int ca); >int gnutls_x509_crt_set_basic_constraints(gnutls_x509_crt_t crt, > unsigned int ca, > int pathLenConstraint); >int gnutls_x509_crt_set_subject_alternative_name(gnutls_x509_crt_t > crt, > gnutls_x509_subject_alt_name_t > type, const char > *data_string); >int gnutls_x509_crt_set_subject_alt_name(gnutls_x509_crt_t crt, > gnutls_x509_subject_alt_name_t > type, const void *data, > unsigned int data_size, > unsigned int flags); > >int gnutls_x509_crt_set_issuer_alt_name(gnutls_x509_crt_t crt, > gnutls_x509_subject_alt_name_t > type, const void *data, > unsigned int data_size, > unsigned int flags); > >int gnutls_x509_crt_sign(gnutls_x509_crt_t crt, > gnutls_x509_crt_t issuer, > gnutls_x509_privkey_t issuer_key); >int gnutls_x509_crt_sign2(gnutls_x509_crt_t crt, > gnutls_x509_crt_t issuer, > gnutls_x509_privkey_t issuer_key, > gnutls_digest_algorithm_t dig, > unsigned int flags); >int gnutls_x509_crt_set_activation_time(gnutls_x509_crt_t cert, > time_t act_time); >int gnutls_x509_crt_set_expiration_time(gnutls_x509_crt_t cert, > time_t exp_time); >int gnutls_x509_crt_set_serial(gnutls_x509_crt_t cert, > const void *serial, size_t serial_size); > >int gnutls_x509_crt_set_subject_key_id(gnutls_x509_crt_t cert, > const void *id, size_t id_size); > >int gnutls_x509_crt_set_proxy_dn(gnutls_x509_crt_t crt, > gnutls_x509_crt_t eecrt, > unsigned int raw_flag, > const void *name, > unsigned int sizeof_name); >int gnutls_x509_crt_set_proxy(gnutls_x509_crt_t crt, > int pathLenConstraint, > const char *policyLanguage, > const char *policy, size_t sizeof_policy); > >int gnutls_x509_crt_print(gnutls_x509_crt_t cert, > gnutls_certificate_print_formats_t > format, gnutls_datum_t * out); >int gnutls_x509_crl_print(gnutls_x509_crl_t crl, > gnutls_certificate_print_formats_t > format, gnutls_datum_t * out); > > > >int gnutls_x509_crt_get_raw_issuer_dn(gnutls_x509_crt_t cert, > gnutls_datum_t * start); >int gnutls_x509_crt_get_raw_dn(gnutls_x509_crt_t cert, > gnutls_datum_t * start); > > > >int gnutls_x509_rdn_get(const gnutls_datum_t * idn, > char *buf, size_t * sizeof_buf); >int gnutls_x509_rdn_get_oid(const gnutls_datum_t * idn, > int indx, void *buf, size_t * sizeof_buf); > >int gnutls_x509_rdn_get_by_oid(const gnutls_datum_t * idn, > const char *oid, int indx, > unsigned int raw_flag, void *buf, > size_t * sizeof_buf); > >typedef void *gnutls_x509_dn_t; > >typedef struct gnutls_x509_ava_st { > gnutls_datum_t oid; > gnutls_datum_t value; > unsigned long value_tag; >} gnutls_x509_ava_st; > >int gnutls_x509_crt_get_subject(gnutls_x509_crt_t cert, > gnutls_x509_dn_t * dn); >int gnutls_x509_crt_get_issuer(gnutls_x509_crt_t cert, > gnutls_x509_dn_t * dn); >int gnutls_x509_dn_get_rdn_ava(gnutls_x509_dn_t dn, int irdn, > int iava, gnutls_x509_ava_st * ava); > >int gnutls_x509_dn_init(gnutls_x509_dn_t * dn); > >int gnutls_x509_dn_import(gnutls_x509_dn_t dn, > const gnutls_datum_t * data); > >int gnutls_x509_dn_export(gnutls_x509_dn_t dn, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); >int gnutls_x509_dn_export2(gnutls_x509_dn_t dn, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); > >void gnutls_x509_dn_deinit(gnutls_x509_dn_t dn); > > > > >int gnutls_x509_crl_init(gnutls_x509_crl_t * crl); >void gnutls_x509_crl_deinit(gnutls_x509_crl_t crl); > >int gnutls_x509_crl_import(gnutls_x509_crl_t crl, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); >int gnutls_x509_crl_export(gnutls_x509_crl_t crl, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); >int gnutls_x509_crl_export2(gnutls_x509_crl_t crl, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); > >int >gnutls_x509_crl_get_raw_issuer_dn(gnutls_x509_crl_t crl, > gnutls_datum_t * dn); > >int gnutls_x509_crl_get_issuer_dn(gnutls_x509_crl_t crl, > char *buf, size_t * sizeof_buf); >int gnutls_x509_crl_get_issuer_dn2(gnutls_x509_crl_t crl, > gnutls_datum_t * dn); >int gnutls_x509_crl_get_issuer_dn_by_oid(gnutls_x509_crl_t crl, > const char *oid, int indx, > unsigned int raw_flag, > void *buf, size_t * sizeof_buf); >int gnutls_x509_crl_get_dn_oid(gnutls_x509_crl_t crl, int indx, > void *oid, size_t * sizeof_oid); > >int gnutls_x509_crl_get_signature_algorithm(gnutls_x509_crl_t crl); >int gnutls_x509_crl_get_signature(gnutls_x509_crl_t crl, > char *sig, size_t * sizeof_sig); >int gnutls_x509_crl_get_version(gnutls_x509_crl_t crl); > >time_t gnutls_x509_crl_get_this_update(gnutls_x509_crl_t crl); >time_t gnutls_x509_crl_get_next_update(gnutls_x509_crl_t crl); > >int gnutls_x509_crl_get_crt_count(gnutls_x509_crl_t crl); >int gnutls_x509_crl_get_crt_serial(gnutls_x509_crl_t crl, int indx, > unsigned char *serial, > size_t * serial_size, time_t * t); > > > >int gnutls_x509_crl_check_issuer(gnutls_x509_crl_t crl, > gnutls_x509_crt_t issuer); > >int gnutls_x509_crl_list_import2(gnutls_x509_crl_t ** crls, > unsigned int *size, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); > >int gnutls_x509_crl_list_import(gnutls_x509_crl_t * crls, > unsigned int *crl_max, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); > > >int gnutls_x509_crl_set_version(gnutls_x509_crl_t crl, > unsigned int version); >int gnutls_x509_crl_set_this_update(gnutls_x509_crl_t crl, > time_t act_time); >int gnutls_x509_crl_set_next_update(gnutls_x509_crl_t crl, > time_t exp_time); >int gnutls_x509_crl_set_crt_serial(gnutls_x509_crl_t crl, > const void *serial, > size_t serial_size, > time_t revocation_time); >int gnutls_x509_crl_set_crt(gnutls_x509_crl_t crl, > gnutls_x509_crt_t crt, time_t revocation_time); > >int gnutls_x509_crl_get_authority_key_id(gnutls_x509_crl_t crl, > void *id, > size_t * id_size, > unsigned int *critical); >int gnutls_x509_crl_get_authority_key_gn_serial(gnutls_x509_crl_t > crl, > unsigned int seq, > void *alt, > size_t * alt_size, > unsigned int > *alt_type, > void *serial, > size_t * > serial_size, unsigned int > *critical); > >int gnutls_x509_crl_get_number(gnutls_x509_crl_t crl, void *ret, > size_t * ret_size, unsigned int *critical); > >int gnutls_x509_crl_get_extension_oid(gnutls_x509_crl_t crl, > int indx, void *oid, > size_t * sizeof_oid); > >int gnutls_x509_crl_get_extension_info(gnutls_x509_crl_t crl, > int indx, void *oid, > size_t * sizeof_oid, > unsigned int *critical); > >int gnutls_x509_crl_get_extension_data(gnutls_x509_crl_t crl, > int indx, void *data, > size_t * sizeof_data); >int >gnutls_x509_crl_get_extension_data2(gnutls_x509_crl_t crl, > unsigned indx, gnutls_datum_t * data); > >int gnutls_x509_crl_set_authority_key_id(gnutls_x509_crl_t crl, > const void *id, size_t id_size); > >int gnutls_x509_crl_set_number(gnutls_x509_crl_t crl, > const void *nr, size_t nr_size); > > > > >struct gnutls_pkcs7_int; >typedef struct gnutls_pkcs7_int *gnutls_pkcs7_t; > >int gnutls_pkcs7_init(gnutls_pkcs7_t * pkcs7); >void gnutls_pkcs7_deinit(gnutls_pkcs7_t pkcs7); >int gnutls_pkcs7_import(gnutls_pkcs7_t pkcs7, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); >int gnutls_pkcs7_export(gnutls_pkcs7_t pkcs7, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); >int gnutls_pkcs7_export2(gnutls_pkcs7_t pkcs7, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); > >int gnutls_pkcs7_get_crt_count(gnutls_pkcs7_t pkcs7); >int gnutls_pkcs7_get_crt_raw(gnutls_pkcs7_t pkcs7, int indx, > void *certificate, size_t * certificate_size); > >int gnutls_pkcs7_set_crt_raw(gnutls_pkcs7_t pkcs7, > const gnutls_datum_t * crt); >int gnutls_pkcs7_set_crt(gnutls_pkcs7_t pkcs7, gnutls_x509_crt_t crt); >int gnutls_pkcs7_delete_crt(gnutls_pkcs7_t pkcs7, int indx); > >int gnutls_pkcs7_get_crl_raw(gnutls_pkcs7_t pkcs7, > int indx, void *crl, size_t * crl_size); >int gnutls_pkcs7_get_crl_count(gnutls_pkcs7_t pkcs7); > >int gnutls_pkcs7_set_crl_raw(gnutls_pkcs7_t pkcs7, > const gnutls_datum_t * crl); >int gnutls_pkcs7_set_crl(gnutls_pkcs7_t pkcs7, gnutls_x509_crl_t crl); >int gnutls_pkcs7_delete_crl(gnutls_pkcs7_t pkcs7, int indx); ># 802 "./includes/gnutls/x509.h" >typedef enum gnutls_certificate_verify_flags { > GNUTLS_VERIFY_DISABLE_CA_SIGN = 1 << 0, > GNUTLS_VERIFY_DO_NOT_ALLOW_SAME = 1 << 2, > GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT = 1 << 3, > GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 = 1 << 4, > GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5 = 1 << 5, > GNUTLS_VERIFY_DISABLE_TIME_CHECKS = 1 << 6, > GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS = 1 << 7, > GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT = 1 << 8, > GNUTLS_VERIFY_DISABLE_CRL_CHECKS = 1 << 9, > GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN = 1 << 10, > GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN = 1 << 11, > GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS = 1 << 12, >} gnutls_certificate_verify_flags; ># 838 "./includes/gnutls/x509.h" >typedef enum gnutls_certificate_verification_profiles_t { > GNUTLS_PROFILE_VERY_WEAK = 1, > GNUTLS_PROFILE_LOW = 2, > GNUTLS_PROFILE_LEGACY = 4, > GNUTLS_PROFILE_MEDIUM = 5, > GNUTLS_PROFILE_HIGH = 6, > GNUTLS_PROFILE_ULTRA = 7, > > GNUTLS_PROFILE_SUITEB128=32, > GNUTLS_PROFILE_SUITEB192=33, > >} gnutls_certificate_verification_profiles_t; ># 860 "./includes/gnutls/x509.h" >int gnutls_x509_crt_check_issuer(gnutls_x509_crt_t cert, > gnutls_x509_crt_t issuer); > >int gnutls_x509_crt_list_verify(const gnutls_x509_crt_t * > cert_list, int cert_list_length, > const gnutls_x509_crt_t * CA_list, > int CA_list_length, > const gnutls_x509_crl_t * CRL_list, > int CRL_list_length, > unsigned int flags, unsigned int *verify); > >int gnutls_x509_crt_verify(gnutls_x509_crt_t cert, > const gnutls_x509_crt_t * CA_list, > int CA_list_length, unsigned int flags, > unsigned int *verify); >int gnutls_x509_crl_verify(gnutls_x509_crl_t crl, > const gnutls_x509_crt_t * CA_list, > int CA_list_length, unsigned int flags, > unsigned int *verify); > >int gnutls_x509_crt_check_revocation(gnutls_x509_crt_t cert, > const gnutls_x509_crl_t * > crl_list, int crl_list_length); > >int gnutls_x509_crt_get_fingerprint(gnutls_x509_crt_t cert, > gnutls_digest_algorithm_t algo, > void *buf, size_t * buf_size); > >int gnutls_x509_crt_get_key_purpose_oid(gnutls_x509_crt_t cert, > int indx, void *oid, > size_t * oid_size, > unsigned int *critical); >int gnutls_x509_crt_set_key_purpose_oid(gnutls_x509_crt_t cert, > const void *oid, > unsigned int critical); ># 921 "./includes/gnutls/x509.h" >typedef enum gnutls_pkcs_encrypt_flags_t { > GNUTLS_PKCS_PLAIN = 1, > GNUTLS_PKCS_USE_PKCS12_3DES = 2, > GNUTLS_PKCS_USE_PKCS12_ARCFOUR = 4, > GNUTLS_PKCS_USE_PKCS12_RC2_40 = 8, > GNUTLS_PKCS_USE_PBES2_3DES = 16, > GNUTLS_PKCS_USE_PBES2_AES_128 = 32, > GNUTLS_PKCS_USE_PBES2_AES_192 = 64, > GNUTLS_PKCS_USE_PBES2_AES_256 = 128, > GNUTLS_PKCS_NULL_PASSWORD = 256 >} gnutls_pkcs_encrypt_flags_t; > >int gnutls_x509_privkey_init(gnutls_x509_privkey_t * key); >void gnutls_x509_privkey_deinit(gnutls_x509_privkey_t key); >gnutls_sec_param_t >gnutls_x509_privkey_sec_param(gnutls_x509_privkey_t key); >int gnutls_x509_privkey_cpy(gnutls_x509_privkey_t dst, > gnutls_x509_privkey_t src); >int gnutls_x509_privkey_import(gnutls_x509_privkey_t key, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); >int gnutls_x509_privkey_import_pkcs8(gnutls_x509_privkey_t key, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > const char *password, > unsigned int flags); >int gnutls_x509_privkey_import_openssl(gnutls_x509_privkey_t key, > const gnutls_datum_t * data, > const char *password); > >int gnutls_x509_privkey_import2(gnutls_x509_privkey_t key, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > const char *password, unsigned int flags); > >int gnutls_x509_privkey_import_rsa_raw(gnutls_x509_privkey_t key, > const gnutls_datum_t * m, > const gnutls_datum_t * e, > const gnutls_datum_t * d, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * u); >int gnutls_x509_privkey_import_rsa_raw2(gnutls_x509_privkey_t key, > const gnutls_datum_t * m, > const gnutls_datum_t * e, > const gnutls_datum_t * d, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * u, > const gnutls_datum_t * e1, > const gnutls_datum_t * e2); >int gnutls_x509_privkey_import_ecc_raw(gnutls_x509_privkey_t key, > gnutls_ecc_curve_t curve, > const gnutls_datum_t * x, > const gnutls_datum_t * y, > const gnutls_datum_t * k); > >int gnutls_x509_privkey_fix(gnutls_x509_privkey_t key); > >int gnutls_x509_privkey_export_dsa_raw(gnutls_x509_privkey_t key, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, > gnutls_datum_t * y, > gnutls_datum_t * x); >int gnutls_x509_privkey_import_dsa_raw(gnutls_x509_privkey_t key, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * g, > const gnutls_datum_t * y, > const gnutls_datum_t * x); > >int gnutls_x509_privkey_get_pk_algorithm(gnutls_x509_privkey_t key); >int gnutls_x509_privkey_get_pk_algorithm2(gnutls_x509_privkey_t > key, unsigned int *bits); >int gnutls_x509_privkey_get_key_id(gnutls_x509_privkey_t key, > unsigned int flags, > unsigned char *output_data, > size_t * output_data_size); > >int gnutls_x509_privkey_generate(gnutls_x509_privkey_t key, > gnutls_pk_algorithm_t algo, > unsigned int bits, unsigned int flags); >int gnutls_x509_privkey_verify_params(gnutls_x509_privkey_t key); > >int gnutls_x509_privkey_export(gnutls_x509_privkey_t key, > gnutls_x509_crt_fmt_t format, > void *output_data, > size_t * output_data_size); >int gnutls_x509_privkey_export2(gnutls_x509_privkey_t key, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); >int gnutls_x509_privkey_export_pkcs8(gnutls_x509_privkey_t key, > gnutls_x509_crt_fmt_t format, > const char *password, > unsigned int flags, > void *output_data, > size_t * output_data_size); >int gnutls_x509_privkey_export2_pkcs8(gnutls_x509_privkey_t key, > gnutls_x509_crt_fmt_t format, > const char *password, > unsigned int flags, > gnutls_datum_t * out); >int gnutls_x509_privkey_export_rsa_raw2(gnutls_x509_privkey_t key, > gnutls_datum_t * m, > gnutls_datum_t * e, > gnutls_datum_t * d, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * u, > gnutls_datum_t * e1, > gnutls_datum_t * e2); >int gnutls_x509_privkey_export_rsa_raw(gnutls_x509_privkey_t key, > gnutls_datum_t * m, > gnutls_datum_t * e, > gnutls_datum_t * d, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * u); >int gnutls_x509_privkey_export_ecc_raw(gnutls_x509_privkey_t key, > gnutls_ecc_curve_t * curve, > gnutls_datum_t * x, > gnutls_datum_t * y, > gnutls_datum_t * k); > > > >int gnutls_x509_crq_sign2(gnutls_x509_crq_t crq, > gnutls_x509_privkey_t key, > gnutls_digest_algorithm_t dig, > unsigned int flags); > >int gnutls_x509_crq_print(gnutls_x509_crq_t crq, > gnutls_certificate_print_formats_t > format, gnutls_datum_t * out); > >int gnutls_x509_crq_verify(gnutls_x509_crq_t crq, unsigned int flags); > >int gnutls_x509_crq_init(gnutls_x509_crq_t * crq); >void gnutls_x509_crq_deinit(gnutls_x509_crq_t crq); >int gnutls_x509_crq_import(gnutls_x509_crq_t crq, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); > >int gnutls_x509_crq_get_private_key_usage_period(gnutls_x509_crq_t > cert, > time_t * > activation, > time_t * > expiration, unsigned int > *critical); > >int gnutls_x509_crq_get_dn(gnutls_x509_crq_t crq, char *buf, > size_t * sizeof_buf); >int gnutls_x509_crq_get_dn2(gnutls_x509_crq_t crq, gnutls_datum_t * dn); >int gnutls_x509_crq_get_dn_oid(gnutls_x509_crq_t crq, int indx, > void *oid, size_t * sizeof_oid); >int gnutls_x509_crq_get_dn_by_oid(gnutls_x509_crq_t crq, > const char *oid, int indx, > unsigned int raw_flag, void *buf, > size_t * sizeof_buf); >int gnutls_x509_crq_set_dn(gnutls_x509_crq_t crq, const char *dn, > const char **err); >int gnutls_x509_crq_set_dn_by_oid(gnutls_x509_crq_t crq, > const char *oid, > unsigned int raw_flag, > const void *data, > unsigned int sizeof_data); >int gnutls_x509_crq_set_version(gnutls_x509_crq_t crq, > unsigned int version); >int gnutls_x509_crq_get_version(gnutls_x509_crq_t crq); >int gnutls_x509_crq_set_key(gnutls_x509_crq_t crq, > gnutls_x509_privkey_t key); > >int gnutls_x509_crq_set_challenge_password(gnutls_x509_crq_t crq, > const char *pass); >int gnutls_x509_crq_get_challenge_password(gnutls_x509_crq_t crq, > char *pass, > size_t * sizeof_pass); > >int gnutls_x509_crq_set_attribute_by_oid(gnutls_x509_crq_t crq, > const char *oid, > void *buf, size_t sizeof_buf); >int gnutls_x509_crq_get_attribute_by_oid(gnutls_x509_crq_t crq, > const char *oid, int indx, > void *buf, size_t * sizeof_buf); > >int gnutls_x509_crq_export(gnutls_x509_crq_t crq, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); >int gnutls_x509_crq_export2(gnutls_x509_crq_t crq, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); > >int gnutls_x509_crt_set_crq(gnutls_x509_crt_t crt, gnutls_x509_crq_t crq); >int gnutls_x509_crt_set_crq_extensions(gnutls_x509_crt_t crt, > gnutls_x509_crq_t crq); > >int gnutls_x509_crq_set_private_key_usage_period(gnutls_x509_crq_t > crq, > time_t activation, > time_t expiration); >int gnutls_x509_crq_set_key_rsa_raw(gnutls_x509_crq_t crq, > const gnutls_datum_t * m, > const gnutls_datum_t * e); >int gnutls_x509_crq_set_subject_alt_name(gnutls_x509_crq_t crq, > gnutls_x509_subject_alt_name_t > nt, const void *data, > unsigned int data_size, > unsigned int flags); > >int gnutls_x509_crq_set_key_usage(gnutls_x509_crq_t crq, > unsigned int usage); >int gnutls_x509_crq_set_basic_constraints(gnutls_x509_crq_t crq, > unsigned int ca, > int pathLenConstraint); >int gnutls_x509_crq_set_key_purpose_oid(gnutls_x509_crq_t crq, > const void *oid, > unsigned int critical); >int gnutls_x509_crq_get_key_purpose_oid(gnutls_x509_crq_t crq, > int indx, void *oid, > size_t * sizeof_oid, > unsigned int *critical); > >int gnutls_x509_crq_get_extension_data(gnutls_x509_crq_t crq, > int indx, void *data, > size_t * sizeof_data); >int >gnutls_x509_crq_get_extension_data2(gnutls_x509_crq_t crq, > unsigned indx, > gnutls_datum_t * data); >int gnutls_x509_crq_get_extension_info(gnutls_x509_crq_t crq, > int indx, void *oid, > size_t * sizeof_oid, > unsigned int *critical); >int gnutls_x509_crq_get_attribute_data(gnutls_x509_crq_t crq, > int indx, void *data, > size_t * sizeof_data); >int gnutls_x509_crq_get_attribute_info(gnutls_x509_crq_t crq, > int indx, void *oid, > size_t * sizeof_oid); >int gnutls_x509_crq_get_pk_algorithm(gnutls_x509_crq_t crq, > unsigned int *bits); > >int gnutls_x509_crq_get_key_id(gnutls_x509_crq_t crq, > unsigned int flags, > unsigned char *output_data, > size_t * output_data_size); >int gnutls_x509_crq_get_key_rsa_raw(gnutls_x509_crq_t crq, > gnutls_datum_t * m, > gnutls_datum_t * e); > >int gnutls_x509_crq_get_key_usage(gnutls_x509_crq_t crq, > unsigned int *key_usage, > unsigned int *critical); >int gnutls_x509_crq_get_basic_constraints(gnutls_x509_crq_t crq, > unsigned int *critical, > unsigned int *ca, int *pathlen); >int gnutls_x509_crq_get_subject_alt_name(gnutls_x509_crq_t crq, > unsigned int seq, > void *ret, > size_t * ret_size, > unsigned int *ret_type, > unsigned int *critical); >int gnutls_x509_crq_get_subject_alt_othername_oid(gnutls_x509_crq_t > crq, > unsigned int seq, > void *ret, > size_t * ret_size); > >int gnutls_x509_crq_get_extension_by_oid(gnutls_x509_crq_t crq, > const char *oid, int indx, > void *buf, > size_t * sizeof_buf, > unsigned int *critical); > >typedef struct gnutls_x509_trust_list_st *gnutls_x509_trust_list_t; > >int >gnutls_x509_trust_list_init(gnutls_x509_trust_list_t * list, > unsigned int size); > >void >gnutls_x509_trust_list_deinit(gnutls_x509_trust_list_t list, > unsigned int all); > >int gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t > list, gnutls_x509_crt_t cert, > gnutls_x509_crt_t * issuer, > unsigned int flags); > > > > >int >gnutls_x509_trust_list_add_cas(gnutls_x509_trust_list_t list, > const gnutls_x509_crt_t * clist, > unsigned clist_size, unsigned int flags); >int gnutls_x509_trust_list_remove_cas(gnutls_x509_trust_list_t > list, > const gnutls_x509_crt_t * > clist, int clist_size); > >int gnutls_x509_trust_list_add_named_crt(gnutls_x509_trust_list_t > list, > gnutls_x509_crt_t cert, > const void *name, > size_t name_size, > unsigned int flags); > >int >gnutls_x509_trust_list_add_crls(gnutls_x509_trust_list_t list, > const gnutls_x509_crl_t * > crl_list, int crl_size, > unsigned int flags, > unsigned int verification_flags); > >typedef int gnutls_verify_output_function(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, > > > gnutls_x509_crl_t crl, > > > unsigned int > verification_output); > >int gnutls_x509_trust_list_verify_named_crt > (gnutls_x509_trust_list_t list, gnutls_x509_crt_t cert, > const void *name, size_t name_size, unsigned int flags, > unsigned int *verify, gnutls_verify_output_function func); > >int >gnutls_x509_trust_list_verify_crt(gnutls_x509_trust_list_t list, > gnutls_x509_crt_t * cert_list, > unsigned int cert_list_size, > unsigned int flags, > unsigned int *verify, > gnutls_verify_output_function func); > > >int >gnutls_x509_trust_list_add_trust_mem(gnutls_x509_trust_list_t > list, > const gnutls_datum_t * cas, > const gnutls_datum_t * crls, > gnutls_x509_crt_fmt_t type, > unsigned int tl_flags, > unsigned int tl_vflags); > >int >gnutls_x509_trust_list_add_trust_file(gnutls_x509_trust_list_t > list, const char *ca_file, > const char *crl_file, > gnutls_x509_crt_fmt_t type, > unsigned int tl_flags, > unsigned int tl_vflags); > >int >gnutls_x509_trust_list_remove_trust_file(gnutls_x509_trust_list_t > list, > const char *ca_file, > gnutls_x509_crt_fmt_t type); > >int >gnutls_x509_trust_list_remove_trust_mem(gnutls_x509_trust_list_t > list, > const gnutls_datum_t * > cas, gnutls_x509_crt_fmt_t type); > >int >gnutls_x509_trust_list_add_system_trust(gnutls_x509_trust_list_t > list, > unsigned int tl_flags, > unsigned int tl_vflags); > >void gnutls_certificate_set_trust_list > (gnutls_certificate_credentials_t res, > gnutls_x509_trust_list_t tlist, unsigned flags); ># 28 "./includes/gnutls/abstract.h" 2 ># 1 "./includes/gnutls/pkcs11.h" 1 ># 57 "./includes/gnutls/pkcs11.h" >typedef int (*gnutls_pkcs11_token_callback_t) (void *const > userdata, > const char *const > label, unsigned retry); > > >struct gnutls_pkcs11_obj_st; >typedef struct gnutls_pkcs11_obj_st *gnutls_pkcs11_obj_t; ># 75 "./includes/gnutls/pkcs11.h" >int gnutls_pkcs11_init(unsigned int flags, > const char *deprecated_config_file); >int gnutls_pkcs11_reinit(void); >void gnutls_pkcs11_deinit(void); >void gnutls_pkcs11_set_token_function > (gnutls_pkcs11_token_callback_t fn, void *userdata); > >void gnutls_pkcs11_set_pin_function(gnutls_pin_callback_t fn, > void *userdata); > >gnutls_pin_callback_t gnutls_pkcs11_get_pin_function(void > **userdata); > >int gnutls_pkcs11_add_provider(const char *name, const char *params); >int gnutls_pkcs11_obj_init(gnutls_pkcs11_obj_t * obj); >void gnutls_pkcs11_obj_set_pin_function(gnutls_pkcs11_obj_t obj, > gnutls_pin_callback_t fn, > void *userdata); ># 115 "./includes/gnutls/pkcs11.h" >typedef enum { > GNUTLS_PKCS11_URL_GENERIC, > GNUTLS_PKCS11_URL_LIB, > GNUTLS_PKCS11_URL_LIB_VERSION >} gnutls_pkcs11_url_type_t; > >int gnutls_pkcs11_obj_import_url(gnutls_pkcs11_obj_t obj, > const char *url, unsigned int flags > ); >int gnutls_pkcs11_obj_export_url(gnutls_pkcs11_obj_t obj, > gnutls_pkcs11_url_type_t detailed, > char **url); >void gnutls_pkcs11_obj_deinit(gnutls_pkcs11_obj_t obj); > >int gnutls_pkcs11_obj_export(gnutls_pkcs11_obj_t obj, > void *output_data, size_t * output_data_size); >int gnutls_pkcs11_obj_export2(gnutls_pkcs11_obj_t obj, > gnutls_datum_t * out); > >int gnutls_pkcs11_obj_export3(gnutls_pkcs11_obj_t obj, gnutls_x509_crt_fmt_t fmt, > gnutls_datum_t * out); > >int gnutls_pkcs11_get_raw_issuer(const char *url, gnutls_x509_crt_t cert, > gnutls_datum_t * issuer, > gnutls_x509_crt_fmt_t fmt, > unsigned int flags); > >int gnutls_pkcs11_crt_is_known(const char *url, gnutls_x509_crt_t cert, > unsigned int flags); > >int gnutls_pkcs11_copy_x509_crt(const char *token_url, > gnutls_x509_crt_t crt, > const char *label, unsigned int flags > ); >int gnutls_pkcs11_copy_x509_privkey(const char *token_url, > gnutls_x509_privkey_t key, > const char *label, > unsigned int key_usage > , > unsigned int flags > > ); >int gnutls_pkcs11_delete_url(const char *object_url, unsigned int flags > ); > >int gnutls_pkcs11_copy_secret_key(const char *token_url, > gnutls_datum_t * key, > const char *label, unsigned int key_usage > , > unsigned int flags > ); ># 182 "./includes/gnutls/pkcs11.h" >typedef enum { > GNUTLS_PKCS11_OBJ_ID_HEX = 1, > GNUTLS_PKCS11_OBJ_LABEL, > GNUTLS_PKCS11_OBJ_TOKEN_LABEL, > GNUTLS_PKCS11_OBJ_TOKEN_SERIAL, > GNUTLS_PKCS11_OBJ_TOKEN_MANUFACTURER, > GNUTLS_PKCS11_OBJ_TOKEN_MODEL, > GNUTLS_PKCS11_OBJ_ID, > > GNUTLS_PKCS11_OBJ_LIBRARY_VERSION, > GNUTLS_PKCS11_OBJ_LIBRARY_DESCRIPTION, > GNUTLS_PKCS11_OBJ_LIBRARY_MANUFACTURER >} gnutls_pkcs11_obj_info_t; > >int gnutls_pkcs11_obj_get_info(gnutls_pkcs11_obj_t crt, > gnutls_pkcs11_obj_info_t itype, > void *output, size_t * output_size); ># 212 "./includes/gnutls/pkcs11.h" >typedef enum { > GNUTLS_PKCS11_OBJ_ATTR_CRT_ALL = 1, > GNUTLS_PKCS11_OBJ_ATTR_CRT_TRUSTED, > GNUTLS_PKCS11_OBJ_ATTR_CRT_WITH_PRIVKEY, > GNUTLS_PKCS11_OBJ_ATTR_PUBKEY, > GNUTLS_PKCS11_OBJ_ATTR_PRIVKEY, > GNUTLS_PKCS11_OBJ_ATTR_ALL, > GNUTLS_PKCS11_OBJ_ATTR_CRT_TRUSTED_CA, >} gnutls_pkcs11_obj_attr_t; ># 232 "./includes/gnutls/pkcs11.h" >typedef enum { > GNUTLS_PKCS11_TOKEN_LABEL, > GNUTLS_PKCS11_TOKEN_SERIAL, > GNUTLS_PKCS11_TOKEN_MANUFACTURER, > GNUTLS_PKCS11_TOKEN_MODEL, >} gnutls_pkcs11_token_info_t; ># 250 "./includes/gnutls/pkcs11.h" >typedef enum { > GNUTLS_PKCS11_OBJ_UNKNOWN, > GNUTLS_PKCS11_OBJ_X509_CRT, > GNUTLS_PKCS11_OBJ_PUBKEY, > GNUTLS_PKCS11_OBJ_PRIVKEY, > GNUTLS_PKCS11_OBJ_SECRET_KEY, > GNUTLS_PKCS11_OBJ_DATA >} gnutls_pkcs11_obj_type_t; > >int >gnutls_pkcs11_token_init(const char *token_url, > const char *so_pin, const char *label); > >int >gnutls_pkcs11_token_get_mechanism(const char *url, > unsigned int idx, > unsigned long *mechanism); > >int gnutls_pkcs11_token_set_pin(const char *token_url, const char *oldpin, const char *newpin, unsigned int flags ); > >int gnutls_pkcs11_token_get_url(unsigned int seq, > gnutls_pkcs11_url_type_t detailed, > char **url); >int gnutls_pkcs11_token_get_info(const char *url, > gnutls_pkcs11_token_info_t ttype, > void *output, size_t * output_size); > > > >int gnutls_pkcs11_token_get_flags(const char *url, unsigned int *flags); > >int gnutls_pkcs11_obj_list_import_url(gnutls_pkcs11_obj_t * p_list, > unsigned int *const n_list, > const char *url, > gnutls_pkcs11_obj_attr_t > attrs, unsigned int flags > > ); > >int >gnutls_pkcs11_obj_list_import_url2(gnutls_pkcs11_obj_t ** p_list, > unsigned int *n_list, > const char *url, > gnutls_pkcs11_obj_attr_t attrs, > unsigned int flags > > ); > >int gnutls_x509_crt_import_pkcs11(gnutls_x509_crt_t crt, > gnutls_pkcs11_obj_t pkcs11_crt); >int gnutls_x509_crt_import_pkcs11_url(gnutls_x509_crt_t crt, > const char *url, unsigned int flags > > ); > >gnutls_pkcs11_obj_type_t >gnutls_pkcs11_obj_get_type(gnutls_pkcs11_obj_t obj); >const char *gnutls_pkcs11_type_get_name(gnutls_pkcs11_obj_type_t type); > >int gnutls_x509_crt_list_import_pkcs11(gnutls_x509_crt_t * certs, > unsigned int cert_max, > gnutls_pkcs11_obj_t * > const objs, unsigned int flags > ); > > >int gnutls_pkcs11_privkey_init(gnutls_pkcs11_privkey_t * key); >void gnutls_pkcs11_privkey_set_pin_function(gnutls_pkcs11_privkey_t > key, > gnutls_pin_callback_t > fn, void *userdata); >void gnutls_pkcs11_privkey_deinit(gnutls_pkcs11_privkey_t key); >int gnutls_pkcs11_privkey_get_pk_algorithm(gnutls_pkcs11_privkey_t > key, unsigned int *bits); >int gnutls_pkcs11_privkey_get_info(gnutls_pkcs11_privkey_t pkey, > gnutls_pkcs11_obj_info_t itype, > void *output, size_t * output_size); > >int gnutls_pkcs11_privkey_import_url(gnutls_pkcs11_privkey_t pkey, > const char *url, unsigned int flags); > >int gnutls_pkcs11_privkey_export_url(gnutls_pkcs11_privkey_t key, > gnutls_pkcs11_url_type_t > detailed, char **url); >int gnutls_pkcs11_privkey_status(gnutls_pkcs11_privkey_t key); > >int gnutls_pkcs11_privkey_generate(const char *url, > gnutls_pk_algorithm_t pk, > unsigned int bits, > const char *label, unsigned int flags); > >int >gnutls_pkcs11_privkey_generate2(const char *url, > gnutls_pk_algorithm_t pk, > unsigned int bits, > const char *label, > gnutls_x509_crt_fmt_t fmt, > gnutls_datum_t * pubkey, > unsigned int flags); > >int >gnutls_pkcs11_token_get_random(const char *token_url, > void *data, size_t len); ># 29 "./includes/gnutls/abstract.h" 2 ># 1 "./includes/gnutls/openpgp.h" 1 ># 31 "./includes/gnutls/openpgp.h" ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 1 3 4 ># 32 "./includes/gnutls/openpgp.h" 2 ># 49 "./includes/gnutls/openpgp.h" >typedef enum gnutls_openpgp_crt_fmt { > GNUTLS_OPENPGP_FMT_RAW, > GNUTLS_OPENPGP_FMT_BASE64 >} gnutls_openpgp_crt_fmt_t; > > > >typedef unsigned char > gnutls_openpgp_keyid_t[8]; > > > > > >int gnutls_openpgp_crt_init(gnutls_openpgp_crt_t * key); > >void gnutls_openpgp_crt_deinit(gnutls_openpgp_crt_t key); > >int gnutls_openpgp_crt_import(gnutls_openpgp_crt_t key, > const gnutls_datum_t * data, > gnutls_openpgp_crt_fmt_t format); >int gnutls_openpgp_crt_export(gnutls_openpgp_crt_t key, > gnutls_openpgp_crt_fmt_t format, > void *output_data, > size_t * output_data_size); >int gnutls_openpgp_crt_export2(gnutls_openpgp_crt_t key, > gnutls_openpgp_crt_fmt_t format, > gnutls_datum_t * out); > >int gnutls_openpgp_crt_print(gnutls_openpgp_crt_t cert, > gnutls_certificate_print_formats_t > format, gnutls_datum_t * out); > > > > > > >int gnutls_openpgp_crt_get_key_usage(gnutls_openpgp_crt_t key, > unsigned int *key_usage); >int gnutls_openpgp_crt_get_fingerprint(gnutls_openpgp_crt_t key, > void *fpr, size_t * fprlen); >int gnutls_openpgp_crt_get_subkey_fingerprint(gnutls_openpgp_crt_t > key, > unsigned int idx, > void *fpr, size_t * fprlen); > >int gnutls_openpgp_crt_get_name(gnutls_openpgp_crt_t key, > int idx, char *buf, size_t * sizeof_buf); > >gnutls_pk_algorithm_t >gnutls_openpgp_crt_get_pk_algorithm(gnutls_openpgp_crt_t key, > unsigned int *bits); > >int gnutls_openpgp_crt_get_version(gnutls_openpgp_crt_t key); > >time_t gnutls_openpgp_crt_get_creation_time(gnutls_openpgp_crt_t key); >time_t gnutls_openpgp_crt_get_expiration_time(gnutls_openpgp_crt_t key); > >int gnutls_openpgp_crt_get_key_id(gnutls_openpgp_crt_t key, > gnutls_openpgp_keyid_t keyid); > >int gnutls_openpgp_crt_check_hostname(gnutls_openpgp_crt_t key, > const char *hostname); >int gnutls_openpgp_crt_check_hostname2(gnutls_openpgp_crt_t key, > const char *hostname, unsigned int flags); > >int gnutls_openpgp_crt_get_revoked_status(gnutls_openpgp_crt_t key); > >int gnutls_openpgp_crt_get_subkey_count(gnutls_openpgp_crt_t key); >int gnutls_openpgp_crt_get_subkey_idx(gnutls_openpgp_crt_t key, > const gnutls_openpgp_keyid_t keyid); >int gnutls_openpgp_crt_get_subkey_revoked_status > (gnutls_openpgp_crt_t key, unsigned int idx); >gnutls_pk_algorithm_t >gnutls_openpgp_crt_get_subkey_pk_algorithm(gnutls_openpgp_crt_t > key, > unsigned int idx, > unsigned int *bits); >time_t > gnutls_openpgp_crt_get_subkey_creation_time > (gnutls_openpgp_crt_t key, unsigned int idx); >time_t > gnutls_openpgp_crt_get_subkey_expiration_time > (gnutls_openpgp_crt_t key, unsigned int idx); >int gnutls_openpgp_crt_get_subkey_id(gnutls_openpgp_crt_t key, > unsigned int idx, > gnutls_openpgp_keyid_t keyid); >int gnutls_openpgp_crt_get_subkey_usage(gnutls_openpgp_crt_t key, > unsigned int idx, > unsigned int *key_usage); > >int gnutls_openpgp_crt_get_subkey_pk_dsa_raw(gnutls_openpgp_crt_t > crt, unsigned int idx, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, > gnutls_datum_t * y); >int gnutls_openpgp_crt_get_subkey_pk_rsa_raw(gnutls_openpgp_crt_t > crt, unsigned int idx, > gnutls_datum_t * m, > gnutls_datum_t * e); >int gnutls_openpgp_crt_get_pk_dsa_raw(gnutls_openpgp_crt_t crt, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, > gnutls_datum_t * y); >int gnutls_openpgp_crt_get_pk_rsa_raw(gnutls_openpgp_crt_t crt, > gnutls_datum_t * m, > gnutls_datum_t * e); > >int gnutls_openpgp_crt_get_preferred_key_id(gnutls_openpgp_crt_t > key, > gnutls_openpgp_keyid_t keyid); >int >gnutls_openpgp_crt_set_preferred_key_id(gnutls_openpgp_crt_t key, > const > gnutls_openpgp_keyid_t keyid); > > > >int gnutls_openpgp_privkey_init(gnutls_openpgp_privkey_t * key); >void gnutls_openpgp_privkey_deinit(gnutls_openpgp_privkey_t key); >gnutls_pk_algorithm_t > gnutls_openpgp_privkey_get_pk_algorithm > (gnutls_openpgp_privkey_t key, unsigned int *bits); > >gnutls_sec_param_t >gnutls_openpgp_privkey_sec_param(gnutls_openpgp_privkey_t key); >int gnutls_openpgp_privkey_import(gnutls_openpgp_privkey_t key, > const gnutls_datum_t * data, > gnutls_openpgp_crt_fmt_t format, > const char *password, > unsigned int flags); > >int gnutls_openpgp_privkey_get_fingerprint(gnutls_openpgp_privkey_t > key, void *fpr, > size_t * fprlen); >int gnutls_openpgp_privkey_get_subkey_fingerprint > (gnutls_openpgp_privkey_t key, unsigned int idx, void *fpr, > size_t * fprlen); >int gnutls_openpgp_privkey_get_key_id(gnutls_openpgp_privkey_t key, > gnutls_openpgp_keyid_t keyid); >int gnutls_openpgp_privkey_get_subkey_count(gnutls_openpgp_privkey_t key); >int gnutls_openpgp_privkey_get_subkey_idx(gnutls_openpgp_privkey_t > key, > const > gnutls_openpgp_keyid_t keyid); > >int gnutls_openpgp_privkey_get_subkey_revoked_status > (gnutls_openpgp_privkey_t key, unsigned int idx); > >int gnutls_openpgp_privkey_get_revoked_status > (gnutls_openpgp_privkey_t key); > >gnutls_pk_algorithm_t > gnutls_openpgp_privkey_get_subkey_pk_algorithm > (gnutls_openpgp_privkey_t key, unsigned int idx, unsigned int *bits); > >time_t > gnutls_openpgp_privkey_get_subkey_expiration_time > (gnutls_openpgp_privkey_t key, unsigned int idx); > >int gnutls_openpgp_privkey_get_subkey_id(gnutls_openpgp_privkey_t > key, unsigned int idx, > gnutls_openpgp_keyid_t keyid); > >time_t > gnutls_openpgp_privkey_get_subkey_creation_time > (gnutls_openpgp_privkey_t key, unsigned int idx); > >int gnutls_openpgp_privkey_export_subkey_dsa_raw > (gnutls_openpgp_privkey_t pkey, unsigned int idx, > gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * g, > gnutls_datum_t * y, gnutls_datum_t * x); >int gnutls_openpgp_privkey_export_subkey_rsa_raw > (gnutls_openpgp_privkey_t pkey, unsigned int idx, > gnutls_datum_t * m, gnutls_datum_t * e, gnutls_datum_t * d, > gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * u); > >int gnutls_openpgp_privkey_export_dsa_raw(gnutls_openpgp_privkey_t > pkey, gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, > gnutls_datum_t * y, > gnutls_datum_t * x); >int gnutls_openpgp_privkey_export_rsa_raw(gnutls_openpgp_privkey_t > pkey, gnutls_datum_t * m, > gnutls_datum_t * e, > gnutls_datum_t * d, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * u); > >int gnutls_openpgp_privkey_export(gnutls_openpgp_privkey_t key, > gnutls_openpgp_crt_fmt_t format, > const char *password, > unsigned int flags, > void *output_data, > size_t * output_data_size); >int gnutls_openpgp_privkey_export2(gnutls_openpgp_privkey_t key, > gnutls_openpgp_crt_fmt_t format, > const char *password, > unsigned int flags, > gnutls_datum_t * out); > >int gnutls_openpgp_privkey_set_preferred_key_id > (gnutls_openpgp_privkey_t key, const gnutls_openpgp_keyid_t keyid); >int gnutls_openpgp_privkey_get_preferred_key_id > (gnutls_openpgp_privkey_t key, gnutls_openpgp_keyid_t keyid); > >int gnutls_openpgp_crt_get_auth_subkey(gnutls_openpgp_crt_t crt, > gnutls_openpgp_keyid_t > keyid, unsigned int flag); > > > > >int gnutls_openpgp_keyring_init(gnutls_openpgp_keyring_t * keyring); >void gnutls_openpgp_keyring_deinit(gnutls_openpgp_keyring_t keyring); > >int gnutls_openpgp_keyring_import(gnutls_openpgp_keyring_t keyring, > const gnutls_datum_t * data, > gnutls_openpgp_crt_fmt_t format); > >int gnutls_openpgp_keyring_check_id(gnutls_openpgp_keyring_t ring, > const gnutls_openpgp_keyid_t > keyid, unsigned int flags); > > >int gnutls_openpgp_crt_verify_ring(gnutls_openpgp_crt_t key, > gnutls_openpgp_keyring_t > keyring, unsigned int flags, > unsigned int *verify > > ); > >int gnutls_openpgp_crt_verify_self(gnutls_openpgp_crt_t key, > unsigned int flags, > unsigned int *verify); > >int gnutls_openpgp_keyring_get_crt(gnutls_openpgp_keyring_t ring, > unsigned int idx, > gnutls_openpgp_crt_t * cert); > >int gnutls_openpgp_keyring_get_crt_count(gnutls_openpgp_keyring_t ring); ># 315 "./includes/gnutls/openpgp.h" >typedef int (*gnutls_openpgp_recv_key_func) (gnutls_session_t > session, > const unsigned char > *keyfpr, > unsigned int > keyfpr_length, > gnutls_datum_t * key); > >void >gnutls_openpgp_set_recv_key_function(gnutls_session_t session, > gnutls_openpgp_recv_key_func func); > > > > > >int gnutls_certificate_set_openpgp_key > (gnutls_certificate_credentials_t res, > gnutls_openpgp_crt_t crt, gnutls_openpgp_privkey_t pkey); > >int > gnutls_certificate_set_openpgp_key_file > (gnutls_certificate_credentials_t res, const char *certfile, > const char *keyfile, gnutls_openpgp_crt_fmt_t format); >int gnutls_certificate_set_openpgp_key_mem > (gnutls_certificate_credentials_t res, > const gnutls_datum_t * cert, const gnutls_datum_t * key, > gnutls_openpgp_crt_fmt_t format); > >int > gnutls_certificate_set_openpgp_key_file2 > (gnutls_certificate_credentials_t res, const char *certfile, > const char *keyfile, const char *subkey_id, > gnutls_openpgp_crt_fmt_t format); >int > gnutls_certificate_set_openpgp_key_mem2 > (gnutls_certificate_credentials_t res, > const gnutls_datum_t * cert, const gnutls_datum_t * key, > const char *subkey_id, gnutls_openpgp_crt_fmt_t format); > >int gnutls_certificate_set_openpgp_keyring_mem > (gnutls_certificate_credentials_t c, const unsigned char *data, > size_t dlen, gnutls_openpgp_crt_fmt_t format); > >int gnutls_certificate_set_openpgp_keyring_file > (gnutls_certificate_credentials_t c, const char *file, > gnutls_openpgp_crt_fmt_t format); ># 30 "./includes/gnutls/abstract.h" 2 ># 1 "./includes/gnutls/tpm.h" 1 ># 35 "./includes/gnutls/tpm.h" >struct tpm_key_list_st; >typedef struct tpm_key_list_st *gnutls_tpm_key_list_t; ># 50 "./includes/gnutls/tpm.h" >typedef enum { > GNUTLS_TPMKEY_FMT_RAW = 0, > GNUTLS_TPMKEY_FMT_DER = GNUTLS_TPMKEY_FMT_RAW, > GNUTLS_TPMKEY_FMT_CTK_PEM = 1 >} gnutls_tpmkey_fmt_t; > >int >gnutls_tpm_privkey_generate(gnutls_pk_algorithm_t pk, > unsigned int bits, > const char *srk_password, > const char *key_password, > gnutls_tpmkey_fmt_t format, > gnutls_x509_crt_fmt_t pub_format, > gnutls_datum_t * privkey, > gnutls_datum_t * pubkey, unsigned int flags); > >void gnutls_tpm_key_list_deinit(gnutls_tpm_key_list_t list); >int gnutls_tpm_key_list_get_url(gnutls_tpm_key_list_t list, > unsigned int idx, char **url, > unsigned int flags); >int gnutls_tpm_get_registered(gnutls_tpm_key_list_t * list); >int gnutls_tpm_privkey_delete(const char *url, const char *srk_password); ># 31 "./includes/gnutls/abstract.h" 2 ># 51 "./includes/gnutls/abstract.h" >typedef enum gnutls_pubkey_flags { > GNUTLS_PUBKEY_VERIFY_FLAG_TLS1_RSA = 1, > GNUTLS_PUBKEY_DISABLE_CALLBACKS = 1 << 2, > GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT = 1 << 3, >} gnutls_pubkey_flags_t; > >typedef int (*gnutls_privkey_sign_func) (gnutls_privkey_t key, > void *userdata, > const gnutls_datum_t * > raw_data, > gnutls_datum_t * signature); >typedef int (*gnutls_privkey_decrypt_func) (gnutls_privkey_t key, > void *userdata, > const gnutls_datum_t * > ciphertext, > gnutls_datum_t * plaintext); > >typedef void (*gnutls_privkey_deinit_func) (gnutls_privkey_t key, > void *userdata); > >int gnutls_pubkey_init(gnutls_pubkey_t * key); >void gnutls_pubkey_deinit(gnutls_pubkey_t key); > >int gnutls_pubkey_verify_params(gnutls_pubkey_t key); > >void gnutls_pubkey_set_pin_function(gnutls_pubkey_t key, > gnutls_pin_callback_t fn, > void *userdata); > >int gnutls_pubkey_get_pk_algorithm(gnutls_pubkey_t key, > unsigned int *bits); > >int gnutls_pubkey_import_x509(gnutls_pubkey_t key, > gnutls_x509_crt_t crt, unsigned int flags); >int gnutls_pubkey_import_x509_crq(gnutls_pubkey_t key, > gnutls_x509_crq_t crq, > unsigned int flags); >int gnutls_pubkey_import_pkcs11(gnutls_pubkey_t key, > gnutls_pkcs11_obj_t obj, > unsigned int flags); >int gnutls_pubkey_import_openpgp(gnutls_pubkey_t key, > gnutls_openpgp_crt_t crt, > unsigned int flags); > >int gnutls_pubkey_import_openpgp_raw(gnutls_pubkey_t pkey, > const gnutls_datum_t * data, > gnutls_openpgp_crt_fmt_t > format, > const gnutls_openpgp_keyid_t > keyid, unsigned int flags); >int gnutls_pubkey_import_x509_raw(gnutls_pubkey_t pkey, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); > >int >gnutls_pubkey_import_privkey(gnutls_pubkey_t key, > gnutls_privkey_t pkey, > unsigned int usage, unsigned int flags); > >int >gnutls_pubkey_import_tpm_url(gnutls_pubkey_t pkey, > const char *url, > const char *srk_password, unsigned int flags); > >int >gnutls_pubkey_import_url(gnutls_pubkey_t key, const char *url, > unsigned int flags); > >int >gnutls_pubkey_import_tpm_raw(gnutls_pubkey_t pkey, > const gnutls_datum_t * fdata, > gnutls_tpmkey_fmt_t format, > const char *srk_password, unsigned int flags); > >int gnutls_pubkey_get_preferred_hash_algorithm(gnutls_pubkey_t key, > gnutls_digest_algorithm_t > * hash, unsigned int *mand); > > >int gnutls_pubkey_export_rsa_raw(gnutls_pubkey_t key, > gnutls_datum_t * m, gnutls_datum_t * e); > > >int gnutls_pubkey_export_dsa_raw(gnutls_pubkey_t key, > gnutls_datum_t * p, > gnutls_datum_t * q, > gnutls_datum_t * g, gnutls_datum_t * y); > > >int gnutls_pubkey_export_ecc_raw(gnutls_pubkey_t key, > gnutls_ecc_curve_t * curve, > gnutls_datum_t * x, gnutls_datum_t * y); > > >int gnutls_pubkey_export_ecc_x962(gnutls_pubkey_t key, > gnutls_datum_t * parameters, > gnutls_datum_t * ecpoint); > >int gnutls_pubkey_export(gnutls_pubkey_t key, > gnutls_x509_crt_fmt_t format, > void *output_data, size_t * output_data_size); > >int gnutls_pubkey_export2(gnutls_pubkey_t key, > gnutls_x509_crt_fmt_t format, > gnutls_datum_t * out); > >int gnutls_pubkey_get_key_id(gnutls_pubkey_t key, > unsigned int flags, > unsigned char *output_data, > size_t * output_data_size); > >int >gnutls_pubkey_get_openpgp_key_id(gnutls_pubkey_t key, > unsigned int flags, > unsigned char *output_data, > size_t * output_data_size, > unsigned int *subkey); > >int gnutls_pubkey_get_key_usage(gnutls_pubkey_t key, unsigned int *usage); >int gnutls_pubkey_set_key_usage(gnutls_pubkey_t key, unsigned int usage); > >int gnutls_pubkey_import(gnutls_pubkey_t key, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format); > > >int gnutls_pubkey_import_pkcs11_url(gnutls_pubkey_t key, > const char *url, unsigned int flags > > ); >int gnutls_pubkey_import_dsa_raw(gnutls_pubkey_t key, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * g, > const gnutls_datum_t * y); >int gnutls_pubkey_import_rsa_raw(gnutls_pubkey_t key, > const gnutls_datum_t * m, > const gnutls_datum_t * e); > >int >gnutls_pubkey_import_ecc_x962(gnutls_pubkey_t key, > const gnutls_datum_t * parameters, > const gnutls_datum_t * ecpoint); > >int >gnutls_pubkey_import_ecc_raw(gnutls_pubkey_t key, > gnutls_ecc_curve_t curve, > const gnutls_datum_t * x, > const gnutls_datum_t * y); > >int >gnutls_pubkey_encrypt_data(gnutls_pubkey_t key, > unsigned int flags, > const gnutls_datum_t * plaintext, > gnutls_datum_t * ciphertext); > >int gnutls_x509_crt_set_pubkey(gnutls_x509_crt_t crt, gnutls_pubkey_t key); > >int gnutls_x509_crq_set_pubkey(gnutls_x509_crq_t crq, gnutls_pubkey_t key); > >int >gnutls_pubkey_verify_hash2(gnutls_pubkey_t key, > gnutls_sign_algorithm_t algo, > unsigned int flags, > const gnutls_datum_t * hash, > const gnutls_datum_t * signature); > >int >gnutls_pubkey_get_verify_algorithm(gnutls_pubkey_t key, > const gnutls_datum_t * > signature, > gnutls_digest_algorithm_t * hash); > >int >gnutls_pubkey_verify_data2(gnutls_pubkey_t pubkey, > gnutls_sign_algorithm_t algo, > unsigned int flags, > const gnutls_datum_t * data, > const gnutls_datum_t * signature); > > > >int gnutls_privkey_init(gnutls_privkey_t * key); >void gnutls_privkey_deinit(gnutls_privkey_t key); ># 244 "./includes/gnutls/abstract.h" >int >gnutls_privkey_generate (gnutls_privkey_t key, > gnutls_pk_algorithm_t algo, unsigned int bits, > unsigned int flags); > >int gnutls_privkey_verify_params(gnutls_privkey_t key); > >void gnutls_privkey_set_pin_function (gnutls_privkey_t key, > gnutls_pin_callback_t fn, void *userdata); > >int gnutls_privkey_get_pk_algorithm(gnutls_privkey_t key, > unsigned int *bits); >gnutls_privkey_type_t gnutls_privkey_get_type(gnutls_privkey_t key); >int gnutls_privkey_status(gnutls_privkey_t key); ># 270 "./includes/gnutls/abstract.h" >typedef enum gnutls_privkey_flags { > GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE = 1, > GNUTLS_PRIVKEY_IMPORT_COPY = 1 << 1, > GNUTLS_PRIVKEY_DISABLE_CALLBACKS = 1 << 2, > GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA = 1 << 4, >} gnutls_privkey_flags_t; > >int gnutls_privkey_import_pkcs11(gnutls_privkey_t pkey, > gnutls_pkcs11_privkey_t key, > unsigned int flags); >int gnutls_privkey_import_x509(gnutls_privkey_t pkey, > gnutls_x509_privkey_t key, > unsigned int flags); >int gnutls_privkey_import_openpgp(gnutls_privkey_t pkey, > gnutls_openpgp_privkey_t key, > unsigned int flags); > >int gnutls_privkey_import_openpgp_raw(gnutls_privkey_t pkey, > const gnutls_datum_t * data, > gnutls_openpgp_crt_fmt_t > format, > const gnutls_openpgp_keyid_t > keyid, const char *password); > >int gnutls_privkey_import_x509_raw(gnutls_privkey_t pkey, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > const char *password, > unsigned int flags); > >int >gnutls_privkey_import_tpm_raw(gnutls_privkey_t pkey, > const gnutls_datum_t * fdata, > gnutls_tpmkey_fmt_t format, > const char *srk_password, > const char *key_password, > unsigned int flags); > >int >gnutls_privkey_import_tpm_url(gnutls_privkey_t pkey, > const char *url, > const char *srk_password, > const char *key_password, > unsigned int flags); > >int gnutls_privkey_import_url(gnutls_privkey_t key, > const char *url, unsigned int flags); > >int gnutls_privkey_import_pkcs11_url(gnutls_privkey_t key, > const char *url); > >int >gnutls_privkey_import_ext(gnutls_privkey_t pkey, > gnutls_pk_algorithm_t pk, > void *userdata, > gnutls_privkey_sign_func sign_func, > gnutls_privkey_decrypt_func > decrypt_func, unsigned int flags); > >int >gnutls_privkey_import_ext2(gnutls_privkey_t pkey, > gnutls_pk_algorithm_t pk, > void *userdata, > gnutls_privkey_sign_func sign_func, > gnutls_privkey_decrypt_func > decrypt_func, > gnutls_privkey_deinit_func deinit_func, > unsigned int flags); > >int gnutls_privkey_import_dsa_raw(gnutls_privkey_t key, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * g, > const gnutls_datum_t * y, > const gnutls_datum_t * x); > >int gnutls_privkey_import_rsa_raw(gnutls_privkey_t key, > const gnutls_datum_t * m, > const gnutls_datum_t * e, > const gnutls_datum_t * d, > const gnutls_datum_t * p, > const gnutls_datum_t * q, > const gnutls_datum_t * u, > const gnutls_datum_t * e1, > const gnutls_datum_t * e2); >int gnutls_privkey_import_ecc_raw(gnutls_privkey_t key, > gnutls_ecc_curve_t curve, > const gnutls_datum_t * x, > const gnutls_datum_t * y, > const gnutls_datum_t * k); > > >int gnutls_privkey_sign_data(gnutls_privkey_t signer, > gnutls_digest_algorithm_t hash, > unsigned int flags, > const gnutls_datum_t * data, > gnutls_datum_t * signature); > >int gnutls_privkey_sign_hash(gnutls_privkey_t signer, > gnutls_digest_algorithm_t hash_algo, > unsigned int flags, > const gnutls_datum_t * hash_data, > gnutls_datum_t * signature); > > >int gnutls_privkey_decrypt_data(gnutls_privkey_t key, > unsigned int flags, > const gnutls_datum_t * ciphertext, > gnutls_datum_t * plaintext); > >int >gnutls_privkey_export_rsa_raw(gnutls_privkey_t key, > gnutls_datum_t * m, gnutls_datum_t * e, > gnutls_datum_t * d, gnutls_datum_t * p, > gnutls_datum_t * q, gnutls_datum_t * u, > gnutls_datum_t * e1, > gnutls_datum_t * e2); > >int >gnutls_privkey_export_dsa_raw(gnutls_privkey_t key, > gnutls_datum_t * p, gnutls_datum_t * q, > gnutls_datum_t * g, gnutls_datum_t * y, > gnutls_datum_t * x); > >int >gnutls_privkey_export_ecc_raw(gnutls_privkey_t key, > gnutls_ecc_curve_t * curve, > gnutls_datum_t * x, > gnutls_datum_t * y, > gnutls_datum_t * k); > > >int gnutls_x509_crt_privkey_sign(gnutls_x509_crt_t crt, > gnutls_x509_crt_t issuer, > gnutls_privkey_t issuer_key, > gnutls_digest_algorithm_t dig, > unsigned int flags); > >int gnutls_x509_crl_privkey_sign(gnutls_x509_crl_t crl, > gnutls_x509_crt_t issuer, > gnutls_privkey_t issuer_key, > gnutls_digest_algorithm_t dig, > unsigned int flags); > >int gnutls_x509_crq_privkey_sign(gnutls_x509_crq_t crq, > gnutls_privkey_t key, > gnutls_digest_algorithm_t dig, > unsigned int flags); ># 427 "./includes/gnutls/abstract.h" >typedef struct gnutls_pcert_st { > gnutls_pubkey_t pubkey; > gnutls_datum_t cert; > gnutls_certificate_type_t type; >} gnutls_pcert_st; > > > > > >int gnutls_pcert_import_x509(gnutls_pcert_st * pcert, > gnutls_x509_crt_t crt, unsigned int flags); > >int >gnutls_pcert_list_import_x509_raw(gnutls_pcert_st * pcerts, > unsigned int *pcert_max, > const gnutls_datum_t * data, > gnutls_x509_crt_fmt_t format, > unsigned int flags); > >int gnutls_pcert_import_x509_raw(gnutls_pcert_st * pcert, > const gnutls_datum_t * cert, > gnutls_x509_crt_fmt_t format, > unsigned int flags); > >int gnutls_pcert_import_openpgp_raw(gnutls_pcert_st * pcert, > const gnutls_datum_t * cert, > gnutls_openpgp_crt_fmt_t > format, > gnutls_openpgp_keyid_t keyid, > unsigned int flags); > >int gnutls_pcert_import_openpgp(gnutls_pcert_st * pcert, > gnutls_openpgp_crt_t crt, > unsigned int flags); > >void gnutls_pcert_deinit(gnutls_pcert_st * pcert); > > > > > > >typedef int gnutls_certificate_retrieve_function2(gnutls_session_t, > const > gnutls_datum_t * > req_ca_rdn, > int nreqs, const > gnutls_pk_algorithm_t > * pk_algos, > int > pk_algos_length, > gnutls_pcert_st > **, unsigned int > *pcert_length, > gnutls_privkey_t > * privkey); > > >void gnutls_certificate_set_retrieve_function2 > (gnutls_certificate_credentials_t cred, > gnutls_certificate_retrieve_function2 * func); > >int >gnutls_certificate_set_key(gnutls_certificate_credentials_t res, > const char **names, > int names_size, > gnutls_pcert_st * pcert_list, > int pcert_list_size, gnutls_privkey_t key); > > > >int gnutls_pubkey_verify_data(gnutls_pubkey_t pubkey, > unsigned int flags, > const gnutls_datum_t * data, > const gnutls_datum_t * > signature) ; > >int gnutls_pubkey_verify_hash(gnutls_pubkey_t key, > unsigned int flags, > const gnutls_datum_t * hash, > const gnutls_datum_t * > signature) ; > >int >gnutls_pubkey_print(gnutls_pubkey_t pubkey, > gnutls_certificate_print_formats_t format, > gnutls_datum_t * out); ># 97 "./gnutls_int.h" 2 ># 1 "./system.h" 1 ># 26 "./system.h" ># 1 "./gnutls_int.h" 1 ># 27 "./system.h" 2 ># 1 "./../gl/time.h" 1 ># 20 "./../gl/time.h" > ># 21 "./../gl/time.h" 3 ># 28 "./system.h" 2 ># 1 "./../gl/sys/time.h" 1 ># 24 "./../gl/sys/time.h" > ># 25 "./../gl/sys/time.h" 3 ># 39 "./../gl/sys/time.h" 3 ># 1 "/usr/include/sys/time.h" 1 3 4 ># 25 "/usr/include/sys/time.h" 3 4 ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 26 "/usr/include/sys/time.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 2 3 4 ># 37 "/usr/include/sys/time.h" 3 4 > ># 55 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 71 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int settimeofday (const struct timeval *__tv, > const struct timezone *__tz) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int adjtime (const struct timeval *__delta, > struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > >typedef enum __itimer_which __itimer_which_t; > > > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int setitimer (__itimer_which_t __which, > const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int utimes (const char *__file, const struct timeval __tvp[2]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern int lutimes (const char *__file, const struct timeval __tvp[2]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int futimesat (int __fd, const char *__file, > const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); ># 189 "/usr/include/sys/time.h" 3 4 > ># 40 "./../gl/sys/time.h" 2 3 ># 420 "./../gl/sys/time.h" 3 >extern int _gl_cxxalias_dummy > ; > >extern int _gl_cxxalias_dummy; ># 29 "./system.h" 2 > > ># 1 "./../gl/sys/uio.h" 1 ># 19 "./../gl/sys/uio.h" > ># 20 "./../gl/sys/uio.h" 3 ># 32 "./system.h" 2 ># 42 "./system.h" >int system_errno(gnutls_transport_ptr_t); >int system_recv_timeout(gnutls_transport_ptr_t ptr, unsigned int ms); > > > > > > >ssize_t system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec, > int iovec_cnt); > >ssize_t system_read(gnutls_transport_ptr_t ptr, void *data, > size_t data_size); ># 64 "./system.h" >extern gnutls_time_func gnutls_time; > >static inline void millisleep(unsigned int ms) >{ > > > > struct timespec ts; > > ts.tv_sec = 0; > ts.tv_nsec = ms * 1000 * 1000; > > nanosleep(&ts, ((void *)0)); > >} > > > >inline static void gettime(struct timespec *t) >{ > > clock_gettime(0, t); > > > > > > >} > >int _gnutls_find_config_path(char *path, size_t max_size); >int _gnutls_ucs2_to_utf8(const void *data, size_t size, > gnutls_datum_t * output); > >int gnutls_system_global_init(void); >void gnutls_system_global_deinit(void); ># 98 "./gnutls_int.h" 2 ># 159 "./gnutls_int.h" >typedef enum { > GNUTLS_EXT_ANY = 0, > GNUTLS_EXT_APPLICATION = 1, > GNUTLS_EXT_TLS = 2, > GNUTLS_EXT_MANDATORY = 3, > GNUTLS_EXT_NONE = 4 >} gnutls_ext_parse_type_t; > > > > > >typedef enum transport_t { > GNUTLS_STREAM, > GNUTLS_DGRAM >} transport_t; > >typedef enum record_flush_t { > RECORD_FLUSH = 0, > RECORD_CORKED, >} record_flush_t; ># 223 "./gnutls_int.h" ># 1 "./gnutls_mem.h" 1 ># 29 "./gnutls_mem.h" >void *gnutls_realloc_fast(void *ptr, size_t size); > >void *_gnutls_calloc(size_t nmemb, size_t size); >char *_gnutls_strdup(const char *); > > > > > > >void _gnutls_safe_memset(void *data, int c, size_t size); ># 224 "./gnutls_int.h" 2 ># 239 "./gnutls_int.h" >typedef struct { > uint8_t pint[3]; >} uint24; > ># 1 "./gnutls_mpi.h" 1 ># 28 "./gnutls_mpi.h" ># 1 "./crypto-backend.h" 1 ># 26 "./crypto-backend.h" ># 1 "./includes/gnutls/crypto.h" 1 ># 32 "./includes/gnutls/crypto.h" >typedef struct api_cipher_hd_st *gnutls_cipher_hd_t; > >int gnutls_cipher_init(gnutls_cipher_hd_t * handle, > gnutls_cipher_algorithm_t cipher, > const gnutls_datum_t * key, > const gnutls_datum_t * iv); >int gnutls_cipher_encrypt(const gnutls_cipher_hd_t handle, > void *text, size_t textlen); >int gnutls_cipher_decrypt(const gnutls_cipher_hd_t handle, > void *ciphertext, size_t ciphertextlen); >int gnutls_cipher_decrypt2(gnutls_cipher_hd_t handle, > const void *ciphertext, > size_t ciphertextlen, void *text, > size_t textlen); >int gnutls_cipher_encrypt2(gnutls_cipher_hd_t handle, > const void *text, size_t textlen, > void *ciphertext, size_t ciphertextlen); > >void gnutls_cipher_set_iv(gnutls_cipher_hd_t handle, void *iv, > size_t ivlen); > >int gnutls_cipher_tag(gnutls_cipher_hd_t handle, void *tag, > size_t tag_size); >int gnutls_cipher_add_auth(gnutls_cipher_hd_t handle, > const void *text, size_t text_size); > >void gnutls_cipher_deinit(gnutls_cipher_hd_t handle); >int gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t algorithm); >int gnutls_cipher_get_iv_size(gnutls_cipher_algorithm_t algorithm); >int gnutls_cipher_get_tag_size(gnutls_cipher_algorithm_t algorithm); > >typedef struct hash_hd_st *gnutls_hash_hd_t; >typedef struct hmac_hd_st *gnutls_hmac_hd_t; > >size_t gnutls_mac_get_nonce_size(gnutls_mac_algorithm_t algorithm); >int gnutls_hmac_init(gnutls_hmac_hd_t * dig, > gnutls_mac_algorithm_t algorithm, > const void *key, size_t keylen); >void gnutls_hmac_set_nonce(gnutls_hmac_hd_t handle, > const void *nonce, size_t nonce_len); >int gnutls_hmac(gnutls_hmac_hd_t handle, const void *text, size_t textlen); >void gnutls_hmac_output(gnutls_hmac_hd_t handle, void *digest); >void gnutls_hmac_deinit(gnutls_hmac_hd_t handle, void *digest); >int gnutls_hmac_get_len(gnutls_mac_algorithm_t algorithm); >int gnutls_hmac_fast(gnutls_mac_algorithm_t algorithm, > const void *key, size_t keylen, > const void *text, size_t textlen, void *digest); > >int gnutls_hash_init(gnutls_hash_hd_t * dig, > gnutls_digest_algorithm_t algorithm); >int gnutls_hash(gnutls_hash_hd_t handle, const void *text, size_t textlen); >void gnutls_hash_output(gnutls_hash_hd_t handle, void *digest); >void gnutls_hash_deinit(gnutls_hash_hd_t handle, void *digest); >int gnutls_hash_get_len(gnutls_digest_algorithm_t algorithm); >int gnutls_hash_fast(gnutls_digest_algorithm_t algorithm, > const void *text, size_t textlen, void *digest); ># 102 "./includes/gnutls/crypto.h" >typedef enum gnutls_rnd_level { > GNUTLS_RND_NONCE = 0, > GNUTLS_RND_RANDOM = 1, > GNUTLS_RND_KEY = 2 >} gnutls_rnd_level_t; > >int gnutls_rnd(gnutls_rnd_level_t level, void *data, size_t len); > >void gnutls_rnd_refresh(void); ># 27 "./crypto-backend.h" 2 > > > > > >typedef struct { > int (*init) (gnutls_cipher_algorithm_t, void **ctx, int enc); > int (*setkey) (void *ctx, const void *key, size_t keysize); > int (*setiv) (void *ctx, const void *iv, size_t ivsize); > int (*encrypt) (void *ctx, const void *plain, size_t plainsize, > void *encr, size_t encrsize); > int (*decrypt) (void *ctx, const void *encr, size_t encrsize, > void *plain, size_t plainsize); > int (*auth) (void *ctx, const void *data, size_t datasize); > void (*tag) (void *ctx, void *tag, size_t tagsize); > void (*deinit) (void *ctx); > > > > int (*exists) (gnutls_cipher_algorithm_t); >} gnutls_crypto_cipher_st; > >typedef struct { > int (*init) (gnutls_mac_algorithm_t, void **ctx); > int (*setkey) (void *ctx, const void *key, size_t keysize); > int (*setnonce) (void *ctx, const void *nonce, size_t noncesize); > int (*hash) (void *ctx, const void *text, size_t textsize); > int (*output) (void *src_ctx, void *digest, size_t digestsize); > void (*deinit) (void *ctx); > int (*fast) (gnutls_mac_algorithm_t, const void *nonce, > size_t nonce_size, const void *key, size_t keysize, > const void *text, size_t textsize, void *digest); > > > > int (*exists) (gnutls_mac_algorithm_t); >} gnutls_crypto_mac_st; > >typedef struct { > int (*init) (gnutls_digest_algorithm_t, void **ctx); > int (*hash) (void *ctx, const void *src, size_t srcsize); > int (*output) (void *src_ctx, void *digest, size_t digestsize); > void (*deinit) (void *ctx); > int (*fast) (gnutls_digest_algorithm_t, const void *src, > size_t srcsize, void *digest); > > > > int (*exists) (gnutls_digest_algorithm_t); >} gnutls_crypto_digest_st; > >typedef struct gnutls_crypto_rnd { > int (*init) (void **ctx); > int (*rnd) (void *ctx, int level, void *data, size_t datasize); > void (*rnd_refresh) (void *ctx); > void (*deinit) (void *ctx); > int (*self_test) (void); >} gnutls_crypto_rnd_st; > >typedef void *bigint_t; ># 97 "./crypto-backend.h" >typedef enum { > > GNUTLS_MPI_FORMAT_USG = 0, > > GNUTLS_MPI_FORMAT_STD = 1, > > GNUTLS_MPI_FORMAT_PGP = 2 >} gnutls_bigint_format_t; > > >typedef struct gnutls_crypto_bigint { > int (*bigint_init) (bigint_t*); > int (*bigint_init_multi) (bigint_t*, ...); > void (*bigint_release) (bigint_t n); > void (*bigint_clear) (bigint_t n); > > int (*bigint_cmp) (const bigint_t m1, const bigint_t m2); > > int (*bigint_cmp_ui) (const bigint_t m1, unsigned long m2); > > int (*bigint_modm) (bigint_t r, const bigint_t a, const bigint_t b); > > int (*bigint_set) (bigint_t a, const bigint_t b); > bigint_t (*bigint_copy) (const bigint_t a); > > int (*bigint_set_ui) (bigint_t a, unsigned long b); > unsigned int (*bigint_get_nbits) (const bigint_t a); > > int (*bigint_powm) (bigint_t w, const bigint_t b, > const bigint_t e, const bigint_t m); > > int (*bigint_addm) (bigint_t w, const bigint_t a, > const bigint_t b, const bigint_t m); > > int (*bigint_subm) (bigint_t w, const bigint_t a, > const bigint_t b, const bigint_t m); > > int (*bigint_mulm) (bigint_t w, const bigint_t a, > const bigint_t b, const bigint_t m); > int (*bigint_add) (bigint_t w, > const bigint_t a, > const bigint_t b); > int (*bigint_sub) (bigint_t w, > const bigint_t a, > const bigint_t b); > > int (*bigint_mul) (bigint_t w, const bigint_t a, > const bigint_t b); > > int (*bigint_add_ui) (bigint_t w, const bigint_t a, > unsigned long b); > > int (*bigint_sub_ui) (bigint_t w, const bigint_t a, > unsigned long b); > > int (*bigint_mul_ui) (bigint_t w, const bigint_t a, > unsigned long b); > > int (*bigint_div) (bigint_t q, const bigint_t a, > const bigint_t b); > > int (*bigint_prime_check) (const bigint_t pp); > > > > > > > int (*bigint_scan) (bigint_t m, const void *buf, size_t buf_size, > gnutls_bigint_format_t format); > int (*bigint_print) (const bigint_t a, void *buf, > size_t * buf_size, > gnutls_bigint_format_t format); >} gnutls_crypto_bigint_st; > > > >typedef struct { > bigint_t params[16]; > unsigned int params_nr; > unsigned int flags; > gnutls_pk_algorithm_t algo; >} gnutls_pk_params_st; > > > > > > > >typedef enum { > GNUTLS_PK_FLAG_NONE = 0 >} gnutls_pk_flag_t; > > >void gnutls_pk_params_release(gnutls_pk_params_st * p); >void gnutls_pk_params_clear(gnutls_pk_params_st * p); >void gnutls_pk_params_init(gnutls_pk_params_st * p); ># 294 "./crypto-backend.h" >typedef enum { > GNUTLS_IMPORT = 0, > GNUTLS_EXPORT = 1 >} gnutls_direction_t; > > >typedef struct gnutls_crypto_pk { > > > int (*encrypt) (gnutls_pk_algorithm_t, gnutls_datum_t * ciphertext, > const gnutls_datum_t * plaintext, > const gnutls_pk_params_st * pub); > int (*decrypt) (gnutls_pk_algorithm_t, gnutls_datum_t * plaintext, > const gnutls_datum_t * ciphertext, > const gnutls_pk_params_st * priv); > > int (*sign) (gnutls_pk_algorithm_t, gnutls_datum_t * signature, > const gnutls_datum_t * data, > const gnutls_pk_params_st * priv); > int (*verify) (gnutls_pk_algorithm_t, const gnutls_datum_t * data, > const gnutls_datum_t * sig, > const gnutls_pk_params_st * pub); > > > int (*hash_algorithm) (gnutls_pk_algorithm_t, > const gnutls_datum_t * sig, > gnutls_pk_params_st * issuer_params, > gnutls_digest_algorithm_t *); > > int (*verify_priv_params) (gnutls_pk_algorithm_t, > const gnutls_pk_params_st * priv); > int (*verify_pub_params) (gnutls_pk_algorithm_t, > const gnutls_pk_params_st * pub); > int (*generate_keys) (gnutls_pk_algorithm_t, unsigned int nbits, > gnutls_pk_params_st *); > int (*generate_params) (gnutls_pk_algorithm_t, unsigned int nbits, > gnutls_pk_params_st *); > > > > int (*pk_fixup_private_params) (gnutls_pk_algorithm_t, > gnutls_direction_t, > gnutls_pk_params_st *); > int (*derive) (gnutls_pk_algorithm_t, gnutls_datum_t * out, > const gnutls_pk_params_st * priv, > const gnutls_pk_params_st * pub); > > int (*curve_exists) (gnutls_ecc_curve_t); >} gnutls_crypto_pk_st; > > > > >int gnutls_crypto_single_cipher_register(gnutls_cipher_algorithm_t > algorithm, int priority, > const > gnutls_crypto_cipher_st * > s); >int gnutls_crypto_single_mac_register(gnutls_mac_algorithm_t algorithm, > int priority, > const gnutls_crypto_mac_st * > s); >int gnutls_crypto_single_digest_register(gnutls_digest_algorithm_t > algorithm, int priority, > const > gnutls_crypto_digest_st * > s); > >int gnutls_crypto_cipher_register(int priority, > const gnutls_crypto_cipher_st * s); >int gnutls_crypto_mac_register(int priority, > const gnutls_crypto_mac_st * s); >int gnutls_crypto_digest_register(int priority, > const gnutls_crypto_digest_st * s); > >int gnutls_crypto_rnd_register(int priority, > const gnutls_crypto_rnd_st * s); >int gnutls_crypto_pk_register(int priority, const gnutls_crypto_pk_st * s); >int gnutls_crypto_bigint_register(int priority, > const gnutls_crypto_bigint_st * s); ># 29 "./gnutls_mpi.h" 2 > >extern int crypto_bigint_prio; >extern gnutls_crypto_bigint_st _gnutls_mpi_ops; > >bigint_t _gnutls_mpi_random_modp(bigint_t, bigint_t p, > gnutls_rnd_level_t level); ># 65 "./gnutls_mpi.h" >inline static >void _gnutls_mpi_release(bigint_t * x) >{ > if (*x == ((void *)0)) > return; > > _gnutls_mpi_ops.bigint_release(*x); > *x = ((void *)0); >} > >int _gnutls_mpi_init_scan(bigint_t * ret_mpi, const void *buffer, > size_t nbytes); >int _gnutls_mpi_init_scan_nz(bigint_t * ret_mpi, const void *buffer, > size_t nbytes); >int _gnutls_mpi_init_scan_pgp(bigint_t * ret_mpi, const void *buffer, > size_t nbytes); > >int _gnutls_mpi_dprint_lz(const bigint_t a, gnutls_datum_t * dest); >int _gnutls_mpi_dprint(const bigint_t a, gnutls_datum_t * dest); >int _gnutls_mpi_dprint_size(const bigint_t a, gnutls_datum_t * dest, > size_t size); ># 244 "./gnutls_int.h" 2 > >typedef enum handshake_state_t { STATE0 = 0, STATE1, STATE2, > STATE3, STATE4, STATE5, STATE6, STATE7, STATE8, > STATE9, STATE10, STATE11, STATE12, STATE13, STATE14, > STATE15, STATE16, STATE17, > STATE20 = 20, STATE21, STATE22, > STATE30 = 30, STATE31, STATE40 = 40, STATE41, STATE50 = 50, > STATE60 = 60, STATE61, STATE62, STATE70, STATE71 >} handshake_state_t; > >typedef enum heartbeat_state_t { > SHB_SEND1 = 0, > SHB_SEND2, > SHB_RECV, >} heartbeat_state_t; > >typedef enum recv_state_t { > RECV_STATE_0 = 0, > RECV_STATE_DTLS_RETRANSMIT, >} recv_state_t; > ># 1 "./gnutls_str.h" 1 ># 27 "./gnutls_str.h" ># 1 "./gnutls_datum.h" 1 ># 28 "./gnutls_datum.h" >int _gnutls_set_datum(gnutls_datum_t * dat, const void *data, > size_t data_size); > >int _gnutls_datum_append(gnutls_datum_t * dat, const void *data, > size_t data_size); > > >inline static >void _gnutls_free_datum(gnutls_datum_t * dat) >{ > if (dat == ((void *)0)) > return; > > if (dat->data != ((void *)0)) > gnutls_free(dat->data); > > dat->data = ((void *)0); > dat->size = 0; >} > >inline static >void _gnutls_free_temp_key_datum(gnutls_datum_t * dat) >{ > if (dat->data != ((void *)0)) { > _gnutls_safe_memset(dat->data, 0, dat->size); > gnutls_free(dat->data); > } > > dat->data = ((void *)0); > dat->size = 0; >} > >inline static >void _gnutls_free_key_datum(gnutls_datum_t * dat) >{ > if (dat->data != ((void *)0)) { > _gnutls_safe_memset(dat->data, 0, dat->size); > gnutls_free(dat->data); > } > > dat->data = ((void *)0); > dat->size = 0; >} ># 28 "./gnutls_str.h" 2 ># 1 "./../gl/gettext.h" 1 ># 25 "./../gl/gettext.h" ># 1 "/usr/include/libintl.h" 1 3 4 ># 34 "/usr/include/libintl.h" 3 4 > > > > > >extern char *gettext (const char *__msgid) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (1))); > > > >extern char *dgettext (const char *__domainname, const char *__msgid) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); >extern char *__dgettext (const char *__domainname, const char *__msgid) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); > > > >extern char *dcgettext (const char *__domainname, > const char *__msgid, int __category) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); >extern char *__dcgettext (const char *__domainname, > const char *__msgid, int __category) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))); > > > > >extern char *ngettext (const char *__msgid1, const char *__msgid2, > unsigned long int __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2))); > > > >extern char *dngettext (const char *__domainname, const char *__msgid1, > const char *__msgid2, unsigned long int __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > >extern char *dcngettext (const char *__domainname, const char *__msgid1, > const char *__msgid2, unsigned long int __n, > int __category) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > > > >extern char *textdomain (const char *__domainname) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern char *bindtextdomain (const char *__domainname, > const char *__dirname) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern char *bind_textdomain_codeset (const char *__domainname, > const char *__codeset) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 101 "/usr/include/libintl.h" 2 3 4 > > ># 1 "/usr/include/locale.h" 1 3 4 ># 28 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 29 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 > > ># 50 "/usr/include/locale.h" 3 4 > > > >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; > > > char int_p_cs_precedes; > > char int_p_sep_by_space; > > char int_n_cs_precedes; > > char int_n_sep_by_space; > > > > > > > char int_p_sign_posn; > char int_n_sign_posn; ># 120 "/usr/include/locale.h" 3 4 >}; > > > >extern char *setlocale (int __category, const char *__locale) __attribute__ ((__nothrow__ , __leaf__)); > > >extern struct lconv *localeconv (void) __attribute__ ((__nothrow__ , __leaf__)); > > ># 151 "/usr/include/locale.h" 3 4 >extern __locale_t newlocale (int __category_mask, const char *__locale, > __locale_t __base) __attribute__ ((__nothrow__ , __leaf__)); ># 186 "/usr/include/locale.h" 3 4 >extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > ># 104 "/usr/include/libintl.h" 2 3 4 ># 121 "/usr/include/libintl.h" 3 4 > ># 26 "./../gl/gettext.h" 2 ># 141 "./../gl/gettext.h" >__inline > > > > > >static const char * >pgettext_aux (const char *domain, > const char *msg_ctxt_id, const char *msgid, > int category) >{ > const char *translation = dcgettext (domain, msg_ctxt_id, category); > if (translation == msg_ctxt_id) > return msgid; > else > return translation; >} > > >__inline > > > > > >static const char * >npgettext_aux (const char *domain, > const char *msg_ctxt_id, const char *msgid, > const char *msgid_plural, unsigned long int n, > int category) >{ > const char *translation = > dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); > if (translation == msg_ctxt_id || translation == msgid_plural) > return (n == 1 ? msgid : msgid_plural); > else > return translation; >} ># 203 "./../gl/gettext.h" >__inline > > > > > >static const char * >dcpgettext_expr (const char *domain, > const char *msgctxt, const char *msgid, > int category) >{ > size_t msgctxt_len = strlen (msgctxt) + 1; > size_t msgid_len = strlen (msgid) + 1; > const char *translation; > > char msg_ctxt_id[msgctxt_len + msgid_len]; ># 227 "./../gl/gettext.h" > { > memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); > msg_ctxt_id[msgctxt_len - 1] = '\004'; > memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); > translation = dcgettext (domain, msg_ctxt_id, category); > > > > > if (translation != msg_ctxt_id) > return translation; > } > return msgid; >} > > > > > > > >__inline > > > > > >static const char * >dcnpgettext_expr (const char *domain, > const char *msgctxt, const char *msgid, > const char *msgid_plural, unsigned long int n, > int category) >{ > size_t msgctxt_len = strlen (msgctxt) + 1; > size_t msgid_len = strlen (msgid) + 1; > const char *translation; > > char msg_ctxt_id[msgctxt_len + msgid_len]; ># 273 "./../gl/gettext.h" > { > memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); > msg_ctxt_id[msgctxt_len - 1] = '\004'; > memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); > translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); > > > > > if (!(translation == msg_ctxt_id || translation == msgid_plural)) > return translation; > } > return (n == 1 ? msgid : msgid_plural); >} ># 29 "./gnutls_str.h" 2 > > >void _gnutls_str_cpy(char *dest, size_t dest_tot_size, const char *src); >void _gnutls_mem_cpy(char *dest, size_t dest_tot_size, const char *src, > size_t src_size); >void _gnutls_str_cat(char *dest, size_t dest_tot_size, const char *src); > >typedef struct { > uint8_t *allocd; > uint8_t *data; > size_t max_length; > size_t length; >} gnutls_buffer_st; > > >void _gnutls_buffer_init(gnutls_buffer_st *); > > >void _gnutls_buffer_clear(gnutls_buffer_st *); > > >inline static void _gnutls_buffer_reset(gnutls_buffer_st * buf) >{ > buf->data = buf->allocd; > buf->length = 0; >} > >int _gnutls_buffer_resize(gnutls_buffer_st *, size_t new_size); > >int _gnutls_buffer_append_str(gnutls_buffer_st *, const char *str); >int _gnutls_buffer_append_data(gnutls_buffer_st *, const void *data, > size_t data_size); > ># 1 "./gnutls_num.h" 1 ># 28 "./gnutls_num.h" ># 1 "./../gl/minmax.h" 1 ># 34 "./../gl/minmax.h" ># 1 "/usr/include/sys/param.h" 1 3 4 ># 23 "/usr/include/sys/param.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 24 "/usr/include/sys/param.h" 2 3 4 > ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 26 "/usr/include/sys/param.h" 2 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 1 3 4 ># 27 "/usr/include/sys/param.h" 2 3 4 > ># 1 "/usr/include/signal.h" 1 3 4 ># 30 "/usr/include/signal.h" 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 102 "/usr/include/bits/sigset.h" 3 4 >extern int __sigismember (const __sigset_t *, int); >extern int __sigaddset (__sigset_t *, int); >extern int __sigdelset (__sigset_t *, int); ># 116 "/usr/include/bits/sigset.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int __sigismember (const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } >extern __inline __attribute__ ((__gnu_inline__)) int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } >extern __inline __attribute__ ((__gnu_inline__)) int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } ># 33 "/usr/include/signal.h" 2 3 4 > > > > > > > >typedef __sig_atomic_t sig_atomic_t; > ># 57 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/signum.h" 1 3 4 ># 58 "/usr/include/signal.h" 2 3 4 ># 75 "/usr/include/signal.h" 3 4 ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 76 "/usr/include/signal.h" 2 3 4 > > > > ># 1 "/usr/include/bits/siginfo.h" 1 3 4 ># 24 "/usr/include/bits/siginfo.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/siginfo.h" 2 3 4 > > > > > > > >typedef union sigval > { > int sival_int; > void *sival_ptr; > } sigval_t; ># 50 "/usr/include/bits/siginfo.h" 3 4 >typedef struct > { > int si_signo; > int si_errno; > > int si_code; > > union > { > int _pad[((128 / sizeof (int)) - 3)]; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > } _kill; > > > struct > { > int si_tid; > int si_overrun; > sigval_t si_sigval; > } _timer; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > sigval_t si_sigval; > } _rt; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > int si_status; > __clock_t si_utime; > __clock_t si_stime; > } _sigchld; > > > struct > { > void *si_addr; > short si_addr_lsb; > } _sigfault; > > > struct > { > long int si_band; > int si_fd; > } _sigpoll; > > > struct > { > void *_call_addr; > int _syscall; > unsigned int _arch; > } _sigsys; > } _sifields; > } siginfo_t; ># 141 "/usr/include/bits/siginfo.h" 3 4 >enum >{ > SI_ASYNCNL = -60, > > SI_TKILL = -6, > > SI_SIGIO, > > SI_ASYNCIO, > > SI_MESGQ, > > SI_TIMER, > > SI_QUEUE, > > SI_USER, > > SI_KERNEL = 0x80 > >}; > > > > >enum >{ > ILL_ILLOPC = 1, > > ILL_ILLOPN, > > ILL_ILLADR, > > ILL_ILLTRP, > > ILL_PRVOPC, > > ILL_PRVREG, > > ILL_COPROC, > > ILL_BADSTK > >}; > > >enum >{ > FPE_INTDIV = 1, > > FPE_INTOVF, > > FPE_FLTDIV, > > FPE_FLTOVF, > > FPE_FLTUND, > > FPE_FLTRES, > > FPE_FLTINV, > > FPE_FLTSUB > >}; > > >enum >{ > SEGV_MAPERR = 1, > > SEGV_ACCERR > >}; > > >enum >{ > BUS_ADRALN = 1, > > BUS_ADRERR, > > BUS_OBJERR, > > BUS_MCEERR_AR, > > BUS_MCEERR_AO > >}; > > > > >enum >{ > TRAP_BRKPT = 1, > > TRAP_TRACE > >}; > > > > >enum >{ > CLD_EXITED = 1, > > CLD_KILLED, > > CLD_DUMPED, > > CLD_TRAPPED, > > CLD_STOPPED, > > CLD_CONTINUED > >}; > > >enum >{ > POLL_IN = 1, > > POLL_OUT, > > POLL_MSG, > > POLL_ERR, > > POLL_PRI, > > POLL_HUP > >}; ># 301 "/usr/include/bits/siginfo.h" 3 4 >typedef struct sigevent > { > sigval_t sigev_value; > int sigev_signo; > int sigev_notify; > > union > { > int _pad[((64 / sizeof (int)) - 3)]; > > > > __pid_t _tid; > > struct > { > void (*_function) (sigval_t); > pthread_attr_t *_attribute; > } _sigev_thread; > } _sigev_un; > } sigevent_t; > > > > > > >enum >{ > SIGEV_SIGNAL = 0, > > SIGEV_NONE, > > SIGEV_THREAD, > > > SIGEV_THREAD_ID = 4 > >}; ># 81 "/usr/include/signal.h" 2 3 4 > > > > >typedef void (*__sighandler_t) (int); > > > > >extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__ , __leaf__)); > >extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern __sighandler_t signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__ , __leaf__)); ># 114 "/usr/include/signal.h" 3 4 > > > > > >extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__ , __leaf__)); >extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern void psignal (int __sig, const char *__s); > > > > >extern void psiginfo (const siginfo_t *__pinfo, const char *__s); ># 167 "/usr/include/signal.h" 3 4 >extern int __sigpause (int __sig_or_mask, int __is_sig); > > > >extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); ># 189 "/usr/include/signal.h" 3 4 >extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); > > >extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); > > >extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); ># 204 "/usr/include/signal.h" 3 4 >typedef __sighandler_t sighandler_t; > > > > >typedef __sighandler_t sig_t; > > > > > >extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigismember (const sigset_t *__set, int __signo) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern int sigisemptyset (const sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigandset (sigset_t *__set, const sigset_t *__left, > const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); > > >extern int sigorset (sigset_t *__set, const sigset_t *__left, > const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); > > > > ># 1 "/usr/include/bits/sigaction.h" 1 3 4 ># 23 "/usr/include/bits/sigaction.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/sigaction.h" 2 3 4 ># 57 "/usr/include/bits/sigaction.h" 3 4 >struct sigaction > { > > > union > { > > __sighandler_t sa_handler; > > void (*sa_sigaction) (int, siginfo_t *, void *); > } > __sigaction_handler; > > > > > > > > __sigset_t sa_mask; > > > int sa_flags; > > > void (*sa_restorer) (void); > }; ># 246 "/usr/include/signal.h" 2 3 4 > > >extern int sigprocmask (int __how, const sigset_t *__restrict __set, > sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); > > >extern int sigaction (int __sig, const struct sigaction *__restrict __act, > struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) > __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int sigwaitinfo (const sigset_t *__restrict __set, > siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sigtimedwait (const sigset_t *__restrict __set, > siginfo_t *__restrict __info, > const struct timespec *__restrict __timeout) > __attribute__ ((__nonnull__ (1))); > > > >extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) > __attribute__ ((__nothrow__ , __leaf__)); ># 303 "/usr/include/signal.h" 3 4 >extern const char *const _sys_siglist[65]; >extern const char *const sys_siglist[65]; > > >struct sigvec > { > __sighandler_t sv_handler; > int sv_mask; > > int sv_flags; > > }; ># 327 "/usr/include/signal.h" 3 4 >extern int sigvec (int __sig, const struct sigvec *__vec, > struct sigvec *__ovec) __attribute__ ((__nothrow__ , __leaf__)); > > > ># 1 "/usr/include/bits/sigcontext.h" 1 3 4 ># 27 "/usr/include/bits/sigcontext.h" 3 4 ># 1 "/usr/include/asm/sigcontext.h" 1 3 4 ># 36 "/usr/include/asm/sigcontext.h" 3 4 >typedef struct >{ > unsigned long mask; > unsigned long addr; >} __attribute__ ((aligned(8))) _psw_t; > >typedef struct >{ > _psw_t psw; > unsigned long gprs[16]; > unsigned int acrs[16]; >} _s390_regs_common; > >typedef struct >{ > unsigned int fpc; > unsigned int pad; > double fprs[16]; >} _s390_fp_regs; > >typedef struct >{ > _s390_regs_common regs; > _s390_fp_regs fpregs; >} _sigregs; > >struct sigcontext >{ > unsigned long oldmask[(64 / 32)]; > _sigregs *sregs; >}; ># 28 "/usr/include/bits/sigcontext.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/sigcontext.h" 2 3 4 ># 333 "/usr/include/signal.h" 2 3 4 > > >extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/stddef.h" 1 3 4 ># 343 "/usr/include/signal.h" 2 3 4 > > > > >extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); > ># 1 "/usr/include/bits/sigstack.h" 1 3 4 ># 25 "/usr/include/bits/sigstack.h" 3 4 >struct sigstack > { > void *ss_sp; > int ss_onstack; > }; > > > >enum >{ > SS_ONSTACK = 1, > > SS_DISABLE > >}; ># 49 "/usr/include/bits/sigstack.h" 3 4 >typedef struct sigaltstack > { > void *ss_sp; > int ss_flags; > size_t ss_size; > } stack_t; ># 350 "/usr/include/signal.h" 2 3 4 > > ># 1 "/usr/include/sys/ucontext.h" 1 3 4 ># 22 "/usr/include/sys/ucontext.h" 3 4 >struct ucontext; >typedef struct ucontext ucontext_t; > ># 1 "/usr/include/signal.h" 1 3 4 ># 26 "/usr/include/sys/ucontext.h" 2 3 4 > > > ># 1 "/usr/include/bits/sigcontext.h" 1 3 4 ># 30 "/usr/include/sys/ucontext.h" 2 3 4 > > >typedef struct >{ > unsigned long mask; > unsigned long addr; >} __attribute__ ((__aligned__(8))) __psw_t; > > >typedef unsigned long greg_t; ># 52 "/usr/include/sys/ucontext.h" 3 4 >typedef greg_t gregset_t[36] __attribute__ ((__aligned__(8))); > >typedef union > { > double d; > float f; > } fpreg_t; > > >typedef struct > { > unsigned int fpc; > fpreg_t fprs[16]; > } fpregset_t; ># 77 "/usr/include/sys/ucontext.h" 3 4 >typedef struct > { > __psw_t psw; > unsigned long gregs[16]; > unsigned int aregs[16]; > fpregset_t fpregs; > } mcontext_t; > > >struct ucontext > { > unsigned long int uc_flags; > struct ucontext *uc_link; > stack_t uc_stack; > mcontext_t uc_mcontext; > __sigset_t uc_sigmask; > > unsigned long uc_high_gprs[16]; > > char __reserved[512]; > }; ># 353 "/usr/include/signal.h" 2 3 4 > > > > > >extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); > > > >extern int sigaltstack (const struct sigaltstack *__restrict __ss, > struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern int sighold (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int sigrelse (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int sigignore (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 30 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); > > >extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int pthread_sigqueue (pthread_t __threadid, int __signo, > const union sigval __value) __attribute__ ((__nothrow__ , __leaf__)); ># 389 "/usr/include/signal.h" 2 3 4 > > > > > > >extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); > >extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); > > > > ># 29 "/usr/include/sys/param.h" 2 3 4 > > ># 1 "/usr/include/bits/param.h" 1 3 4 ># 28 "/usr/include/bits/param.h" 3 4 ># 1 "/usr/include/linux/param.h" 1 3 4 > > > ># 1 "/usr/include/asm/param.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/param.h" 1 3 4 ># 5 "/usr/include/asm/param.h" 2 3 4 ># 5 "/usr/include/linux/param.h" 2 3 4 ># 29 "/usr/include/bits/param.h" 2 3 4 ># 32 "/usr/include/sys/param.h" 2 3 4 ># 35 "./../gl/minmax.h" 2 ># 29 "./gnutls_num.h" 2 ># 1 "/usr/include/byteswap.h" 1 3 4 ># 24 "/usr/include/byteswap.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 24 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/byteswap.h" 2 3 4 ># 25 "/usr/include/byteswap.h" 2 3 4 ># 30 "./gnutls_num.h" 2 > >int _gnutls_uint64pp(uint64 *); >int _gnutls_uint48pp(uint64 *); > > > >inline static uint32_t _gnutls_uint24touint32(uint24 num) >{ > uint32_t ret = 0; > > ((uint8_t *) & ret)[1] = num.pint[0]; > ((uint8_t *) & ret)[2] = num.pint[1]; > ((uint8_t *) & ret)[3] = num.pint[2]; > return ret; >} > >inline static uint24 _gnutls_uint32touint24(uint32_t num) >{ > uint24 ret; > > ret.pint[0] = ((uint8_t *) & num)[1]; > ret.pint[1] = ((uint8_t *) & num)[2]; > ret.pint[2] = ((uint8_t *) & num)[3]; > return ret; > >} > > >inline static uint32_t _gnutls_read_uint24(const uint8_t * data) >{ > uint32_t res; > uint24 num; > > num.pint[0] = data[0]; > num.pint[1] = data[1]; > num.pint[2] = data[2]; > > res = _gnutls_uint24touint32(num); > > > > return res; >} > >inline static void _gnutls_write_uint64(uint64_t num, uint8_t * data) >{ > > > > memcpy(data, &num, 8); >} > >inline static void _gnutls_write_uint24(uint32_t num, uint8_t * data) >{ > uint24 tmp; > > > > > tmp = _gnutls_uint32touint24(num); > > data[0] = tmp.pint[0]; > data[1] = tmp.pint[1]; > data[2] = tmp.pint[2]; >} > >inline static uint32_t _gnutls_read_uint32(const uint8_t * data) >{ > uint32_t res; > > memcpy(&res, data, sizeof(uint32_t)); > > > > return res; >} > >inline static void _gnutls_write_uint32(uint32_t num, uint8_t * data) >{ > > > > > memcpy(data, &num, sizeof(uint32_t)); >} > >inline static uint16_t _gnutls_read_uint16(const uint8_t * data) >{ > uint16_t res; > memcpy(&res, data, sizeof(uint16_t)); > > > > return res; >} > >inline static void _gnutls_write_uint16(uint16_t num, uint8_t * data) >{ > > > > > memcpy(data, &num, sizeof(uint16_t)); >} > >inline static uint32_t _gnutls_conv_uint32(uint32_t data) >{ > > > > return data; > >} > >inline static uint16_t _gnutls_conv_uint16(uint16_t data) >{ > > > > return data; > >} > >inline static uint32_t _gnutls_uint64touint32(const uint64 * num) >{ > uint32_t ret; > > memcpy(&ret, &num->i[4], 4); > > > > > return ret; >} ># 63 "./gnutls_str.h" 2 > >void _gnutls_buffer_replace_data(gnutls_buffer_st * buf, > gnutls_datum_t * data); > >int _gnutls_buffer_append_prefix(gnutls_buffer_st * buf, int pfx_size, > size_t data_size); > >int _gnutls_buffer_append_mpi(gnutls_buffer_st * buf, int pfx_size, > bigint_t, int lz); > >int _gnutls_buffer_append_data_prefix(gnutls_buffer_st * buf, int pfx_size, > const void *data, size_t data_size); >void _gnutls_buffer_pop_data(gnutls_buffer_st *, void *, size_t * size); >void _gnutls_buffer_pop_datum(gnutls_buffer_st *, gnutls_datum_t *, > size_t max_size); > >int _gnutls_buffer_pop_prefix(gnutls_buffer_st * buf, size_t * data_size, > int check); > >int _gnutls_buffer_pop_data_prefix(gnutls_buffer_st * buf, void *data, > size_t * data_size); > >int _gnutls_buffer_pop_datum_prefix(gnutls_buffer_st * buf, > gnutls_datum_t * data); >int _gnutls_buffer_to_datum(gnutls_buffer_st * str, gnutls_datum_t * data); > >int _gnutls_buffer_escape(gnutls_buffer_st * dest, int all, > const char *const invalid_chars); >int _gnutls_buffer_unescape(gnutls_buffer_st * dest); ># 100 "./gnutls_str.h" >int _gnutls_buffer_append_printf(gnutls_buffer_st * dest, const char *fmt, > ...) > __attribute__ ((format(printf, 2, 3))); > >void _gnutls_buffer_hexprint(gnutls_buffer_st * str, > const void *data, size_t len); >void _gnutls_buffer_hexdump(gnutls_buffer_st * str, const void *data, > size_t len, const char *spc); >void _gnutls_buffer_asciiprint(gnutls_buffer_st * str, > const char *data, size_t len); > >char *_gnutls_bin2hex(const void *old, size_t oldlen, char *buffer, > size_t buffer_size, const char *separator); >int _gnutls_hex2bin(const char *hex_data, size_t hex_size, > uint8_t * bin_data, size_t * bin_size); > >int _gnutls_hostname_compare(const char *certname, size_t certnamesize, > const char *hostname, unsigned vflags); ># 266 "./gnutls_int.h" 2 ># 274 "./gnutls_int.h" >typedef enum extensions_t { > GNUTLS_EXTENSION_SERVER_NAME = 0, > GNUTLS_EXTENSION_MAX_RECORD_SIZE = 1, > GNUTLS_EXTENSION_STATUS_REQUEST = 5, > GNUTLS_EXTENSION_CERT_TYPE = 9, > GNUTLS_EXTENSION_SUPPORTED_ECC = 10, > GNUTLS_EXTENSION_SUPPORTED_ECC_PF = 11, > GNUTLS_EXTENSION_SRP = 12, > GNUTLS_EXTENSION_SIGNATURE_ALGORITHMS = 13, > GNUTLS_EXTENSION_SRTP = 14, > GNUTLS_EXTENSION_HEARTBEAT = 15, > GNUTLS_EXTENSION_ALPN = 16, > GNUTLS_EXTENSION_DUMBFW = 21, > GNUTLS_EXTENSION_SESSION_TICKET = 35, > GNUTLS_EXTENSION_NEW_RECORD_PADDING = 48015, > GNUTLS_EXTENSION_SAFE_RENEGOTIATION = 65281 >} extensions_t; > >typedef enum { CIPHER_STREAM, CIPHER_BLOCK } cipher_type_t; > > > > > >typedef enum content_type_t { > GNUTLS_CHANGE_CIPHER_SPEC = 20, GNUTLS_ALERT, > GNUTLS_HANDSHAKE, GNUTLS_APPLICATION_DATA, > GNUTLS_HEARTBEAT >} content_type_t; ># 314 "./gnutls_int.h" >typedef struct { > > gnutls_handshake_description_t htype; > uint32_t length; > > > uint16_t sequence; > > > > > uint32_t start_offset; > uint32_t end_offset; > > uint8_t header[(4 +8)]; > int header_size; > > gnutls_buffer_st data; >} handshake_buffer_st; > >typedef struct mbuffer_st { > > struct mbuffer_st *next; > struct mbuffer_st *prev; > > > > > size_t mark; > > > > gnutls_datum_t msg; > size_t maximum_size; > > > > unsigned int uhead_mark; > > > > > > > content_type_t type; > > > uint64 record_sequence; > > > > > > > uint16_t epoch; > > > gnutls_handshake_description_t htype; > uint16_t handshake_sequence; >} mbuffer_st; > >typedef struct mbuffer_head_st { > mbuffer_st *head; > mbuffer_st *tail; > > unsigned int length; > size_t byte_length; >} mbuffer_head_st; > > > > >typedef struct auth_cred_st { > gnutls_credentials_type_t algorithm; > > > > void *credentials; > struct auth_cred_st *next; >} auth_cred_st; > >struct gnutls_key_st { > > gnutls_pk_params_st ecdh_params; > bigint_t ecdh_x; > bigint_t ecdh_y; > > > gnutls_datum_t key; > > > gnutls_pk_params_st dh_params; > bigint_t client_Y; > > > bigint_t srp_key; > bigint_t srp_g; > bigint_t srp_p; > bigint_t A; > bigint_t B; > bigint_t u; > bigint_t b; > bigint_t a; > bigint_t x; > > > bigint_t rsa[2]; > > > > > > > > void *auth_info; > gnutls_credentials_type_t auth_info_type; > int auth_info_size; > > uint8_t crypt_algo; > > auth_cred_st *cred; > > int crt_requested; ># 445 "./gnutls_int.h" >}; >typedef struct gnutls_key_st gnutls_key_st; > >struct pin_info_st { > gnutls_pin_callback_t cb; > void *data; >}; > >struct record_state_st; >typedef struct record_state_st record_state_st; > >struct record_parameters_st; >typedef struct record_parameters_st record_parameters_st; > > >typedef struct cipher_entry_st { > const char *name; > gnutls_cipher_algorithm_t id; > uint16_t blocksize; > uint16_t keysize; > _Bool block; > uint16_t implicit_iv; > uint16_t explicit_iv; > uint16_t cipher_iv; > _Bool aead; >} cipher_entry_st; > > > >typedef struct mac_entry_st { > const char *name; > const char *oid; > gnutls_mac_algorithm_t id; > unsigned output_size; > unsigned key_size; > unsigned nonce_size; > unsigned placeholder; > unsigned secure; > unsigned block_size; >} mac_entry_st; > >typedef struct { > const char *name; > gnutls_protocol_t id; > uint8_t major; > uint8_t minor; > transport_t transport; > _Bool supported; > _Bool explicit_iv; > _Bool extensions; > _Bool selectable_sighash; > _Bool selectable_prf; >} version_entry_st; > > > > ># 1 "./gnutls_hash_int.h" 1 ># 29 "./gnutls_hash_int.h" ># 1 "./crypto.h" 1 ># 26 "./crypto.h" >const gnutls_crypto_cipher_st > * _gnutls_get_crypto_cipher(gnutls_cipher_algorithm_t algo); >const gnutls_crypto_digest_st > * _gnutls_get_crypto_digest(gnutls_digest_algorithm_t algo); >const gnutls_crypto_mac_st *_gnutls_get_crypto_mac(gnutls_mac_algorithm_t > algo); >void _gnutls_crypto_deregister(void); ># 30 "./gnutls_hash_int.h" 2 > > > >extern int crypto_mac_prio; >extern gnutls_crypto_mac_st _gnutls_mac_ops; > >extern int crypto_digest_prio; >extern gnutls_crypto_digest_st _gnutls_digest_ops; > >typedef int (*hash_func) (void *handle, const void *text, size_t size); >typedef int (*nonce_func) (void *handle, const void *text, size_t size); >typedef int (*output_func) (void *src_ctx, void *digest, > size_t digestsize); >typedef void (*deinit_func) (void *handle); > >typedef struct { > const mac_entry_st *e; > hash_func hash; > output_func output; > deinit_func deinit; > > const void *key; > int keysize; > > void *handle; >} digest_hd_st; > >typedef struct { > const mac_entry_st *e; > int mac_len; > > hash_func hash; > nonce_func setnonce; > output_func output; > deinit_func deinit; > > void *handle; >} mac_hd_st; > > >int _gnutls_digest_exists(gnutls_digest_algorithm_t algo); > >int _gnutls_mac_exists(gnutls_mac_algorithm_t algorithm); >int _gnutls_mac_init(mac_hd_st *, const mac_entry_st * e, > const void *key, int keylen); > >int _gnutls_mac_fast(gnutls_mac_algorithm_t algorithm, const void *key, > int keylen, const void *text, size_t textlen, > void *digest); > >inline static int >_gnutls_mac(mac_hd_st * handle, const void *text, size_t textlen) >{ > if (textlen > 0) { > return handle->hash(handle->handle, text, textlen); > } > return 0; >} > >inline static void _gnutls_mac_output(mac_hd_st * handle, void *digest) >{ > if (digest != ((void *)0)) { > handle->output(handle->handle, digest, handle->mac_len); > } >} > >inline static int >_gnutls_mac_set_nonce(mac_hd_st * handle, const void *nonce, size_t n_size) >{ > if (handle->setnonce) > return handle->setnonce(handle->handle, nonce, n_size); > return 0; >} > >void _gnutls_mac_deinit(mac_hd_st * handle, void *digest); > > >int _gnutls_hash_init(digest_hd_st *, const mac_entry_st * e); > >inline static int >_gnutls_hash(digest_hd_st * handle, const void *text, size_t textlen) >{ > if (textlen > 0) { > handle->hash(handle->handle, text, textlen); > } > return 0; >} > > > > > > >void _gnutls_hash_deinit(digest_hd_st * handle, void *digest); > >int >_gnutls_hash_fast(gnutls_digest_algorithm_t algorithm, > const void *text, size_t textlen, void *digest); > > >int _gnutls_mac_init_ssl3(digest_hd_st *, const mac_entry_st * e, > void *key, int keylen); >int _gnutls_mac_deinit_ssl3(digest_hd_st * handle, void *digest); >int _gnutls_mac_output_ssl3(digest_hd_st * handle, void *digest); > >int _gnutls_ssl3_generate_random(void *secret, int secret_len, > void *rnd, int random_len, int bytes, > uint8_t * ret); >int _gnutls_ssl3_hash_md5(const void *first, int first_len, > const void *second, int second_len, > int ret_len, uint8_t * ret); > >int _gnutls_mac_deinit_ssl3_handshake(digest_hd_st * handle, void *digest, > uint8_t * key, uint32_t key_size); > >inline static int IS_SHA(gnutls_digest_algorithm_t algo) >{ > if (algo == GNUTLS_DIG_SHA1 || algo == GNUTLS_DIG_SHA224 || > algo == GNUTLS_DIG_SHA256 || algo == GNUTLS_DIG_SHA384 || > algo == GNUTLS_DIG_SHA512) > return 1; > return 0; >} ># 503 "./gnutls_int.h" 2 ># 1 "./gnutls_cipher_int.h" 1 ># 29 "./gnutls_cipher_int.h" >extern int crypto_cipher_prio; >extern gnutls_crypto_cipher_st _gnutls_cipher_ops; > >typedef int (*cipher_encrypt_func) (void *hd, const void *plaintext, > size_t, void *ciphertext, size_t); >typedef int (*cipher_decrypt_func) (void *hd, const void *ciphertext, > size_t, void *plaintext, size_t); >typedef void (*cipher_deinit_func) (void *hd); > >typedef int (*cipher_auth_func) (void *hd, const void *data, size_t); >typedef int (*cipher_setiv_func) (void *hd, const void *iv, size_t); > >typedef void (*cipher_tag_func) (void *hd, void *tag, size_t); > >typedef struct { > void *handle; > const cipher_entry_st *e; > cipher_encrypt_func encrypt; > cipher_decrypt_func decrypt; > cipher_auth_func auth; > cipher_tag_func tag; > cipher_setiv_func setiv; > cipher_deinit_func deinit; >} cipher_hd_st; > >int _gnutls_cipher_init(cipher_hd_st *, const cipher_entry_st * e, > const gnutls_datum_t * key, > const gnutls_datum_t * iv, int enc); > >inline static void _gnutls_cipher_setiv(const cipher_hd_st * handle, > const void *iv, size_t ivlen) >{ > handle->setiv(handle->handle, iv, ivlen); >} > >inline static int >_gnutls_cipher_encrypt2(const cipher_hd_st * handle, const void *text, > size_t textlen, void *ciphertext, > size_t ciphertextlen) >{ > if (__builtin_expect((handle != ((void *)0) && handle->handle != ((void *)0)), 1)) { > return handle->encrypt(handle->handle, text, textlen, > ciphertext, ciphertextlen); > } > > return 0; >} > >inline static int >_gnutls_cipher_decrypt2(const cipher_hd_st * handle, > const void *ciphertext, size_t ciphertextlen, > void *text, size_t textlen) >{ > if (__builtin_expect((handle != ((void *)0) && handle->handle != ((void *)0)), 1)) { > return handle->decrypt(handle->handle, ciphertext, > ciphertextlen, text, textlen); > } > > return 0; >} > >inline static void _gnutls_cipher_deinit(cipher_hd_st * handle) >{ > if (__builtin_expect((handle != ((void *)0) && handle->handle != ((void *)0)), 1)) { > handle->deinit(handle->handle); > handle->handle = ((void *)0); > } >} > >int _gnutls_cipher_exists(gnutls_cipher_algorithm_t cipher); > > > > >inline static void _gnutls_cipher_tag(const cipher_hd_st * handle, > void *tag, size_t tag_size) >{ > if (__builtin_expect((handle != ((void *)0) && handle->handle != ((void *)0)), 1)) { > handle->tag(handle->handle, tag, tag_size); > } >} > > > >inline static int _gnutls_cipher_auth(const cipher_hd_st * handle, > const void *text, size_t textlen) >{ > if (__builtin_expect((handle != ((void *)0) && handle->handle != ((void *)0)), 1)) { > return handle->auth(handle->handle, text, textlen); > } > return -59; >} > > > > > > > >typedef struct { > cipher_hd_st cipher; > union { > digest_hd_st dig; > mac_hd_st mac; > } mac; > unsigned int is_mac:1; > unsigned int ssl_hmac:1; > unsigned int non_null:1; > size_t tag_size; >} auth_cipher_hd_st; > >int _gnutls_auth_cipher_init(auth_cipher_hd_st * handle, > const cipher_entry_st * e, > const gnutls_datum_t * cipher_key, > const gnutls_datum_t * iv, > const mac_entry_st * me, > const gnutls_datum_t * mac_key, int ssl_hmac, > int enc); > >int _gnutls_auth_cipher_add_auth(auth_cipher_hd_st * handle, > const void *text, int textlen); > >int _gnutls_auth_cipher_encrypt2_tag(auth_cipher_hd_st * handle, > const uint8_t * text, int textlen, > void *ciphertext, int ciphertextlen, > int pad_size); >int _gnutls_auth_cipher_decrypt2(auth_cipher_hd_st * handle, > const void *ciphertext, int ciphertextlen, > void *text, int textlen); >int _gnutls_auth_cipher_tag(auth_cipher_hd_st * handle, void *tag, > int tag_size); > >inline static void _gnutls_auth_cipher_setiv(const auth_cipher_hd_st * > handle, const void *iv, > size_t ivlen) >{ > _gnutls_cipher_setiv(&handle->cipher, iv, ivlen); >} > >inline static >int _gnutls_auth_cipher_set_mac_nonce(auth_cipher_hd_st * handle, > const void *nonce, int nonce_len) >{ > if (handle->is_mac && !handle->ssl_hmac) > return _gnutls_mac_set_nonce(&handle->mac.mac, nonce, > nonce_len); > else > return 0; >} > >inline static size_t _gnutls_auth_cipher_tag_len(auth_cipher_hd_st * > handle) >{ > return handle->tag_size; >} > > > >void _gnutls_auth_cipher_deinit(auth_cipher_hd_st * handle); ># 504 "./gnutls_int.h" 2 ># 1 "./gnutls_compress.h" 1 ># 26 "./gnutls_compress.h" >int _gnutls_supported_compression_methods(gnutls_session_t session, > uint8_t * comp, size_t max_comp); >int _gnutls_compression_is_ok(gnutls_compression_method_t algorithm); >int _gnutls_compression_get_num(gnutls_compression_method_t algorithm); >gnutls_compression_method_t _gnutls_compression_get_id(int num); > > ># 1 "/usr/include/zlib.h" 1 3 4 ># 34 "/usr/include/zlib.h" 3 4 ># 1 "/usr/include/zconf.h" 1 3 4 ># 368 "/usr/include/zconf.h" 3 4 >typedef unsigned char Byte; > >typedef unsigned int uInt; >typedef unsigned long uLong; > > > > > > typedef Byte Bytef; > >typedef char charf; >typedef int intf; >typedef uInt uIntf; >typedef uLong uLongf; > > > typedef void const *voidpc; > typedef void *voidpf; > typedef void *voidp; > > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.9.0/include/limits.h" 1 3 4 ># 396 "/usr/include/zconf.h" 2 3 4 ># 406 "/usr/include/zconf.h" 3 4 > typedef unsigned z_crc_t; ># 421 "/usr/include/zconf.h" 3 4 ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 422 "/usr/include/zconf.h" 2 3 4 ># 35 "/usr/include/zlib.h" 2 3 4 ># 80 "/usr/include/zlib.h" 3 4 >typedef voidpf (*alloc_func) (voidpf opaque, uInt items, uInt size); >typedef void (*free_func) (voidpf opaque, voidpf address); > >struct internal_state; > >typedef struct z_stream_s { > Bytef *next_in; > uInt avail_in; > uLong total_in; > > Bytef *next_out; > uInt avail_out; > uLong total_out; > > char *msg; > struct internal_state *state; > > alloc_func zalloc; > free_func zfree; > voidpf opaque; > > int data_type; > uLong adler; > uLong reserved; >} z_stream; > >typedef z_stream *z_streamp; > > > > > >typedef struct gz_header_s { > int text; > uLong time; > int xflags; > int os; > Bytef *extra; > uInt extra_len; > uInt extra_max; > Bytef *name; > uInt name_max; > Bytef *comment; > uInt comm_max; > int hcrc; > int done; > >} gz_header; > >typedef gz_header *gz_headerp; ># 216 "/usr/include/zlib.h" 3 4 >extern const char * zlibVersion (void); ># 246 "/usr/include/zlib.h" 3 4 >extern int deflate (z_streamp strm, int flush); ># 353 "/usr/include/zlib.h" 3 4 >extern int deflateEnd (z_streamp strm); ># 392 "/usr/include/zlib.h" 3 4 >extern int inflate (z_streamp strm, int flush); ># 508 "/usr/include/zlib.h" 3 4 >extern int inflateEnd (z_streamp strm); ># 587 "/usr/include/zlib.h" 3 4 >extern int deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) > > ; ># 631 "/usr/include/zlib.h" 3 4 >extern int deflateCopy (z_streamp dest, z_streamp source) > ; ># 649 "/usr/include/zlib.h" 3 4 >extern int deflateReset (z_streamp strm); ># 660 "/usr/include/zlib.h" 3 4 >extern int deflateParams (z_streamp strm, int level, int strategy) > > ; ># 681 "/usr/include/zlib.h" 3 4 >extern int deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) > > > > ; ># 698 "/usr/include/zlib.h" 3 4 >extern uLong deflateBound (z_streamp strm, uLong sourceLen) > ; ># 713 "/usr/include/zlib.h" 3 4 >extern int deflatePending (z_streamp strm, unsigned *pending, int *bits) > > ; ># 728 "/usr/include/zlib.h" 3 4 >extern int deflatePrime (z_streamp strm, int bits, int value) > > ; ># 745 "/usr/include/zlib.h" 3 4 >extern int deflateSetHeader (z_streamp strm, gz_headerp head) > ; ># 819 "/usr/include/zlib.h" 3 4 >extern int inflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) > > ; ># 842 "/usr/include/zlib.h" 3 4 >extern int inflateGetDictionary (z_streamp strm, Bytef *dictionary, uInt *dictLength) > > ; ># 857 "/usr/include/zlib.h" 3 4 >extern int inflateSync (z_streamp strm); ># 876 "/usr/include/zlib.h" 3 4 >extern int inflateCopy (z_streamp dest, z_streamp source) > ; ># 892 "/usr/include/zlib.h" 3 4 >extern int inflateReset (z_streamp strm); ># 902 "/usr/include/zlib.h" 3 4 >extern int inflateReset2 (z_streamp strm, int windowBits) > ; ># 914 "/usr/include/zlib.h" 3 4 >extern int inflatePrime (z_streamp strm, int bits, int value) > > ; ># 935 "/usr/include/zlib.h" 3 4 >extern long inflateMark (z_streamp strm); ># 963 "/usr/include/zlib.h" 3 4 >extern int inflateGetHeader (z_streamp strm, gz_headerp head) > ; ># 1025 "/usr/include/zlib.h" 3 4 >typedef unsigned (*in_func) (void *, unsigned char * *) > ; >typedef int (*out_func) (void *, unsigned char *, unsigned); > >extern int inflateBack (z_streamp strm, in_func in, void *in_desc, out_func out, void *out_desc) > > ; ># 1099 "/usr/include/zlib.h" 3 4 >extern int inflateBackEnd (z_streamp strm); > > > > > > > >extern uLong zlibCompileFlags (void); ># 1160 "/usr/include/zlib.h" 3 4 >extern int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) > ; ># 1174 "/usr/include/zlib.h" 3 4 >extern int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) > > ; ># 1190 "/usr/include/zlib.h" 3 4 >extern uLong compressBound (uLong sourceLen); > > > > > > >extern int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) > ; ># 1224 "/usr/include/zlib.h" 3 4 >typedef struct gzFile_s *gzFile; ># 1264 "/usr/include/zlib.h" 3 4 >extern gzFile gzdopen (int fd, const char *mode); ># 1287 "/usr/include/zlib.h" 3 4 >extern int gzbuffer (gzFile file, unsigned size); ># 1304 "/usr/include/zlib.h" 3 4 >extern int gzsetparams (gzFile file, int level, int strategy); ># 1313 "/usr/include/zlib.h" 3 4 >extern int gzread (gzFile file, voidp buf, unsigned len); ># 1341 "/usr/include/zlib.h" 3 4 >extern int gzwrite (gzFile file, voidpc buf, unsigned len) > ; > > > > > > >extern int gzprintf (gzFile file, const char *format, ...); ># 1364 "/usr/include/zlib.h" 3 4 >extern int gzputs (gzFile file, const char *s); > > > > > > > >extern char * gzgets (gzFile file, char *buf, int len); ># 1385 "/usr/include/zlib.h" 3 4 >extern int gzputc (gzFile file, int c); > > > > > >extern int gzgetc (gzFile file); ># 1400 "/usr/include/zlib.h" 3 4 >extern int gzungetc (int c, gzFile file); ># 1412 "/usr/include/zlib.h" 3 4 >extern int gzflush (gzFile file, int flush); ># 1447 "/usr/include/zlib.h" 3 4 >extern int gzrewind (gzFile file); ># 1475 "/usr/include/zlib.h" 3 4 >extern int gzeof (gzFile file); ># 1490 "/usr/include/zlib.h" 3 4 >extern int gzdirect (gzFile file); ># 1511 "/usr/include/zlib.h" 3 4 >extern int gzclose (gzFile file); ># 1524 "/usr/include/zlib.h" 3 4 >extern int gzclose_r (gzFile file); >extern int gzclose_w (gzFile file); ># 1536 "/usr/include/zlib.h" 3 4 >extern const char * gzerror (gzFile file, int *errnum); ># 1552 "/usr/include/zlib.h" 3 4 >extern void gzclearerr (gzFile file); ># 1569 "/usr/include/zlib.h" 3 4 >extern uLong adler32 (uLong adler, const Bytef *buf, uInt len); ># 1600 "/usr/include/zlib.h" 3 4 >extern uLong crc32 (uLong crc, const Bytef *buf, uInt len); ># 1633 "/usr/include/zlib.h" 3 4 >extern int deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) > ; >extern int inflateInit_ (z_streamp strm, const char *version, int stream_size) > ; >extern int deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) > > > ; >extern int inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size) > ; >extern int inflateBackInit_ (z_streamp strm, int windowBits, unsigned char *window, const char *version, int stream_size) > > > ; ># 1670 "/usr/include/zlib.h" 3 4 >struct gzFile_s { > unsigned have; > unsigned char *next; > off64_t pos; >}; >extern int gzgetc_ (gzFile file); ># 1692 "/usr/include/zlib.h" 3 4 > extern gzFile gzopen64 (const char *, const char *); > extern off64_t gzseek64 (gzFile, off64_t, int); > extern off64_t gztell64 (gzFile); > extern off64_t gzoffset64 (gzFile); > extern uLong adler32_combine64 (uLong, uLong, off64_t); > extern uLong crc32_combine64 (uLong, uLong, off64_t); ># 1742 "/usr/include/zlib.h" 3 4 > struct internal_state {int dummy;}; > > > >extern const char * zError (int); >extern int inflateSyncPoint (z_streamp); >extern const z_crc_t * get_crc_table (void); >extern int inflateUndermine (z_streamp, int); >extern int inflateResetKeep (z_streamp); >extern int deflateResetKeep (z_streamp); > > > > > > >extern int gzvprintf (gzFile file, const char *format, va_list va) > > ; ># 34 "./gnutls_compress.h" 2 > > > > >typedef struct comp_hd_st { > void *handle; > gnutls_compression_method_t algo; >} comp_hd_st; > >int _gnutls_comp_init(comp_hd_st *, gnutls_compression_method_t, int d); >void _gnutls_comp_deinit(comp_hd_st * handle, int d); > >int _gnutls_decompress(comp_hd_st * handle, uint8_t * compressed, > size_t compressed_size, uint8_t * plain, > size_t max_plain_size); >int _gnutls_compress(comp_hd_st *, const uint8_t * plain, > size_t plain_size, uint8_t * compressed, > size_t max_comp_size, unsigned int stateless); > >struct gnutls_compression_entry { > const char *name; > gnutls_compression_method_t id; > > int num; > > > int window_bits; > int mem_level; > int comp_level; >}; >typedef struct gnutls_compression_entry gnutls_compression_entry; ># 505 "./gnutls_int.h" 2 > >typedef struct { > uint8_t hash_algorithm; > uint8_t sign_algorithm; >} sign_algorithm_st; ># 539 "./gnutls_int.h" >typedef struct { > unsigned int entity; > gnutls_kx_algorithm_t kx_algorithm; > > > uint16_t epoch_read; > uint16_t epoch_write; > > > uint16_t epoch_next; > > > uint16_t epoch_min; > > > > > > uint8_t cipher_suite[2]; > gnutls_compression_method_t compression_method; > uint8_t master_secret[48]; > uint8_t client_random[32]; > uint8_t server_random[32]; > uint8_t session_id[32]; > uint8_t session_id_size; > time_t timestamp; > > > > > uint16_t max_record_send_size; > uint16_t max_record_recv_size; > > gnutls_certificate_type_t cert_type; > gnutls_ecc_curve_t ecc_curve; > > > gnutls_sign_algorithm_t server_sign_algo; > gnutls_sign_algorithm_t client_sign_algo; ># 586 "./gnutls_int.h" > int do_recv_supplemental, do_send_supplemental; > const version_entry_st *pversion; >} security_parameters_st; > >struct record_state_st { > gnutls_datum_t mac_secret; > gnutls_datum_t IV; > gnutls_datum_t key; > auth_cipher_hd_st cipher_state; > comp_hd_st compression_state; > uint64 sequence_number; >}; ># 608 "./gnutls_int.h" >struct record_parameters_st { > uint16_t epoch; > int initialized; > > gnutls_compression_method_t compression_algorithm; > > const cipher_entry_st *cipher; > const mac_entry_st *mac; > > > uint64_t record_sw[64]; > unsigned int record_sw_head_idx; > unsigned int record_sw_size; > > record_state_st read; > record_state_st write; > > > > > > int usage_cnt; >}; > >typedef struct { > unsigned int priority[32]; > unsigned int algorithms; >} priority_st; > >typedef enum { > SR_DISABLED, > SR_UNSAFE, > SR_PARTIAL, > SR_SAFE >} safe_renegotiation_t; > > >struct gnutls_priority_st { > priority_st cipher; > priority_st mac; > priority_st kx; > priority_st compression; > priority_st protocol; > priority_st cert_type; > priority_st sign_algo; > priority_st supported_ecc; > > > _Bool no_extensions; > _Bool allow_large_records; > unsigned int max_empty_records; > unsigned int dumbfw; > safe_renegotiation_t sr; > _Bool ssl3_record_version; > _Bool server_precedence; > _Bool allow_wrong_pms; > > _Bool stateless_compression; > unsigned int additional_verify_flags; > > > > > > gnutls_sec_param_t level; > unsigned int dh_prime_bits; >}; ># 688 "./gnutls_int.h" >typedef struct gnutls_dh_params_int { > > > bigint_t params[2]; > int q_bits; > >} dh_params_st; > >typedef struct { > gnutls_dh_params_t dh_params; > int free_dh_params; >} internal_params_st; > > > >typedef struct { > > uint8_t cookie[32]; > uint8_t cookie_len; > > > uint16_t hsk_write_seq; > > unsigned int hsk_read_seq; > uint16_t mtu; > > > _Bool flight_init; > > _Bool last_flight; > > > unsigned int retrans_timeout_ms; > > unsigned int total_timeout_ms; > > unsigned int hsk_hello_verify_requests; > > > _Bool blocking; > > struct timespec handshake_start_time; > > > > unsigned int actual_retrans_timeout_ms; > > > > > time_t async_term; > > > struct timespec last_retransmit; > unsigned int packets_dropped; >} dtls_st; > >typedef union { > void *ptr; > uint32_t num; >} extension_priv_data_t; > >typedef struct { > > mbuffer_head_st record_buffer; > > int handshake_hash_buffer_prev_len; > > gnutls_buffer_st handshake_hash_buffer; > > _Bool resumable; > _Bool ticket_sent; > handshake_state_t handshake_final_state; > handshake_state_t handshake_state; > > > > > > > _Bool invalid_connection; > > _Bool may_not_read; > > _Bool may_not_write; > _Bool read_eof; > > int last_alert; > > > > int last_handshake_in; > int last_handshake_out; > > > struct gnutls_priority_st priorities; > > > _Bool resumed; > _Bool resumption_requested; > security_parameters_st resumed_security_parameters; > > > > > mbuffer_head_st handshake_send_buffer; > handshake_buffer_st handshake_recv_buffer[6]; > int handshake_recv_buffer_size; > > > > > mbuffer_head_st record_recv_buffer; > > mbuffer_head_st record_send_buffer; > > > > size_t record_send_buffer_user_size; > > > > > record_flush_t record_flush_mode; > gnutls_buffer_st record_presend_buffer; > > > > > unsigned expire_time; > struct mod_auth_st_int *auth_struct; > > > > > > > uint8_t adv_version_major; > uint8_t adv_version_minor; > > > > > > > unsigned send_cert_req; > > size_t max_handshake_data_buffer_size; > > > > gnutls_pull_timeout_func pull_timeout_func; > gnutls_pull_func pull_func; > gnutls_push_func push_func; > gnutls_vec_push_func vec_push_func; > gnutls_errno_func errno_func; > > > > gnutls_transport_ptr_t transport_recv_ptr; > gnutls_transport_ptr_t transport_send_ptr; > > > > > gnutls_db_store_func db_store_func; > gnutls_db_retr_func db_retrieve_func; > gnutls_db_remove_func db_remove_func; > void *db_ptr; > > > > gnutls_handshake_post_client_hello_func user_hello_func; > > gnutls_handshake_hook_func h_hook; > unsigned int h_type; > int16_t h_post; > > > > > > gnutls_pcert_st *selected_cert_list; > int16_t selected_cert_list_length; > struct gnutls_privkey_st *selected_key; > _Bool selected_need_free; > > > > > uint16_t extensions_sent[32]; > uint16_t extensions_sent_size; > > > > > _Bool pgp_fingerprint; > > > > uint8_t default_record_version[2]; > > void *user_ptr; > > _Bool enable_private; > > > > > > > > _Bool direction; > > > > > gnutls_openpgp_recv_key_func openpgp_recv_key_func; > > > > > _Bool ignore_rdn_sequence; > > > > > > uint8_t rsa_pms_version[2]; > > > > > > internal_params_st params; ># 932 "./gnutls_int.h" > int errnum; > > > > > gnutls_sign_func sign_func; > void *sign_func_userdata; > > > > > uint16_t srp_prime_bits; > > > _Bool initial_negotiation_completed; > > struct { > uint16_t type; > extension_priv_data_t priv; > _Bool set; > } extension_int_data[32]; > > struct { > uint16_t type; > extension_priv_data_t priv; > _Bool set; > } resumed_extension_int_data[32]; > > transport_t transport; > > > dtls_st dtls; > > > > _Bool premaster_set; > > unsigned int cb_tls_unique_len; > unsigned char cb_tls_unique[36]; > > time_t handshake_endtime; > unsigned int handshake_timeout_ms; > unsigned int record_timeout_ms; > > gnutls_buffer_st hb_local_data; > gnutls_buffer_st hb_remote_data; > struct timespec hb_ping_start; > struct timespec hb_ping_sent; > unsigned int hb_actual_retrans_timeout_ms; > unsigned int hb_retrans_timeout_ms; > unsigned int hb_total_timeout_ms; > > _Bool ocsp_check_ok; > > > heartbeat_state_t hb_state; > > recv_state_t recv_state; > > _Bool sc_random_set; > _Bool no_replay_protection; > > > >} internals_st; > > > > >struct gnutls_session_int { > security_parameters_st security_parameters; > record_parameters_st *record_parameters[16]; > internals_st internals; > gnutls_key_st key; >}; > > > > >void _gnutls_free_auth_info(gnutls_session_t session); ># 1026 "./gnutls_int.h" >int _gnutls_is_secure_mem_null(const void *); > >inline static const version_entry_st *get_version(gnutls_session_t session) >{ > return session->security_parameters.pversion; >} > >inline static unsigned get_num_version(gnutls_session_t session) >{ > if (__builtin_expect((session->security_parameters.pversion != ((void *)0)), 1)) > return session->security_parameters.pversion->id; > else > return GNUTLS_VERSION_UNKNOWN; >} > >void _gnutls_priority_update_fips(void); > > > > > > >unsigned int > > _gnutls_timespec_sub_ms(struct timespec *a, struct timespec *b); > ># 1 "./algorithms.h" 1 ># 26 "./algorithms.h" ># 1 "./gnutls_auth.h" 1 ># 28 "./gnutls_auth.h" >typedef struct mod_auth_st_int { > const char *name; > int (*gnutls_generate_server_certificate) (gnutls_session_t, > gnutls_buffer_st *); > int (*gnutls_generate_client_certificate) (gnutls_session_t, > gnutls_buffer_st *); > int (*gnutls_generate_server_kx) (gnutls_session_t, > gnutls_buffer_st *); > int (*gnutls_generate_client_kx) (gnutls_session_t, gnutls_buffer_st *); > int (*gnutls_generate_client_crt_vrfy) (gnutls_session_t, > gnutls_buffer_st *); > int (*gnutls_generate_server_crt_request) (gnutls_session_t, > gnutls_buffer_st *); > > int (*gnutls_process_server_certificate) (gnutls_session_t, > uint8_t *, size_t); > int (*gnutls_process_client_certificate) (gnutls_session_t, > uint8_t *, size_t); > int (*gnutls_process_server_kx) (gnutls_session_t, uint8_t *, > size_t); > int (*gnutls_process_client_kx) (gnutls_session_t, uint8_t *, > size_t); > int (*gnutls_process_client_crt_vrfy) (gnutls_session_t, uint8_t *, > size_t); > int (*gnutls_process_server_crt_request) (gnutls_session_t, > uint8_t *, size_t); >} mod_auth_st; > >const void *_gnutls_get_cred(gnutls_session_t session, > gnutls_credentials_type_t kx, int *err); >const void *_gnutls_get_kx_cred(gnutls_session_t session, > gnutls_kx_algorithm_t algo, int *err); >int _gnutls_auth_info_set(gnutls_session_t session, > gnutls_credentials_type_t type, int size, > int allow_change); ># 77 "./gnutls_auth.h" >inline static >void *_gnutls_get_auth_info(gnutls_session_t session, gnutls_credentials_type_t type) >{ > if (type == session->key.auth_info_type) > return session->key.auth_info; > else > return ((void *)0); >} ># 27 "./algorithms.h" 2 ># 35 "./algorithms.h" >const version_entry_st *version_to_entry(gnutls_protocol_t c); >gnutls_protocol_t _gnutls_version_lowest(gnutls_session_t session); >gnutls_protocol_t _gnutls_version_max(gnutls_session_t session); >int _gnutls_version_priority(gnutls_session_t session, > gnutls_protocol_t version); >int _gnutls_version_is_supported(gnutls_session_t session, > const gnutls_protocol_t version); >gnutls_protocol_t _gnutls_version_get(uint8_t major, uint8_t minor); > > >inline static int >_gnutls_version_has_selectable_prf(const version_entry_st * ver) >{ > if (__builtin_expect((ver == ((void *)0)), 0)) > return 0; > return ver->selectable_prf; >} > >inline static int >_gnutls_version_has_selectable_sighash(const version_entry_st * ver) >{ > if (__builtin_expect((ver == ((void *)0)), 0)) > return 0; > return ver->selectable_sighash; >} > >inline static >int _gnutls_version_has_extensions(const version_entry_st * ver) >{ > if (__builtin_expect((ver == ((void *)0)), 0)) > return 0; > return ver->extensions; >} > >inline static >int _gnutls_version_has_explicit_iv(const version_entry_st * ver) >{ > if (__builtin_expect((ver == ((void *)0)), 0)) > return 0; > return ver->explicit_iv; >} > > >const mac_entry_st *mac_to_entry(gnutls_mac_algorithm_t c); > > >inline static int _gnutls_mac_is_ok(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0) || e->id == 0) > return 0; > else > return 1; >} ># 98 "./algorithms.h" >inline static size_t _gnutls_mac_get_algo_len(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > else > return e->output_size; >} > >inline static const char *_gnutls_x509_mac_to_oid(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return ((void *)0); > else > return e->oid; >} > >inline static const char *_gnutls_mac_get_name(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return ((void *)0); > else > return e->name; >} > >inline static int _gnutls_mac_block_size(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > else > return e->block_size; >} > >inline static int _gnutls_mac_get_key_size(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > else > return e->key_size; >} > >gnutls_digest_algorithm_t _gnutls_x509_oid_to_digest(const char *oid); > > > > > > >inline static int _gnutls_digest_is_secure(const mac_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > else > return e->secure; >} > > >int _gnutls_supported_ciphersuites(gnutls_session_t session, > uint8_t * cipher_suites, > unsigned int max_cipher_suite_size); >const char *_gnutls_cipher_suite_get_name(const uint8_t suite[2]); >gnutls_mac_algorithm_t _gnutls_cipher_suite_get_prf(const uint8_t > suite[2]); >const cipher_entry_st *_gnutls_cipher_suite_get_cipher_algo(const uint8_t > suite[2]); >gnutls_kx_algorithm_t _gnutls_cipher_suite_get_kx_algo(const uint8_t > suite[2]); >const mac_entry_st *_gnutls_cipher_suite_get_mac_algo(const uint8_t > suite[2]); > >int >_gnutls_cipher_suite_get_id(gnutls_kx_algorithm_t kx_algorithm, > gnutls_cipher_algorithm_t cipher_algorithm, > gnutls_mac_algorithm_t mac_algorithm, > uint8_t suite[2]); > > >const cipher_entry_st *cipher_to_entry(gnutls_cipher_algorithm_t c); > >inline static int _gnutls_cipher_is_block(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->block; >} > >inline static int _gnutls_cipher_get_block_size(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->blocksize; >} > >inline static int >_gnutls_cipher_get_implicit_iv_size(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->implicit_iv; >} > >inline static int >_gnutls_cipher_get_iv_size(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->cipher_iv; >} > >inline static int >_gnutls_cipher_get_explicit_iv_size(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->explicit_iv; >} > >inline static int _gnutls_cipher_get_key_size(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->keysize; >} > >inline static const char *_gnutls_cipher_get_name(const cipher_entry_st * > e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return ((void *)0); > return e->name; >} > >inline static int _gnutls_cipher_algo_is_aead(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0)) > return 0; > return e->aead; >} > >inline static int _gnutls_cipher_is_ok(const cipher_entry_st * e) >{ > if (__builtin_expect((e == ((void *)0)), 0) || e->id == 0) > return 0; > else > return 1; >} > >inline static int _gnutls_cipher_get_tag_size(const cipher_entry_st * e) >{ > size_t ret = 0; > > if (__builtin_expect((e == ((void *)0)), 0)) > return ret; > > if (e->aead) > ret = e->blocksize; > else > ret = 0; > return ret; >} > > >int _gnutls_kx_needs_dh_params(gnutls_kx_algorithm_t algorithm); >int _gnutls_kx_cert_pk_params(gnutls_kx_algorithm_t algorithm); >int _gnutls_kx_needs_rsa_params(gnutls_kx_algorithm_t algorithm); >mod_auth_st *_gnutls_kx_auth_struct(gnutls_kx_algorithm_t algorithm); >int _gnutls_kx_is_ok(gnutls_kx_algorithm_t algorithm); > > >gnutls_kx_algorithm_t _gnutls_map_kx_get_kx(gnutls_credentials_type_t type, > int server); >gnutls_credentials_type_t _gnutls_map_kx_get_cred(gnutls_kx_algorithm_t > algorithm, int server); > > > > > >gnutls_pk_algorithm_t _gnutls_map_pk_get_pk(gnutls_kx_algorithm_t > kx_algorithm); >gnutls_pk_algorithm_t _gnutls_x509_oid2pk_algorithm(const char *oid); >const char *_gnutls_x509_pk_to_oid(gnutls_pk_algorithm_t pk); > >enum encipher_type { CIPHER_ENCRYPT = 0, CIPHER_SIGN = 1, CIPHER_IGN }; > >enum encipher_type _gnutls_kx_encipher_type(gnutls_kx_algorithm_t > algorithm); > > >gnutls_sign_algorithm_t _gnutls_x509_oid2sign_algorithm(const char *oid); >gnutls_pk_algorithm_t _gnutls_x509_sign_to_pk(gnutls_sign_algorithm_t > sign); >const char *_gnutls_x509_sign_to_oid(gnutls_pk_algorithm_t, > gnutls_digest_algorithm_t mac); >gnutls_sign_algorithm_t _gnutls_tls_aid_to_sign(const sign_algorithm_st * > aid); >const sign_algorithm_st *_gnutls_sign_to_tls_aid(gnutls_sign_algorithm_t > sign); > >int _gnutls_mac_priority(gnutls_session_t session, > gnutls_mac_algorithm_t algorithm); >int _gnutls_cipher_priority(gnutls_session_t session, > gnutls_cipher_algorithm_t a); >int _gnutls_kx_priority(gnutls_session_t session, > gnutls_kx_algorithm_t algorithm); > >unsigned int _gnutls_pk_bits_to_subgroup_bits(unsigned int pk_bits); > > >struct gnutls_ecc_curve_entry_st { > const char *name; > const char *oid; > gnutls_ecc_curve_t id; > int tls_id; > int size; >}; >typedef struct gnutls_ecc_curve_entry_st gnutls_ecc_curve_entry_st; > >const gnutls_ecc_curve_entry_st > *_gnutls_ecc_curve_get_params(gnutls_ecc_curve_t curve); >gnutls_ecc_curve_t _gnutls_ecc_curve_get_id(const char *name); >int _gnutls_tls_id_to_ecc_curve(int num); >int _gnutls_ecc_curve_get_tls_id(gnutls_ecc_curve_t supported_ecc); >const char *_gnutls_ecc_curve_get_oid(gnutls_ecc_curve_t curve); >gnutls_ecc_curve_t _gnutls_oid_to_ecc_curve(const char *oid); >gnutls_ecc_curve_t _gnutls_ecc_bits_to_curve(int bits); > > >static inline int _gnutls_kx_is_ecc(gnutls_kx_algorithm_t kx) >{ > if (kx == GNUTLS_KX_ECDHE_RSA || kx == GNUTLS_KX_ECDHE_ECDSA || > kx == GNUTLS_KX_ANON_ECDH || kx == GNUTLS_KX_ECDHE_PSK) > return 1; > > return 0; >} > >static inline int _sig_is_ecdsa(gnutls_sign_algorithm_t sig) >{ > if (sig == GNUTLS_SIGN_ECDSA_SHA1 || sig == GNUTLS_SIGN_ECDSA_SHA224 || > sig == GNUTLS_SIGN_ECDSA_SHA256 || sig == GNUTLS_SIGN_ECDSA_SHA384 || > sig == GNUTLS_SIGN_ECDSA_SHA512) > return 1; > > return 0; >} ># 1053 "./gnutls_int.h" 2 >inline static size_t max_user_send_size(gnutls_session_t session, > record_parameters_st * > record_params) >{ > size_t max; > > if ((session->internals.transport == GNUTLS_DGRAM)) > max = gnutls_dtls_get_data_mtu(session); > else { > max = session->security_parameters.max_record_send_size; > > > if (_gnutls_cipher_is_block(record_params->cipher)) > max -= > _gnutls_cipher_get_block_size(record_params-> > cipher); > } > > return max; >} ># 24 "gnutls_str.c" 2 ># 1 "./gnutls_errors.h" 1 ># 27 "./gnutls_errors.h" ># 1 "./gnutls_global.h" 1 ># 26 "./gnutls_global.h" ># 1 "/usr/include/libtasn1.h" 1 3 4 ># 38 "/usr/include/libtasn1.h" 3 4 ># 1 "./../gl/sys/types.h" 1 3 4 ># 20 "./../gl/sys/types.h" 3 4 > ># 21 "./../gl/sys/types.h" 3 ># 39 "/usr/include/libtasn1.h" 2 3 4 ># 1 "./../gl/time.h" 1 3 4 ># 20 "./../gl/time.h" 3 4 > ># 21 "./../gl/time.h" 3 ># 40 "/usr/include/libtasn1.h" 2 3 4 ># 1 "./../gl/stdio.h" 1 3 4 ># 20 "./../gl/stdio.h" 3 4 > ># 21 "./../gl/stdio.h" 3 ># 41 "/usr/include/libtasn1.h" 2 3 4 ># 117 "/usr/include/libtasn1.h" 3 4 > typedef struct asn1_node_st asn1_node_st; > > typedef asn1_node_st *asn1_node; ># 129 "/usr/include/libtasn1.h" 3 4 > struct asn1_static_node_st > { > const char *name; > unsigned int type; > const void *value; > }; > typedef struct asn1_static_node_st asn1_static_node; ># 177 "/usr/include/libtasn1.h" 3 4 > struct asn1_data_node_st > { > const char *name; > const void *value; > unsigned int value_len; > unsigned int type; > }; > typedef struct asn1_data_node_st asn1_data_node_st; ># 200 "/usr/include/libtasn1.h" 3 4 > extern int > asn1_parser2tree (const char *file, > asn1_node * definitions, char *error_desc); > > extern int > asn1_parser2array (const char *inputFileName, > const char *outputFileName, > const char *vectorName, char *error_desc); > > extern int > asn1_array2tree (const asn1_static_node * array, > asn1_node * definitions, char *errorDescription); > > extern void > asn1_print_structure (FILE * out, asn1_node structure, > const char *name, int mode); > > extern int > asn1_create_element (asn1_node definitions, > const char *source_name, asn1_node * element); > > extern int asn1_delete_structure (asn1_node * structure); > > extern int asn1_delete_structure2 (asn1_node * structure, unsigned int flags); > > extern int > asn1_delete_element (asn1_node structure, const char *element_name); > > extern int > asn1_write_value (asn1_node node_root, const char *name, > const void *ivalue, int len); > > extern int > asn1_read_value (asn1_node root, const char *name, > void *ivalue, int *len); > > extern int > asn1_read_value_type (asn1_node root, const char *name, > void *ivalue, int *len, unsigned int *etype); > > extern int > asn1_read_node_value (asn1_node node, asn1_data_node_st * data); > > extern int > asn1_number_of_elements (asn1_node element, const char *name, int *num); > > extern int > asn1_der_coding (asn1_node element, const char *name, > void *ider, int *len, char *ErrorDescription); > > extern int > asn1_der_decoding (asn1_node * element, const void *ider, > int len, char *errorDescription); > > extern int > asn1_der_decoding_element (asn1_node * structure, > const char *elementName, > const void *ider, int len, > char *errorDescription); > > extern int > asn1_der_decoding_startEnd (asn1_node element, > const void *ider, int len, > const char *name_element, > int *start, int *end); > > extern int > asn1_expand_any_defined_by (asn1_node definitions, asn1_node * element); > > extern int > asn1_expand_octet_string (asn1_node definitions, > asn1_node * element, > const char *octetName, const char *objectName); > > extern int > asn1_read_tag (asn1_node root, const char *name, > int *tagValue, int *classValue); > > extern const char *asn1_find_structure_from_oid (asn1_node > definitions, > const char > *oidValue); > > extern const char *asn1_check_version (const char *req_version); > > extern const char *asn1_strerror (int error); > > extern void asn1_perror (int error); > > > > > extern long > asn1_get_length_der (const unsigned char *der, int der_len, int *len); > > extern long > asn1_get_length_ber (const unsigned char *ber, int ber_len, int *len); > > extern void > asn1_length_der (unsigned long int len, unsigned char *der, int *der_len); > > > > extern > int asn1_decode_simple_der (unsigned int etype, const unsigned char *der, > unsigned int der_len, > const unsigned char **str, > unsigned int *str_len); > > extern int > asn1_encode_simple_der (unsigned int etype, const unsigned char *str, > unsigned int str_len, unsigned char *tl, > unsigned int *tl_len); > > extern asn1_node > asn1_find_node (asn1_node pointer, const char *name); > > extern int > asn1_copy_node (asn1_node dst, const char *dst_name, > asn1_node src, const char *src_name); > > > > extern int > asn1_get_tag_der (const unsigned char *der, int der_len, > unsigned char *cls, int *len, unsigned long *tag); > > extern void > asn1_octet_der (const unsigned char *str, int str_len, > unsigned char *der, int *der_len); > > extern int > asn1_get_octet_der (const unsigned char *der, int der_len, > int *ret_len, unsigned char *str, > int str_size, int *str_len); > > extern void asn1_bit_der (const unsigned char *str, int bit_len, > unsigned char *der, int *der_len); > > extern int > asn1_get_bit_der (const unsigned char *der, int der_len, > int *ret_len, unsigned char *str, > int str_size, int *bit_len); > > > > typedef int asn1_retCode; ># 27 "./gnutls_global.h" 2 > > >int gnutls_is_secure_memory(const void *mem); > >extern asn1_node _gnutls_pkix1_asn; >extern asn1_node _gnutls_gnutls_asn; ># 41 "./gnutls_global.h" >extern gnutls_log_func _gnutls_log_func; >extern gnutls_audit_log_func _gnutls_audit_log_func; >extern int _gnutls_log_level; >extern int gnutls_crypto_init(void); >extern void gnutls_crypto_deinit(void); ># 28 "./gnutls_errors.h" 2 ># 41 "./gnutls_errors.h" >int _gnutls_asn2err(int asn_err); >void _gnutls_log(int, const char *fmt, ...) > > __attribute__ ((format(printf, 2, 3))); > > > > >void _gnutls_audit_log(gnutls_session_t, const char *fmt, ...) > > __attribute__ ((format(printf, 2, 3))); > > > > >void _gnutls_mpi_log(const char *prefix, bigint_t a); ># 94 "./gnutls_errors.h" >static inline > > __attribute__ ((always_inline)) > >int gnutls_assert_val_int(int val, const char *file, int line) >{ > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", file, line); } while(0); > return val; >} ># 25 "gnutls_str.c" 2 > > > ># 1 "./../gl/c-ctype.h" 1 ># 120 "./../gl/c-ctype.h" >extern _Bool c_isascii (int c) __attribute__ ((__const__)); > >extern _Bool c_isalnum (int c) __attribute__ ((__const__)); >extern _Bool c_isalpha (int c) __attribute__ ((__const__)); >extern _Bool c_isblank (int c) __attribute__ ((__const__)); >extern _Bool c_iscntrl (int c) __attribute__ ((__const__)); >extern _Bool c_isdigit (int c) __attribute__ ((__const__)); >extern _Bool c_islower (int c) __attribute__ ((__const__)); >extern _Bool c_isgraph (int c) __attribute__ ((__const__)); >extern _Bool c_isprint (int c) __attribute__ ((__const__)); >extern _Bool c_ispunct (int c) __attribute__ ((__const__)); >extern _Bool c_isspace (int c) __attribute__ ((__const__)); >extern _Bool c_isupper (int c) __attribute__ ((__const__)); >extern _Bool c_isxdigit (int c) __attribute__ ((__const__)); > >extern int c_tolower (int c) __attribute__ ((__const__)); >extern int c_toupper (int c) __attribute__ ((__const__)); ># 29 "gnutls_str.c" 2 ># 1 "vasprintf.h" 1 > > ># 1 "../config.h" 1 ># 4 "vasprintf.h" 2 ># 30 "gnutls_str.c" 2 > > > > > > > >void _gnutls_str_cat(char *dest, size_t dest_tot_size, const char *src) >{ > size_t str_size = strlen(src); > size_t dest_size = strlen(dest); > > if (dest_tot_size - dest_size > str_size) { > strcat(dest, src); > } else { > if (dest_tot_size - dest_size > 0) { > strncat(dest, src, > (dest_tot_size - dest_size) - 1); > dest[dest_tot_size - 1] = 0; > } > } >} > >void _gnutls_str_cpy(char *dest, size_t dest_tot_size, const char *src) >{ > size_t str_size = strlen(src); > > if (dest_tot_size > str_size) { > strcpy(dest, src); > } else { > if (dest_tot_size > 0) { > strncpy(dest, src, (dest_tot_size) - 1); > dest[dest_tot_size - 1] = 0; > } > } >} > >void >_gnutls_mem_cpy(char *dest, size_t dest_tot_size, const char *src, > size_t src_size) >{ > > if (dest_tot_size >= src_size) { > memcpy(dest, src, src_size); > } else { > if (dest_tot_size > 0) { > memcpy(dest, src, dest_tot_size); > } > } >} > >void _gnutls_buffer_init(gnutls_buffer_st * str) >{ > str->data = str->allocd = ((void *)0); > str->max_length = 0; > str->length = 0; >} > >void _gnutls_buffer_replace_data(gnutls_buffer_st * buf, > gnutls_datum_t * data) >{ > gnutls_free(buf->allocd); > buf->allocd = buf->data = data->data; > buf->max_length = buf->length = data->size; >} > >void _gnutls_buffer_clear(gnutls_buffer_st * str) >{ > if (str == ((void *)0) || str->allocd == ((void *)0)) > return; > gnutls_free(str->allocd); > > str->data = str->allocd = ((void *)0); > str->max_length = 0; > str->length = 0; >} > > > >int >_gnutls_buffer_append_data(gnutls_buffer_st * dest, const void *data, > size_t data_size) >{ > size_t tot_len = data_size + dest->length; > > if (data_size == 0) > return 0; > > if (dest->max_length >= tot_len) { > size_t unused = ((ssize_t)((ptrdiff_t)dest->data-(ptrdiff_t)dest->allocd)); > > if (dest->max_length - unused <= tot_len) { > if (dest->length && dest->data) > memmove(dest->allocd, dest->data, > dest->length); > > dest->data = dest->allocd; > } > memmove(&dest->data[dest->length], data, data_size); > dest->length = tot_len; > > return tot_len; > } else { > size_t unused = ((ssize_t)((ptrdiff_t)dest->data-(ptrdiff_t)dest->allocd)); > size_t new_len = > (((data_size)>(1024))?(data_size):(1024)) + (((dest->max_length)>(1024))?(dest->max_length):(1024)) > ; > > dest->allocd = gnutls_realloc_fast(dest->allocd, new_len); > if (dest->allocd == ((void *)0)) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",140); } while(0);; > return -25; > } > dest->max_length = new_len; > dest->data = dest->allocd + unused; > > if (dest->length && dest->data) > memmove(dest->allocd, dest->data, dest->length); > dest->data = dest->allocd; > > memcpy(&dest->data[dest->length], data, data_size); > dest->length = tot_len; > > return tot_len; > } >} > >int _gnutls_buffer_resize(gnutls_buffer_st * dest, size_t new_size) >{ > if (dest->max_length >= new_size) { > size_t unused = ((ssize_t)((ptrdiff_t)dest->data-(ptrdiff_t)dest->allocd)); > if (dest->max_length - unused <= new_size) { > if (dest->length && dest->data) > memmove(dest->allocd, dest->data, > dest->length); > dest->data = dest->allocd; > } > > return 0; > } else { > size_t unused = ((ssize_t)((ptrdiff_t)dest->data-(ptrdiff_t)dest->allocd)); > size_t alloc_len = > (((new_size)>(1024))?(new_size):(1024)) + (((dest->max_length)>(1024))?(dest->max_length):(1024)) > ; > > dest->allocd = > gnutls_realloc_fast(dest->allocd, alloc_len); > if (dest->allocd == ((void *)0)) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",178); } while(0);; > return -25; > } > dest->max_length = alloc_len; > dest->data = dest->allocd + unused; > > if (dest->length && dest->data) > memmove(dest->allocd, dest->data, dest->length); > dest->data = dest->allocd; > > return 0; > } >} > > > > >int _gnutls_buffer_append_str(gnutls_buffer_st * dest, const char *src) >{ > int ret; > ret = _gnutls_buffer_append_data(dest, src, strlen(src) + 1); > if (ret >= 0) > dest->length--; > > return ret; >} > > > > > >void >_gnutls_buffer_pop_datum(gnutls_buffer_st * str, gnutls_datum_t * data, > size_t req_size) >{ > > if (str->length == 0) { > data->data = ((void *)0); > data->size = 0; > return; > } > > if (req_size > str->length) > req_size = str->length; > > data->data = str->data; > data->size = req_size; > > str->data += req_size; > str->length -= req_size; > > > if (str->length == 0) { > str->data = str->allocd; > } > > return; >} > > > > >int _gnutls_buffer_to_datum(gnutls_buffer_st * str, gnutls_datum_t * data) >{ > > if (str->length == 0) { > data->data = ((void *)0); > data->size = 0; > _gnutls_buffer_clear(str); > return 0; > } > > if (str->allocd != str->data) { > data->data = gnutls_malloc(str->length); > if (data->data == ((void *)0)) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",253); } while(0);; > _gnutls_buffer_clear(str); > return -25; > } > memcpy(data->data, str->data, str->length); > data->size = str->length; > _gnutls_buffer_clear(str); > } else { > data->data = str->data; > data->size = str->length; > _gnutls_buffer_init(str); > } > > return 0; >} > > > >void >_gnutls_buffer_pop_data(gnutls_buffer_st * str, void *data, > size_t * req_size) >{ > gnutls_datum_t tdata; > > _gnutls_buffer_pop_datum(str, &tdata, *req_size); > if (tdata.data == ((void *)0)) { > *req_size = 0; > return; > } > > *req_size = tdata.size; > memcpy(data, tdata.data, tdata.size); > > return; >} > >int >_gnutls_buffer_append_printf(gnutls_buffer_st * dest, const char *fmt, ...) >{ > va_list args; > int len; > char *str; > > __builtin_va_start(args,fmt); > len = vasprintf(&str, fmt, args); > __builtin_va_end(args); > > if (len < 0 || !str) > return -1; > > len = _gnutls_buffer_append_str(dest, str); > > free(str); > > return len; >} > >static int >_gnutls_buffer_insert_data(gnutls_buffer_st * dest, int pos, > const void *str, size_t str_size) >{ > size_t orig_length = dest->length; > int ret; > > ret = _gnutls_buffer_resize(dest, dest->length + str_size); > if (ret < 0) > return ret; > > memmove(&dest->data[pos + str_size], &dest->data[pos], > orig_length - pos); > > memcpy(&dest->data[pos], str, str_size); > dest->length += str_size; > > return 0; >} > >static void >_gnutls_buffer_delete_data(gnutls_buffer_st * dest, int pos, > size_t str_size) >{ > memmove(&dest->data[pos], &dest->data[pos + str_size], > dest->length - pos - str_size); > > dest->length -= str_size; > > return; >} > > >int >_gnutls_buffer_escape(gnutls_buffer_st * dest, int all, > const char *const invalid_chars) >{ > int rv = -1; > char t[5]; > unsigned int pos = 0; > > while (pos < dest->length) { > > if (all != 0 > || (dest->data[pos] == '\\' > || (__extension__ (__builtin_constant_p (dest->data[pos]) && !__builtin_constant_p (invalid_chars) && (dest->data[pos]) == '\0' ? (char *) __rawmemchr (invalid_chars, dest->data[pos]) : __builtin_strchr (invalid_chars, dest->data[pos]))) > || !({ int __c = (dest->data[pos]); (__c >= '!' && __c <= '~'); }))) { > > snprintf(t, sizeof(t), "%%%.2X", > (unsigned int) dest->data[pos]); > > _gnutls_buffer_delete_data(dest, pos, 1); > > if (_gnutls_buffer_insert_data(dest, pos, t, 3) < > 0) { > rv = -1; > goto cleanup; > } > pos += 3; > } else > pos++; > } > > rv = 0; > > cleanup: > > return rv; >} > >int _gnutls_buffer_unescape(gnutls_buffer_st * dest) >{ > int rv = -1; > unsigned int pos = 0; > > while (pos < dest->length) { > if (dest->data[pos] == '%') { > char b[3]; > unsigned int u; > unsigned char x; > > b[0] = dest->data[pos + 1]; > b[1] = dest->data[pos + 2]; > b[2] = 0; > > sscanf(b, "%02x", &u); > > x = u; > > _gnutls_buffer_delete_data(dest, pos, 3); > _gnutls_buffer_insert_data(dest, pos, &x, 1); > } > pos++; > } > > rv = 0; > > return rv; >} > > > > > > > >char *_gnutls_bin2hex(const void *_old, size_t oldlen, > char *buffer, size_t buffer_size, > const char *separator) >{ > unsigned int i, j; > const uint8_t *old = _old; > int step = 2; > const char empty[] = ""; > > if (separator != ((void *)0) && separator[0] != 0) > step = 3; > else > separator = empty; > > if (buffer_size < 3) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",431); } while(0);; > return ((void *)0); > } > > i = j = 0; > sprintf(&buffer[j], "%.2x", old[i]); > j += 2; > i++; > > for (; i < oldlen && j + step < buffer_size; j += step) { > sprintf(&buffer[j], "%s%.2x", separator, old[i]); > i++; > } > buffer[j] = '\0'; > > return buffer; >} ># 463 "gnutls_str.c" >int >gnutls_hex2bin(const char *hex_data, > size_t hex_size, void *bin_data, size_t * bin_size) >{ > return _gnutls_hex2bin(hex_data, hex_size, (void *) bin_data, > bin_size); >} > >int >_gnutls_hex2bin(const char *hex_data, size_t hex_size, uint8_t * bin_data, > size_t * bin_size) >{ > unsigned int i, j; > uint8_t hex2_data[3]; > unsigned long val; > > hex2_data[2] = 0; > > for (i = j = 0; i < hex_size;) { > if (!((*__ctype_b_loc ())[(int) ((hex_data[i]))] & (unsigned short int) _ISxdigit)) { > i++; > continue; > } > > if (j > *bin_size) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",488); } while(0);; > return -51; > } > > hex2_data[0] = hex_data[i]; > hex2_data[1] = hex_data[i + 1]; > i += 2; > > val = strtoul((char *) hex2_data, ((void *)0), 16); > if (val == (2147483647L * 2UL + 1UL)) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",498); } while(0);; > return -302; > } > bin_data[j] = val; > j++; > } > *bin_size = j; > > return 0; >} ># 523 "gnutls_str.c" >int >gnutls_hex_decode(const gnutls_datum_t * hex_data, void *result, > size_t * result_size) >{ > int ret; > > ret = > _gnutls_hex2bin((char *) hex_data->data, hex_data->size, > (uint8_t *) result, result_size); > if (ret < 0) > return ret; > > return 0; >} ># 552 "gnutls_str.c" >int >gnutls_hex_encode(const gnutls_datum_t * data, char *result, > size_t * result_size) >{ > size_t res = data->size + data->size + 1; > > if (*result_size < res) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",559); } while(0);; > return -51; > } > > _gnutls_bin2hex(data->data, data->size, result, *result_size, > ((void *)0)); > *result_size = res; > > return 0; >} > >static int >hostname_compare_raw(const char *certname, > size_t certnamesize, const char *hostname) >{ > if (certnamesize == strlen(hostname) && memcmp(hostname, certname, certnamesize) == 0) > return 1; > return 0; >} > >static int >hostname_compare_ascii(const char *certname, > size_t certnamesize, const char *hostname) >{ > for (; > *certname && *hostname > && ({ int __c = (*certname); (__c >= 'a' && __c <= 'z' ? __c - 'a' + 'A' : __c); }) == ({ int __c = (*hostname); (__c >= 'a' && __c <= 'z' ? __c - 'a' + 'A' : __c); }); > certname++, hostname++, certnamesize--); > > > if (certnamesize == 0 && *hostname == '\0') > return 1; > > return 0; >} ># 605 "gnutls_str.c" >int >_gnutls_hostname_compare(const char *certname, > size_t certnamesize, const char *hostname, unsigned vflags) >{ > char *p; > unsigned i; > > for (i=0;i<certnamesize;i++) { > if (({ int __c = (certname[i]); (__c >= 0x00 && __c <= 0x7f); }) == 0) > return hostname_compare_raw(certname, certnamesize, hostname); > } > > if (*certname == '*' && !(vflags & GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS)) { > > > > > p = strrchr(certname, '.'); > if (p == ((void *)0) || (__extension__ (__builtin_constant_p ('.') && !__builtin_constant_p (certname) && ('.') == '\0' ? (char *) __rawmemchr (certname, '.') : __builtin_strchr (certname, '.'))) == p || p[1] == 0) { > return 0; > } > > certname++; > certnamesize--; > > while (1) { > if (hostname_compare_ascii(certname, certnamesize, hostname)) > return 1; > > > > if (*hostname == '\0' || *hostname == '.') > break; > hostname++; > } > > return 0; > } else { > return hostname_compare_ascii(certname, certnamesize, hostname); > } >} > >int >_gnutls_buffer_append_prefix(gnutls_buffer_st * buf, int pfx_size, > size_t data_size) >{ > uint8_t ss[4]; > > if (pfx_size == 32) { > _gnutls_write_uint32(data_size, ss); > pfx_size = 4; > } else if (pfx_size == 24) { > _gnutls_write_uint24(data_size, ss); > pfx_size = 3; > } else if (pfx_size == 16) { > _gnutls_write_uint16(data_size, ss); > pfx_size = 2; > } else if (pfx_size == 8) { > ss[0] = data_size; > pfx_size = 1; > } else > return gnutls_assert_val_int(-50, "gnutls_str.c", 666); > > return _gnutls_buffer_append_data(buf, ss, pfx_size); >} > > > > >int >_gnutls_buffer_pop_prefix(gnutls_buffer_st * buf, size_t * data_size, > int check) >{ > size_t size; > > if (buf->length < 4) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",681); } while(0);; > return -302; > } > > size = _gnutls_read_uint32(buf->data); > if (check && size > buf->length - 4) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",687); } while(0);; > return -302; > } > > buf->data += 4; > buf->length -= 4; > > *data_size = size; > > return 0; >} > >int >_gnutls_buffer_pop_datum_prefix(gnutls_buffer_st * buf, > gnutls_datum_t * data) >{ > size_t size; > int ret; > > ret = _gnutls_buffer_pop_prefix(buf, &size, 1); > if (ret < 0) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",708); } while(0);; > return ret; > } > > if (size > 0) { > size_t osize = size; > _gnutls_buffer_pop_datum(buf, data, size); > if (osize != data->size) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",716); } while(0);; > return -302; > } > } else { > data->size = 0; > data->data = ((void *)0); > } > > return 0; >} > >int >_gnutls_buffer_append_data_prefix(gnutls_buffer_st * buf, > int pfx_size, const void *data, > size_t data_size) >{ > int ret = 0, ret1; > > ret1 = _gnutls_buffer_append_prefix(buf, pfx_size, data_size); > if (ret1 < 0) > return gnutls_assert_val_int(ret1, "gnutls_str.c", 736); > > if (data_size > 0) { > ret = _gnutls_buffer_append_data(buf, data, data_size); > > if (ret < 0) > return gnutls_assert_val_int(ret, "gnutls_str.c", 742); > } > > return ret + ret1; >} > >int _gnutls_buffer_append_mpi(gnutls_buffer_st * buf, int pfx_size, > bigint_t mpi, int lz) >{ > gnutls_datum_t dd; > int ret; > > if (lz) > ret = _gnutls_mpi_dprint_lz(mpi, &dd); > else > ret = _gnutls_mpi_dprint(mpi, &dd); > > if (ret < 0) > return gnutls_assert_val_int(ret, "gnutls_str.c", 760); > > ret = > _gnutls_buffer_append_data_prefix(buf, pfx_size, dd.data, > dd.size); > > _gnutls_free_datum(&dd); > > return ret; >} > >int >_gnutls_buffer_pop_data_prefix(gnutls_buffer_st * buf, void *data, > size_t * data_size) >{ > size_t size; > int ret; > > ret = _gnutls_buffer_pop_prefix(buf, &size, 1); > if (ret < 0) { > do { if (__builtin_expect((_gnutls_log_level >= 3), 0)) _gnutls_log( 3, "ASSERT: %s:%d\n", "gnutls_str.c",780); } while(0);; > return ret; > } > > if (size > 0) > _gnutls_buffer_pop_data(buf, data, data_size); > > return 0; >} > >void >_gnutls_buffer_hexprint(gnutls_buffer_st * str, > const void *_data, size_t len) >{ > size_t j; > const unsigned char *data = _data; > > if (len == 0) > _gnutls_buffer_append_str(str, "00"); > else { > for (j = 0; j < len; j++) > _gnutls_buffer_append_printf(str, "%.2x", > (unsigned) data[j]); > } >} > >void >_gnutls_buffer_hexdump(gnutls_buffer_st * str, const void *_data, > size_t len, const char *spc) >{ > size_t j; > const unsigned char *data = _data; > > if (spc) > _gnutls_buffer_append_str(str, spc); > for (j = 0; j < len; j++) { > if (((j + 1) % 16) == 0) { > _gnutls_buffer_append_printf(str, "%.2x\n", > (unsigned) data[j]); > if (spc && j != (len - 1)) > _gnutls_buffer_append_str(str, spc); > } else if (j == (len - 1)) > _gnutls_buffer_append_printf(str, "%.2x", > (unsigned) data[j]); > else > _gnutls_buffer_append_printf(str, "%.2x:", > (unsigned) data[j]); > } > if ((j % 16) != 0) > _gnutls_buffer_append_str(str, "\n"); >} > >void >_gnutls_buffer_asciiprint(gnutls_buffer_st * str, > const char *data, size_t len) >{ > size_t j; > > for (j = 0; j < len; j++) > if (({ int __c = (data[j]); (__c >= ' ' && __c <= '~'); })) > _gnutls_buffer_append_printf(str, "%c", > (unsigned char) > data[j]); > else > _gnutls_buffer_append_printf(str, "."); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1102324
: 914138 |
914143