Commit graph

110 commits

Author SHA1 Message Date
Guus Sliepen
507a83c746 Add missing definitions. 2003-11-08 15:09:03 +00:00
Guus Sliepen
1d7706a850 Update missing definitions, structs describing headers get __packed__ attribute. 2003-10-08 11:34:55 +00:00
Guus Sliepen
5b556c0971 Forgot to #include "xalloc.h" 2003-10-08 11:33:54 +00:00
Guus Sliepen
5900c07fab PIDs are of type pid_t, and use %ld when reading/writing them to the pidfile. 2003-10-06 16:13:08 +00:00
Guus Sliepen
77cb10dac0 Ethernet protocol types. 2003-10-06 14:16:51 +00:00
Guus Sliepen
6c5f3d8b74 We don't have to tell GCC how to cast. 2003-08-28 21:05:11 +00:00
Guus Sliepen
107448698f Compilation fix. 2003-08-17 12:03:40 +00:00
Guus Sliepen
2236e05e51 Fix fake getnameinfo() and check more arguments. 2003-08-17 08:32:39 +00:00
Guus Sliepen
03995ca52e Simplify fake getname/addrinfo() functions, possibly fixing freeing a NULL pointer. 2003-08-16 12:10:28 +00:00
Guus Sliepen
96f5d98fc2 Small things. 2003-08-08 19:56:11 +00:00
Guus Sliepen
b0825f36b7 Better error messages under Windows. 2003-08-08 19:39:41 +00:00
Guus Sliepen
7bed2a7099 Cygwin needs windows.h. 2003-08-03 12:37:55 +00:00
Guus Sliepen
f08fc359a0 Install tinc as a service under Windows (MinGW). Remove cleanup_and_exit(),
either exit() directly on errors or let main_loop() shutdown gracefully.
2003-08-02 20:50:38 +00:00
Guus Sliepen
da3078c63a Check if the compiler knows about the __malloc__ attribute. 2003-07-31 11:17:39 +00:00
Guus Sliepen
d798b8b3d8 Prevent definitions from messing up attributes. 2003-07-30 21:52:41 +00:00
Guus Sliepen
721e4caee0 Native Windows support. 2003-07-29 22:59:01 +00:00
Guus Sliepen
714fb32d03 Fix compile errors and warnings. 2003-07-29 10:50:15 +00:00
Guus Sliepen
0e94541331 More checks for missing functions. 2003-07-28 22:06:09 +00:00
Guus Sliepen
83263b7446 Sprinkle around a lot of const and some C99 initialisers. 2003-07-24 12:08:16 +00:00
Guus Sliepen
c1e8152f4f Be consistent. 2003-07-21 13:14:02 +00:00
Guus Sliepen
96ee04b678 Check for ethernet/ipv4/ipv6 related structures. 2003-07-18 13:42:35 +00:00
Guus Sliepen
271d3537fe Remove all #ifndefs from route.c 2003-07-18 12:21:03 +00:00
Guus Sliepen
b0a4f7b555 Even more missing definitions. 2003-07-18 12:16:24 +00:00
Guus Sliepen
e449d94cae Big header file cleanup: everything that has to do with standard system
libraries is moved to system.h.
2003-07-17 15:06:27 +00:00
Guus Sliepen
085d33e626 Update copyrights. 2003-07-12 17:48:38 +00:00
Guus Sliepen
5db596c684 Simplify logging, update copyrights and some minor cleanups. 2003-07-12 17:41:48 +00:00
Guus Sliepen
2a7f11c0e9 More missing IPv6 definitions and autoconf checks to make sure it compiles
under Solaris 2.6.
2003-07-11 16:13:00 +00:00
Guus Sliepen
71f8124ea4 More missing definitions. 2003-07-07 11:50:52 +00:00
Guus Sliepen
a88f1edf29 Actually add ipv6.h. 2003-07-07 11:13:31 +00:00
Guus Sliepen
30c0381d71 Provide all missing IPv6 definitions in lib/ipv6.h. 2003-07-07 11:11:33 +00:00
Guus Sliepen
1401faf608 Sprinkling the source with static and attributes. 2003-07-06 23:16:29 +00:00
Guus Sliepen
0b9175e998 Define logger(), cleans up source code and allows us to write log entries
to a separate file.
2003-07-06 22:11:37 +00:00
Guus Sliepen
cf63cbef2b Fixes from Wessel Danker's libavl. 2003-06-11 19:39:02 +00:00
Guus Sliepen
1783a3aaa9 Various fixes for autoconf and OpenSSL 0.9.7 and a missing header. 2003-01-17 00:43:58 +00:00
Guus Sliepen
5eca9520d9 Small fixes so tinc compiles out of the box on SunOS 5.8 2002-09-15 14:55:54 +00:00
Guus Sliepen
f6905582d0 Make sure malloc() is declared. 2002-09-10 22:13:22 +00:00
Guus Sliepen
eaf1208e9d Fix placement of #include "config.h" 2002-09-10 22:13:01 +00:00
Guus Sliepen
161f917dd0 Fix compiler warnings. 2002-09-10 09:40:25 +00:00
Guus Sliepen
6f9f6779e6 Remove redundant spaces. 2002-09-09 22:33:31 +00:00
Guus Sliepen
9f38e39463 Switch to K&R style indentation. 2002-09-09 21:49:16 +00:00
Guus Sliepen
5fc1ed17f4 Cleanups:
- Convert cp to cp(); so that automatic indenters work.
 - Convert constructions like if(x == NULL) to if(!x).
 - Move all assignments out of conditions.
2002-09-09 19:40:12 +00:00
Guus Sliepen
e4d85a6557 Typo. 2002-09-04 23:11:58 +00:00
Guus Sliepen
b4f87952bf Add missing headers. 2002-09-04 23:05:49 +00:00
Guus Sliepen
856de4c5fe Make sure setlocale() is available. 2002-09-03 20:42:05 +00:00
Guus Sliepen
912e7e968f Gettext 1.11.5 compatibility. 2002-08-24 12:11:40 +00:00
Guus Sliepen
c4cd199357 Include complete fake-getname/addrinfo from OpenSSH. 2002-07-12 11:45:21 +00:00
Guus Sliepen
627f7c22b4 s/sliepen.warande.net/sliepen.eu.org/g
s/itimmermans@bigfoot.com/ivo@o2w.nl/g
2002-06-21 10:11:37 +00:00
Ivo Timmermans
7608136a8d Include a few more header files 2002-06-09 16:12:04 +00:00
Ivo Timmermans
548551fd05 getnameinfo fixes 2002-06-09 15:50:12 +00:00
Ivo Timmermans
9d769e0bf2 OSX support 2002-06-09 15:26:10 +00:00