~ubuntu-branches/ubuntu/edgy/syslog-ng/edgy

« back to all changes in this revision

Viewing changes to libol-0.3.17/src/objects.h

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-05-25 11:21:50 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060525112150-b18srkxcrz980xi9
Tags: 1.9.11-1
* New upstream version
  - Fixed log facility and priority detecting. (Closes: #350120, #350344, #357071, #367256)
* Added bison to Build-Dependency. (Closes: #368765)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *
3
 
 * Copyright (c) 1998-1999 Niels M�ller
4
 
 * Copyright (c) 1999 BalaBit Computing
5
 
 * 
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
 
 *
20
 
 * $Id: objects.h,v 1.4 2000/02/04 19:02:04 bazsi Exp $
21
 
 *
22
 
 ***************************************************************************/
23
 
 
24
 
#ifndef __OBJECTS_H_INCLUDED
25
 
#define __OBJECTS_H_INCLUDED
26
 
 
27
 
#include <stdlib.h>
28
 
#include <olconfig.h>
29
 
 
30
 
#define ST_OK           0
31
 
#define ST_FAIL         1
32
 
 
33
 
#define ST_GOON         0
34
 
#define ST_CLOSE        2
35
 
#define ST_DIE          4
36
 
#define ST_HOLD         8
37
 
 
38
 
#define ST_CLOSEDP(x) ((x) & (ST_CLOSE | ST_DIE | ST_FAIL))
39
 
#define ST_FAILUREP(x) ((x) & ST_FAIL)
40
 
 
41
 
#include "objtypes.h"
42
 
#include "objbase.h"
43
 
#include "xalloc.h"
44
 
#include "gc.h"
45
 
#include "werror.h"
46
 
 
47
 
#endif