 |
Hamlib 4.5
|
26#define HAVE_ALLOCA_H 1
29#define HAVE_ARPA_INET_H 1
32#define HAVE_CFMAKERAW 1
39#define HAVE_DECL_GAI_STRERROR 1
61#define HAVE_GETADDRINFO 1
67#define HAVE_GETOPT_H 1
70#define HAVE_GETOPT_LONG 1
73#define HAVE_GETPAGESIZE 1
76#define HAVE_GETTIMEOFDAY 1
88#define HAVE_INET_NTOA 1
91#define HAVE_INTTYPES_H 1
112#define HAVE_LIBUSB_1_0_LIBUSB_H 1
118#define HAVE_LIMITS_H 1
121#define HAVE_LINUX_HIDRAW_H 1
124#define HAVE_LINUX_IOCTL_H 1
127#define HAVE_LINUX_PARPORT_H 1
130#define HAVE_LINUX_PPDEV_H 1
133#define HAVE_LOCALE_H 1
145#define HAVE_MALLOC_H 1
151#define HAVE_MEMMOVE 1
154#define HAVE_MEMORY_H 1
160#define HAVE_NANOSLEEP 1
163#define HAVE_NETDB_H 1
166#define HAVE_NETINET_IN_H 1
172#define HAVE_PTHREAD 1
175#define HAVE_PTHREAD_H 1
178#define HAVE_PTHREAD_PRIO_INHERIT 1
202#define HAVE_SETITIMER 1
205#define HAVE_SETLOCALE 1
208#define HAVE_SGTTY_H 1
211#define HAVE_SIGACTION 1
214#define HAVE_SIGINFO_T 1
220#define HAVE_SIG_ATOMIC_T 1
226#define HAVE_SNPRINTF 1
232#define HAVE_SOCKETPAIR 1
238#define HAVE_SSIZE_T 1
244#define HAVE_STDDEF_H 1
247#define HAVE_STDINT_H 1
250#define HAVE_STDLIB_H 1
259#define HAVE_STRERROR 1
262#define HAVE_STRINGS_H 1
265#define HAVE_STRING_H 1
268#define HAVE_STRNCASECMP 1
271#define HAVE_STRRCHR 1
280#define HAVE_STRUCT_ADDRINFO 1
283#define HAVE_STRUCT_TIMEZONE 1
289#define HAVE_SYS_IOCTL_H 1
292#define HAVE_SYS_PARAM_H 1
295#define HAVE_SYS_SELECT_H 1
298#define HAVE_SYS_SOCKET_H 1
301#define HAVE_SYS_STAT_H 1
304#define HAVE_SYS_TIME_H 1
307#define HAVE_SYS_TYPES_H 1
313#define HAVE_TERMIOS_H 1
316#define HAVE_TERMIO_H 1
319#define HAVE_UNISTD_H 1
325#define HAVE_VALUES_H 1
337#define HAVE_WINRADIO 1
346#define LT_OBJDIR ".libs/"
352#define PACKAGE "hamlib"
355#define PACKAGE_BUGREPORT "hamlib-developer@lists.sourceforge.net"
358#define PACKAGE_NAME "Hamlib"
361#define PACKAGE_STRING "Hamlib 4.5"
364#define PACKAGE_TARNAME "hamlib"
367#define PACKAGE_URL "http://www.hamlib.org"
370#define PACKAGE_VERSION "4.5"
385#define STDC_HEADERS 1
389# define _ALL_SOURCE 1
393# define _GNU_SOURCE 1
396#ifndef _POSIX_PTHREAD_SEMANTICS
397# define _POSIX_PTHREAD_SEMANTICS 1
400#ifndef _TANDEM_SOURCE
401# define _TANDEM_SOURCE 1
404#ifndef __EXTENSIONS__
405# define __EXTENSIONS__ 1
438int getopt (
int argc,
char *
const argv[],
const char * optstring);
440extern int optind, opterr, optopt;
443#ifndef HAVE_GETOPT_LONG
445int getopt_long (
int argc,
char *
const argv[],
const char * optstring,
446 const struct option * longopts,
int * longindex);
450int usleep(
unsigned long usec);
453#ifndef HAVE_GETTIMEOFDAY
454#ifdef HAVE_SYS_TIME_H
457#ifndef HAVE_STRUCT_TIMEZONE
463int gettimeofday(
struct timeval *tv,
struct timezone *tz);
467# define timersub(a, b, result) \
469 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
470 (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
471 if ((result)->tv_usec < 0) { \
472 --(result)->tv_sec; \
473 (result)->tv_usec += 1000000; \
479typedef size_t ssize_t;
493#ifndef HAVE_STRUCT_ADDRINFO
494#ifdef HAVE_NETINET_IN_H
495#include <netinet/in.h>
500#ifdef HAVE_ARPA_INET_H
501#include <arpa/inet.h>
503#ifdef HAVE_SYS_SOCKET_H
504#include <sys/socket.h>
513 socklen_t ai_addrlen;
514 struct sockaddr *ai_addr;
518#ifndef HAVE_GETADDRINFO
520#ifdef HAVE_NETINET_IN_H
521#include <netinet/in.h>
526#ifdef HAVE_ARPA_INET_H
527#include <arpa/inet.h>
529#ifdef HAVE_SYS_SOCKET_H
530#include <sys/socket.h>
536#define AI_PASSIVE 0x0001
539int getaddrinfo(
const char *node,
const char *service,
540 const struct addrinfo *hints,
struct addrinfo **res);
541void freeaddrinfo(
struct addrinfo *res);
544#if !defined(HAVE_DECL_GAI_STRERROR) && !defined(gai_strerror)
545const char *gai_strerror(
int errcode);