|
Last change
on this file since 9bfa8c8 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
|
Replace some license headers with SPDX identifier
Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SPDX-FileCopyrightText: 2007 Josef Cejka
|
|---|
| 3 | * SPDX-FileCopyrightText: 2011 Jiri Svoboda
|
|---|
| 4 | *
|
|---|
| 5 | * SPDX-License-Identifier: BSD-3-Clause
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | /** @addtogroup libc
|
|---|
| 9 | * @{
|
|---|
| 10 | */
|
|---|
| 11 |
|
|---|
| 12 | #ifndef _LIBC_IPC_LOC_H_
|
|---|
| 13 | #define _LIBC_IPC_LOC_H_
|
|---|
| 14 |
|
|---|
| 15 | #include <ipc/common.h>
|
|---|
| 16 |
|
|---|
| 17 | #define LOC_NAME_MAXLEN 255
|
|---|
| 18 |
|
|---|
| 19 | typedef sysarg_t service_id_t;
|
|---|
| 20 | typedef sysarg_t category_id_t;
|
|---|
| 21 |
|
|---|
| 22 | typedef enum {
|
|---|
| 23 | LOC_OBJECT_NONE,
|
|---|
| 24 | LOC_OBJECT_NAMESPACE,
|
|---|
| 25 | LOC_OBJECT_SERVICE
|
|---|
| 26 | } loc_object_type_t;
|
|---|
| 27 |
|
|---|
| 28 | typedef enum {
|
|---|
| 29 | LOC_SERVER_REGISTER = IPC_FIRST_USER_METHOD,
|
|---|
| 30 | LOC_SERVER_UNREGISTER,
|
|---|
| 31 | LOC_SERVICE_ADD_TO_CAT,
|
|---|
| 32 | LOC_SERVICE_REGISTER,
|
|---|
| 33 | LOC_SERVICE_UNREGISTER,
|
|---|
| 34 | LOC_SERVICE_GET_ID,
|
|---|
| 35 | LOC_SERVICE_GET_NAME,
|
|---|
| 36 | LOC_SERVICE_GET_SERVER_NAME,
|
|---|
| 37 | LOC_NAMESPACE_GET_ID,
|
|---|
| 38 | LOC_CALLBACK_CREATE,
|
|---|
| 39 | LOC_CATEGORY_GET_ID,
|
|---|
| 40 | LOC_CATEGORY_GET_NAME,
|
|---|
| 41 | LOC_CATEGORY_GET_SVCS,
|
|---|
| 42 | LOC_ID_PROBE,
|
|---|
| 43 | LOC_NULL_CREATE,
|
|---|
| 44 | LOC_NULL_DESTROY,
|
|---|
| 45 | LOC_GET_NAMESPACE_COUNT,
|
|---|
| 46 | LOC_GET_SERVICE_COUNT,
|
|---|
| 47 | LOC_GET_CATEGORIES,
|
|---|
| 48 | LOC_GET_NAMESPACES,
|
|---|
| 49 | LOC_GET_SERVICES
|
|---|
| 50 | } loc_request_t;
|
|---|
| 51 |
|
|---|
| 52 | typedef enum {
|
|---|
| 53 | LOC_EVENT_CAT_CHANGE = IPC_FIRST_USER_METHOD
|
|---|
| 54 | } loc_event_t;
|
|---|
| 55 |
|
|---|
| 56 | typedef struct {
|
|---|
| 57 | service_id_t id;
|
|---|
| 58 | char name[LOC_NAME_MAXLEN + 1];
|
|---|
| 59 | } loc_sdesc_t;
|
|---|
| 60 |
|
|---|
| 61 | #endif
|
|---|
| 62 |
|
|---|
| 63 | /** @}
|
|---|
| 64 | */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.