Changeset eb522e8 in mainline for uspace/lib/c/generic/ipc/ns.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc/ns.c
r9e2e715 reb522e8 1 1 /* 2 * Copyright (c) 20 08 Lukas Mejdrech2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup icmp29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * ICMP module functions.35 * The functions are used as ICMP module entry points.36 33 */ 37 34 38 #i fndef NET_ICMP_MODULE_H_39 # define NET_ICMP_MODULE_H_35 #include <async.h> 36 #include <ipc/ns.h> 40 37 41 #include <async.h> 42 #include <ipc/ipc.h> 38 int service_register(sysarg_t service) 39 { 40 return async_connect_to_me(PHONE_NS, service, 0, 0, NULL); 41 } 43 42 44 extern int icmp_initialize(async_client_conn_t); 45 extern int icmp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *, 46 int *); 43 int service_connect(sysarg_t service, sysarg_t arg2, sysarg_t arg3) 44 { 45 return async_connect_me_to(PHONE_NS, service, arg2, arg3); 46 } 47 47 48 #endif 48 int service_connect_blocking(sysarg_t service, sysarg_t arg2, sysarg_t arg3) 49 { 50 return async_connect_me_to_blocking(PHONE_NS, service, arg2, arg3); 51 } 49 52 50 53 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.