PUD: add wireformat libraries
[olsrd.git] / lib / pud / wireformat / include / OlsrdPudWireFormat / nodeIdConversion.h
1 #ifndef _PUD_NODEIDCONVERSION_H_
2 #define _PUD_NODEIDCONVERSION_H_
3
4 #include "olsr_protocol.h"
5
6 #include <OlsrdPudWireFormat/wireFormat.h>
7 #include <stddef.h>
8
9 void getNodeTypeStringFromOlsr(int ipVersion,
10                 PudOlsrPositionUpdate * olsrGpsMessage, char * nodeIdTypeBuffer,
11                 int nodeIdTypeBufferSize);
12
13 void getNodeIdStringFromOlsr(int ipVersion, union olsr_message *olsrMessage,
14                 const char **nodeIdStr, char *nodeIdStrBuffer,
15                 unsigned int nodeIdStrBufferSize);
16
17 #endif /* _PUD_NODEIDCONVERSION_H_ */