~ubuntu-branches/ubuntu/vivid/keepalived/vivid

« back to all changes in this revision

Viewing changes to genhash/layer4.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2011-10-25 16:10:58 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111025161058-bgqn5elt0xo1tq0a
Tags: 1:1.2.2-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - debian/rules: DEB_UPDATE_RCD_PARAMS := explicit init start/stop
    parameters (don't stop at 0 and 6)
  - debian/init.d: init script header adapted to stop rule
  - debian/keepalived.postinst: Remove shutdown and reboot links
* Build with libnl3, thanks to a patch from Marc - A. Dahlhaus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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-2009 Alexandre Cassen, <acassen@freebox.fr>
 
22
 * Copyright (C) 2001-2011 Alexandre Cassen, <acassen@linux-vs.org>
23
23
 */
24
24
 
25
25
#ifndef _LAYER4_H
49
49
 tcp_connect(int fd, uint32_t, uint16_t);
50
50
 
51
51
extern enum connect_result
52
 
 tcp_socket_state(int, thread *, uint32_t, uint16_t,
53
 
                  int (*func) (struct _thread *));
 
52
 tcp_socket_state(int, thread_t *, uint32_t, uint16_t,
 
53
                  int (*func) (thread_t *));
54
54
 
55
55
extern void
56
56
 tcp_connection_state(int, enum connect_result
57
 
                      , thread *, int (*func) (struct _thread *)
 
57
                      , thread_t *, int (*func) (thread_t *)
58
58
                      , long);
59
59
 
60
 
extern int
61
 
 tcp_connect_thread(thread *);
 
60
extern int tcp_connect_thread(thread_t *);
62
61
 
63
62
#endif