Commit d4b93345 authored by Benoit Steiner's avatar Benoit Steiner

Header cleanings

Benny
parent 69c6377a
/* VideoLAN VLANbridge: main file
*
* Definition file
*
* You don't need to include anything before including this file
*/
#ifndef _VLANBRIDGE_H
#define _VLANBRIDGE_H
/* Default server port */
#define DEFAULT_PORT "2000"
......@@ -13,3 +24,5 @@
int StopBridge(int iRc);
#endif
/* VideoLAN VLANbridge : Kernel ARP table management
/* VideoLAN VLANbridge: Kernel ARP table management
*
* Definition file
*
......
/* VideoLAN VLANbridge : internal database
/* VideoLAN VLANbridge: internal database
*
* Definition file
*
......
/* VideoLAN VLANbridge : Config files parsing
/* VideoLAN VLANbridge: Config files parsing
*
* Definition file
*
......
......@@ -6,6 +6,8 @@
* You need to include <stdio.h> before including this file
*/
#ifndef _DEBUG_H
#define _DEBUG_H
/*******************************************************************************
......@@ -74,3 +76,6 @@ bzero((p_Array), (i_Size)*sizeof(*(p_Array)));
#define ZERO(p_Array, i_Size)
#endif
#endif
/* VideoLAN VLANbridge: error codes
*
* Definition file
*
* You don't need to include anything before including this file
*/
#ifndef _DEFINE_H
#define _DEFINE_H
/* Errors: iRc is < 0 */
#define GLOBAL_ERROR -1
#define MUTEX_ERROR -2
......@@ -8,3 +21,5 @@
#define BUFFER_EMPTY 2
#define BUSY 5
#endif
......@@ -2,6 +2,7 @@
*
* Definition file
*
* You need to include "performer.h" before this file
*/
......
/* VideoLAN VLANbridge : Gratuitous module
/* VideoLAN VLANbridge: Gratuitous module
*
* Definition file
*
* You need to include <netinet.in.h> before this file
*/
......
#include "performer.h"
/* VideoLAN VLANbridge: List management module
*
* Definition file
*
* You need to include "performer.h" before this file
*/
#ifndef _LIST_H
#define _LIST_H
struct cell
......@@ -19,3 +28,6 @@ void destroy_list ();
int add_to_list (struct list *l, struct s_performer* p);
int delete_from_list (struct list *l, pthread_t id);
int find_in_list (struct list *l, pthread_t id, struct cell **answer);
#endif
/* VideoLAN VLANbridge: Listener module
*
* Definition file
*
* You need to include <pthread.h> before including this file
*/
#ifndef _LISTENER_H
#define _LISTENER_H
/* Max size of the msg the VLANserver send */
//#define MAX_MSG_LEN 100
struct s_Listener
{ /* thread id */
......
/* VideoLAN VLANbridge : logging facilities
*
* Definition file
*
* You must include <stdio.h> to use this module
*/
......
/* VideoLAN VLANbridge
/* VideoLAN VLANbridge: Manager module
*
* Definition file
*
* You need to include <pthread.h> before including this file
*/
......
/* VideoLAN VLANbridge : Performer module
/* VideoLAN VLANbridge: Performer module
*
* Definition file
*
* You need to include <pthread.h> and <netinet/in.h> before this file
*/
......
/* VideoLAN VLANbridge : Pinger module
/* VideoLAN VLANbridge: Pinger module
*
* Definition file
*
......
/* VideoLAN VLANbridge: Sender module
*
* Definition file
*
* You need to include <pthread.h> before including this file
*/
#ifndef _SENDER
#define _SENDER
/* Max size of the msg the VLANserver send */
//#define MAX_MSG_LEN 100
struct s_Sender
{ /* thread id */
pthread_t tid;
......
/* VideoLAN VLANbridge: Signal processing
*
* Benoit Steiner, VIA, ECP, France <benny@via.ecp.fr> 23/10/98
*
* You dont need to include anything before this file
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment