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

« back to all changes in this revision

Viewing changes to lib/logger.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-05-12 20:26:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090512202615-k850bw35qpuvpq4p
Tags: 1.1.17-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules: DEB_UPDATE_RCD_PARAMS := expicit 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
 * Soft:        Keepalived is a failover program for the LVS project
 
3
 *              <www.linuxvirtualserver.org>. It monitor & manipulate
 
4
 *              a loadbalanced server pool using multi-layer checks.
 
5
 * 
 
6
 * Part:        logging facility.
 
7
 *  
 
8
 * Version:     $Id: vector.c,v 1.1.17 2009/03/05 01:31:12 acassen Exp $
 
9
 * 
 
10
 * Author:      Alexandre Cassen, <acassen@linux-vs.org>
 
11
 *              
 
12
 *              This program is distributed in the hope that it will be useful,
 
13
 *              but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
15
 *              See the GNU General Public License for more details.
 
16
 *
 
17
 *              This program is free software; you can redistribute it and/or
 
18
 *              modify it under the terms of the GNU General Public License
 
19
 *              as published by the Free Software Foundation; either version
 
20
 *              2 of the License, or (at your option) any later version.
 
21
 *
 
22
 * Copyright (C) 2001-2009 Alexandre Cassen, <acassen@freebox.fr>
 
23
 */
 
24
 
 
25
#ifndef _LOGGER_H
 
26
#define _LOGGER_H
 
27
 
 
28
void enable_console_log(void);
 
29
void log_message(int priority, char* format, ...);
 
30
 
 
31
#endif