eb0958810ac1a859b6ede2bc16880b249a542f27
[olsrd.git] / lib / pud / src / nodeIdConversion.h
1 #ifndef _PUD_NODEIDCONVERSION_H_
2 #define _PUD_NODEIDCONVERSION_H_
3
4 /* Plugin includes */
5 #include "wireFormat.h"
6
7 /* OLSR includes */
8 #include "olsr_protocol.h"
9
10 /* System includes */
11 #include <stdbool.h>
12 #include <stddef.h>
13
14 size_t setupNodeInfoForOlsr(PudOlsrWireFormat * olsrGpsMessage,
15                 unsigned int olsrMessageSize);
16
17 void getNodeTypeStringFromOlsr(int ipVersion, union olsr_message * olsrMessage,
18                 char * nodeIdTypeBuffer, int nodeIdTypeBufferSize);
19
20 void getNodeIdStringFromOlsr(int ipVersion, union olsr_message *olsrMessage,
21                 const char **nodeIdStr, char *nodeIdStrBuffer,
22                 unsigned int nodeIdStrBufferSize);
23
24 #endif /* _PUD_NODEIDCONVERSION_H_ */