~ubuntu-branches/ubuntu/trusty/keepalived/trusty

« back to all changes in this revision

Viewing changes to keepalived/include/vrrp_scheduler.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2005-04-29 23:22:40 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050429232240-a8m3jtpi3cvuyyy2
Tags: 1.1.11-3
Added a warning about sarge kernels to README.Debian and 
the package description 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *
6
6
 * Part:        vrrp_scheduler.c include file.
7
7
 * 
8
 
 * Version:     $Id: vrrp_scheduler.h,v 1.1.7 2004/04/04 23:28:05 acassen Exp $
 
8
 * Version:     $Id: vrrp_scheduler.h,v 1.1.11 2005/03/01 01:22:13 acassen Exp $
9
9
 * 
10
10
 * Author:      Alexandre Cassen, <acassen@linux-vs.org>
11
11
 *              
19
19
 *              as published by the Free Software Foundation; either version
20
20
 *              2 of the License, or (at your option) any later version.
21
21
 *
22
 
 * Copyright (C) 2001-2004 Alexandre Cassen, <acassen@linux-vs.org>
 
22
 * Copyright (C) 2001-2005 Alexandre Cassen, <acassen@linux-vs.org>
23
23
 */
24
24
 
25
25
#ifndef _VRRP_SCHEDULER_H
34
34
 
35
35
/* local includes */
36
36
#include "scheduler.h"
37
 
 
38
 
/*
39
 
 * Our instance dispatcher use a socket pool.
40
 
 * That way we handle VRRP protocol type per
41
 
 * physical interface.
42
 
 */
43
 
typedef struct {
44
 
        int ifindex;
45
 
        int proto;
46
 
        int fd_in;
47
 
        int fd_out;
48
 
} sock;
 
37
#include "vrrp_data.h"
49
38
 
50
39
/* VRRP FSM Macro */
51
40
#define VRRP_FSM_READ_TO(V)                     \
70
59
} while (0)
71
60
 
72
61
/* extern prototypes */
73
 
extern int vrrp_dispatcher_init(thread * thread);
74
 
extern int vrrp_read_dispatcher_thread(thread * thread);
 
62
extern void vrrp_dispatcher_release(vrrp_conf_data * conf_data_obj);
 
63
extern int vrrp_dispatcher_init(thread * thread_obj);
 
64
extern int vrrp_read_dispatcher_thread(thread * thread_obj);
75
65
 
76
66
#endif