Changeset eb522e8 in mainline for uspace/lib/c/generic/ipc/ns.c


Ignore:
Timestamp:
2011-06-01T08:43:42Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
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.
Message:

Huuuuuge merge from development - all the work actually :)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ipc/ns.c

    r9e2e715 reb522e8  
    11/*
    2  * Copyright (c) 2008 Lukas Mejdrech
     2 * Copyright (c) 2011 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup icmp
     29/** @addtogroup libc
    3030 * @{
    3131 */
    32 
    3332/** @file
    34  * ICMP module functions.
    35  * The functions are used as ICMP module entry points.
    3633 */
    3734
    38 #ifndef NET_ICMP_MODULE_H_
    39 #define NET_ICMP_MODULE_H_
     35#include <async.h>
     36#include <ipc/ns.h>
    4037
    41 #include <async.h>
    42 #include <ipc/ipc.h>
     38int service_register(sysarg_t service)
     39{
     40        return async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
     41}
    4342
    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 *);
     43int service_connect(sysarg_t service, sysarg_t arg2, sysarg_t arg3)
     44{
     45        return async_connect_me_to(PHONE_NS, service, arg2, arg3);
     46}
    4747
    48 #endif
     48int 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}
    4952
    5053/** @}
Note: See TracChangeset for help on using the changeset viewer.