Commit Graph

12 Commits

Author SHA1 Message Date
Petter Reinholdtsen
804af66308 Add supid copyright headers on request from Andrew Bettison in the serval project. 2013-12-07 18:38:14 +01:00
Petter Reinholdtsen
8cdeda51f4 Correct test of FILE value. Get rid of compiler warning. 2013-10-13 22:19:18 +02:00
Andrew Bettison
300ec986f1 Fix warnings from gcc 4.6.3 2013-03-18 16:48:15 +10:30
Andrew Bettison
d3c2205d44 Add os.c and "os.h", replacing mkdirs.c
The new header "os.h" defines a supplemental API around existing basic
operating system services (system calls and standard library functions).

Moved some function prototypes from serval.h and net.h into os.h.

This allows non-servald executables to take advantage of this API without
having to include serval.h and bringing in all the other servald link-time
baggage.
2012-12-04 10:12:35 +10:30
Daniel O'Connor
9546903ce7 Don't use an uninitialised variable.
A compiler is well within its rights to throw this value away completely (and clang does so).

See http://kqueue.org/blog/2012/06/25/more-randomness-or-less/
2012-09-01 16:32:50 +09:30
gardners
1eb4c34015 Renamed mphlr.h to serval.h
(also some temporary debugging has been added in some places)
2012-02-23 12:45:42 +10:30
gardners
09ca959fae Assorted unknown changes. Updated Makefile.in etc to properly build serval.c for building asterisk module. 2011-06-15 13:52:30 +09:30
gardners
b9f5448cc1 More work on overlay. Fixed nasty srandomdev() segfault bug. 2011-04-30 23:22:22 +09:30
Jeremy Lakeman
bfccb3816d Allow clients to request variables for all records by passing empty did.
Always add DONE flag to the last packet sent.
2011-04-27 12:17:26 +09:30
Jeremy Lakeman
59a0a4a2a0 Build a win32 console exe with VS2008 express 2011-03-30 22:17:11 +10:30
gardners
601ca12499 Added support for batmand.peers file for reliable peer querying.
Re-ported for asterisk module.
2011-03-21 13:08:35 +10:30
paul.gardner.stephen
f225465dfc Initial check in
git-svn-id: http://serval-dna.googlecode.com/svn/trunk/trunk/dna@2 6d01b88e-114a-4e5d-930d-818638e25ad7
2010-07-13 12:15:46 +00:00