Commit Graph

7 Commits

Author SHA1 Message Date
Matteo Cypriani 0b744995f4 [i-c] Use -I in Makefiles to avoid full path in .c
Use -I to indicate the path to the libraries (libowlps &
libowlps-client), instead of indicating the path into the source files.
2011-03-25 11:48:22 +01:00
Matteo Cypriani 686ab87a1c [lib-client] Rename create_socket_to_aggregator()
This function had to be renamed, since it allows (and it is used) to
open sockets to other hosts than the aggregator.
2011-03-16 16:45:37 +01:00
Matteo Cypriani 0045ba8a14 [lib-client] Change function prefix (owlclient_)
Change the function prefix from "owlps_" to "owlclient_".
2011-03-16 16:45:37 +01:00
Matteo Cypriani 8123ee3096 Switch to stdint types where possible
The use of integer types from inttypes.h & stdint.h should help with
portability issues. It will also force the data transmission between
different architectures to work as intended (if we handle endianess
conversions correctly!).
2011-03-16 16:45:37 +01:00
Matteo Cypriani 2d62705edd [Listener] Use lib-client functions to send Hellos 2011-03-16 14:52:57 +01:00
Matteo Cypriani dcdab12c27 [lib-client] Fix interface, rename variables
Parameter 'iface' of the function owlps_create_socket_to_aggregator()
can now be NULL.

Use variable name 'packet' instead of 'buf'.
2011-03-16 14:52:55 +01:00
Matteo Cypriani 45258e9f4c [Client] Create libowlps-client from owlps-client
Move code related to sending requests into the new library
libowlps-client. This library will also be used by the listener to send
autocalibration requests.
Currently, it is statically linked because a dynamic linking should be
useless (because client and listener aren't normally on the same
machine).
2011-03-16 14:52:20 +01:00