File: state.h

package info (click to toggle)
shush 1.2.3-2
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 884 kB
  • ctags: 559
  • sloc: ansic: 5,502; sh: 153; lex: 69; makefile: 68; yacc: 54; awk: 31
file content (24 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
** Copyright (C) 2005 Christophe Kalt
**
** This file is part of shush,
** see the LICENSE file for details on your rights.
**
** $Id: state.h 1404 2008-03-08 23:25:46Z kalt $
*/

#if !defined(_STATE_H_)
# define _STATE_H_

void state_init(char *, char *);
void state_delay(time_t);
void state_run(void);
void state_timeout(void);
#define STATE_LCKOK   1
#define STATE_LCKIGN  2
#define STATE_LCKFAIL 3
void state_locked(int);
void state_killed(void);
void state_close(char *msg);

#endif