Rev 2873 |
Go to most recent revision |
Blame |
Last modification |
View Log
| Download
| RSS feed
/** @addtogroup sctrace
* @{
*/
/** @file
*/
#ifndef PROTO_H_
#define PROTO_H_
#include <libadt/hash_table.h>
typedef struct {
char *name;
} proto_t;
/* Maps service number to protocol */
extern hash_table_t srv_proto;
void proto_init(void);
void proto_cleanup(void);
void proto_register(int srv, proto_t *proto);
proto_t *proto_get_by_srv(int srv);
#endif
/** @}
*/