Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp_module.h

    r89e57cee r14f1db0  
    2828
    2929/** @addtogroup tcp
    30  * @{
     30 *  @{
    3131 */
    3232
    3333/** @file
    34  * TCP module functions.
    35  * The functions are used as TCP module entry points.
     34 *  TCP module functions.
     35 *  The functions are used as TCP module entry points.
    3636 */
    3737
    38 #ifndef NET_TCP_MODULE_H_
    39 #define NET_TCP_MODULE_H_
     38#ifndef __NET_TCP_MODULE_H__
     39#define __NET_TCP_MODULE_H__
    4040
    4141#include <async.h>
    4242#include <ipc/ipc.h>
    4343
    44 extern int tcp_initialize(async_client_conn_t);
    45 extern int tcp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *,
    46     int *);
     44/** Initializes the TCP module.
     45 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
     46 *  @returns EOK on success.
     47 *  @returns ENOMEM if there is not enough memory left.
     48 */
     49extern int tcp_initialize(async_client_conn_t client_connection);
     50
     51/** Processes the TCP message.
     52 *  @param[in] callid The message identifier.
     53 *  @param[in] call The message parameters.
     54 *  @param[out] answer The message answer parameters.
     55 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
     56 *  @returns EOK on success.
     57 *  @returns ENOTSUP if the message is not known.
     58 *  @see tcp_interface.h
     59 *  @see IS_NET_TCP_MESSAGE()
     60 */
     61extern int tcp_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
    4762
    4863#endif
Note: See TracChangeset for help on using the changeset viewer.