PUD: add nodeIdType parameter to setupNodeInfoForOlsr
[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 <stddef.h>
12
13 size_t setupNodeInfoForOlsr(PudOlsrWireFormat * olsrGpsMessage,
14                 unsigned int olsrMessageSize, NodeIdType nodeIdType);
15
16 void getNodeTypeStringFromOlsr(int ipVersion, union olsr_message * olsrMessage,
17                 char * nodeIdTypeBuffer, int nodeIdTypeBufferSize);
18
19 void getNodeIdStringFromOlsr(int ipVersion, union olsr_message *olsrMessage,
20                 const char **nodeIdStr, char *nodeIdStrBuffer,
21                 unsigned int nodeIdStrBufferSize);
22
23 #endif /* _PUD_NODEIDCONVERSION_H_ */