77aea9b5d9ddc5bbb8f98a1ab2ca6e722d394873
[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 getNodeInfoFromOlsr(union olsr_message *olsrMessage,
18                 char *nodeIdBuffer,
19                 unsigned int nodeIdBufferSize, const char **nodeId,
20                 char *nodeIdTypeString);
21
22 #endif /* _PUD_NODEIDCONVERSION_H_ */