1,5 → 1,5 |
/* |
* Copyright (c) 2008 Lukas Mejdrech |
* Copyright (c) 2009 Lukas Mejdrech |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
31,6 → 31,10 |
*/ |
|
/** @file |
* ARP standalone module implementation. |
* Contains skeleton module functions mapping. |
* The functions are used by the module skeleton as module specific entry points. |
* @see module.c |
*/ |
|
#include <async.h> |
45,11 → 49,26 |
#include "arp.h" |
#include "arp_module.h" |
|
/** ARP module name. |
*/ |
#define NAME "ARP protocol" |
|
/** Prints the module name. |
* @see NAME |
*/ |
void arp_print_name( void ); |
|
/** Starts the ARP module. |
* Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop. |
* @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter. |
* @returns EOK on successful module termination. |
* @returns Other error codes as defined for the arp_initialize() function. |
* @returns Other error codes as defined for the REGISTER_ME() macro function. |
*/ |
int arp_start_module( async_client_conn_t client_connection ); |
|
/** ARP module global data. |
*/ |
extern arp_globals_t arp_globals; |
|
void arp_print_name( void ){ |