1 /* internal.h internal header file for gsasl
2 * Copyright (C) 2002, 2003, 2004, 2005, 2006 Simon Josefsson
4 * This file is part of GNU SASL.
6 * GNU SASL is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * GNU SASL is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with GNU SASL; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
37 #include <sys/types.h>
38 #include <sys/socket.h> /* for AF_INET */
39 #include <sys/select.h> /* select() */
45 #ifdef HAVE_SYS_TIME_H
46 # include <sys/time.h> /* select() */
49 # include <pwd.h> /* getpwnam */
51 #ifdef HAVE_NETINET_IN_H
52 # include <netinet/in.h>
62 #include "getaddrinfo.h"
71 # define setlocale(Category, Locale) /* empty */
73 #define _(String) gettext (String)
74 #define gettext_noop(String) String
75 #define N_(String) gettext_noop (String)
77 extern int writeln (const char *str
);
78 extern int readln (char **out
);
80 #include "gsasl_cmd.h"
81 extern struct gengetopt_args_info args_info
;
83 #endif /* _INTERNAL_H */