Blame tipc/misc.h

Packit d3f73b
/*
Packit d3f73b
 * misc.h	Miscellaneous TIPC helper functions.
Packit d3f73b
 *
Packit d3f73b
 *		This program is free software; you can redistribute it and/or
Packit d3f73b
 *		modify it under the terms of the GNU General Public License
Packit d3f73b
 *		as published by the Free Software Foundation; either version
Packit d3f73b
 *		2 of the License, or (at your option) any later version.
Packit d3f73b
 *
Packit d3f73b
 * Authors:	Richard Alpe <richard.alpe@ericsson.com>
Packit d3f73b
 */
Packit d3f73b
Packit d3f73b
#ifndef _TIPC_MISC_H
Packit d3f73b
#define _TIPC_MISC_H
Packit d3f73b
Packit d3f73b
#include <stdint.h>
Packit d3f73b
Packit d3f73b
uint32_t str2addr(char *str);
Packit d3f73b
int str2nodeid(char *str, uint8_t *id);
Packit d3f73b
void nodeid2str(uint8_t *id, char *str);
Packit d3f73b
void hash2nodestr(uint32_t hash, char *str);
Packit d3f73b
Packit d3f73b
#endif