~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to programs/starter/starterlog.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* FreeS/WAN log functions (log.h)
 
2
 * Copyright (C) 2001-2002 Mathieu Lafon - Arkoon Network Security
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License as published by the
 
6
 * Free Software Foundation; either version 2 of the License, or (at your
 
7
 * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
11
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
12
 * for more details.
 
13
 *
 
14
 * RCSID $Id: starterlog.h,v 1.1 2004/01/20 20:47:42 mcr Exp $
 
15
 */
 
16
 
 
17
#ifndef _STARTER_LOG_H_
 
18
#define _STARTER_LOG_H_
 
19
 
 
20
#define LOG_LEVEL_INFO   1
 
21
#define LOG_LEVEL_ERR    2
 
22
#define LOG_LEVEL_DEBUG  3
 
23
 
 
24
extern void starter_log (int level, const char *fmt, ...);
 
25
extern void starter_use_log (int debug, int console, int syslog);
 
26
extern void passert_fail(const char *pred_str, const char *file_str, unsigned long line_no);
 
27
 
 
28
extern int showonly;
 
29
 
 
30
extern void *xmalloc(size_t s);
 
31
extern char *xstrdup(char *s);
 
32
extern void *xrealloc(void *o, size_t s);
 
33
 
 
34
#endif /* _STARTER_LOG_H_ */
 
35