00001
00010
00011
00012
00013
00014 #ifndef __NAMES_INCLUDE_LIBNAMES_H_
00015 #define __NAMES_INCLUDE_LIBNAMES_H_
00016
00017 #include <l4/sys/types.h>
00018 #include <l4/sys/compiler.h>
00019 #include <l4/names/__names_defs.h>
00020
00021 EXTERN_C_BEGIN
00022
00023 L4_CV int names_register(const char* name);
00024 L4_CV int names_register_thread_weak(const char* name, l4_threadid_t id);
00025 L4_CV int names_unregister(const char* name);
00026 L4_CV int names_unregister_thread(const char* name, l4_threadid_t id);
00027 L4_CV int names_query_name(const char* name, l4_threadid_t* id);
00028 L4_CV int names_query_id(const l4_threadid_t id, char* name, const int length);
00029 L4_CV int names_waitfor_name(const char* name, l4_threadid_t* id, const int timeout);
00030 L4_CV int names_query_nr(int nr, char* name, int length, l4_threadid_t *id);
00031 L4_CV int names_unregister_task(l4_threadid_t tid);
00032 L4_CV int names_dump(void);
00033
00034 EXTERN_C_END
00035
00036 #endif