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


Ignore:
Timestamp:
2011-05-12T16:49:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36787d7
Parents:
e80329d6 (diff), 750636a (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:

Merge mainline changes.

File:
1 moved

Legend:

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

    re80329d6 rb5e68c8  
    11/*
    2  * Copyright (c) 2010 Martin Decky
     2 * Copyright (c) 2011 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libnet
     29/** @addtogroup libc
    3030 * @{
    3131 */
     32/** @file
     33 */
    3234
    33 #ifndef LIBNET_TL_LOCAL_H_
    34 #define LIBNET_TL_LOCAL_H_
     35#include <async.h>
     36#include <ipc/ns.h>
    3537
    36 #include <ipc/ipc.h>
    37 #include <async.h>
     38int service_register(sysarg_t service)
     39{
     40        return async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
     41}
    3842
    39 extern int tl_module_message_standalone(ipc_callid_t, ipc_call_t *,
    40     ipc_call_t *, int *);
    41 extern int tl_module_start_standalone(async_client_conn_t);
     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}
    4247
    43 #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}
    4452
    4553/** @}
Note: See TracChangeset for help on using the changeset viewer.