Changeset 89c57b6 in mainline for uspace/lib/net/include/il_skel.h


Ignore:
Timestamp:
2011-04-13T14:45:41Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88634420
Parents:
cefb126 (diff), 17279ead (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/net/include/il_skel.h

    rcefb126 r89c57b6  
    2727 */
    2828
    29 /** @addtogroup tl_local
    30  *  @{
     29/** @addtogroup libnet
     30 * @{
    3131 */
    3232
    33 #ifndef __TL_LOCAL_H__
    34 #define __TL_LOCAL_H__
     33#ifndef LIBNET_IL_SKEL_H_
     34#define LIBNET_IL_SKEL_H_
    3535
    36 #include <ipc/ipc.h>
     36/** @file
     37 * Internetwork layer module skeleton.
     38 * The skeleton has to be part of each internetwork layer module.
     39 */
     40
    3741#include <async.h>
     42#include <fibril_synch.h>
     43#include <ipc/services.h>
    3844
    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);
     45#include <adt/measured_strings.h>
     46#include <net/device.h>
     47#include <net/packet.h>
     48
     49/** Module initialization.
     50 *
     51 * This has to be implemented in user code.
     52 *
     53 * @param[in] net_phone Networking module phone.
     54 *
     55 * @return EOK on success.
     56 * @return Other error codes as defined for each specific module
     57 *         initialize function.
     58 *
     59 */
     60extern int il_initialize(int net_phone);
     61
     62/** Process the internetwork layer module message.
     63 *
     64 * This has to be implemented in user code.
     65 *
     66 * @param[in]  callid Message identifier.
     67 * @param[in]  call   Message parameters.
     68 * @param[out] answer Answer.
     69 * @param[out] count  Number of arguments of the answer.
     70 *
     71 * @return EOK on success.
     72 * @return Other error codes as defined for each specific module.
     73 *
     74 */
     75extern int il_module_message(ipc_callid_t callid, ipc_call_t *call,
     76    ipc_call_t *answer, size_t *answer_count);
     77
     78extern int il_module_start(int);
    4279
    4380#endif
Note: See TracChangeset for help on using the changeset viewer.