namer.h (427B)
1 /* Copyright 1999, Brian J. Swetland. All rights reserved. 2 ** Distributed under the terms of the OpenBLT License 3 */ 4 5 #ifndef _NAMER_H_ 6 #define _NAMER_H_ 7 8 #include <blt/types.h> 9 10 #define NAMER_PORT 1 11 12 #define NAMER_FIND 1 13 #define NAMER_REGISTER 2 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 int namer_register(int port, const char *name); 20 int namer_find(const char *name, int blocking); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif 27