Blame restorecond/restorecond.h

Packit Service 9fb14c
/* restorecond.h -- 
Packit Service 9fb14c
 * Copyright 2006 Red Hat Inc., Durham, North Carolina.
Packit Service 9fb14c
 * All Rights Reserved.
Packit Service 9fb14c
 *
Packit Service 9fb14c
 * This program is free software; you can redistribute it and/or modify
Packit Service 9fb14c
 * it under the terms of the GNU General Public License as published by
Packit Service 9fb14c
 * the Free Software Foundation; either version 2 of the License, or
Packit Service 9fb14c
 * (at your option) any later version.
Packit Service 9fb14c
 *
Packit Service 9fb14c
 * This program is distributed in the hope that it will be useful,
Packit Service 9fb14c
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 9fb14c
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 9fb14c
 * GNU General Public License for more details.
Packit Service 9fb14c
 *
Packit Service 9fb14c
 * You should have received a copy of the GNU General Public License
Packit Service 9fb14c
 * along with this program; if not, write to the Free Software
Packit Service 9fb14c
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit Service 9fb14c
 *
Packit Service 9fb14c
 * Authors:
Packit Service 9fb14c
 *   Dan Walsh <dwalsh@redhat.com>
Packit Service 9fb14c
 * 
Packit Service 9fb14c
 */
Packit Service 9fb14c
Packit Service 9fb14c
#ifndef RESTORED_CONFIG_H
Packit Service 9fb14c
#define RESTORED_CONFIG_H
Packit Service 9fb14c
Packit Service 9fb14c
extern int debug_mode;
Packit Service 9fb14c
extern const char *homedir;
Packit Service 9fb14c
extern int terminate;
Packit Service 9fb14c
extern int master_wd;
Packit Service 9fb14c
extern int run_as_user;
Packit Service 9fb14c
Packit Service 9fb14c
extern int start(void);
Packit Service 9fb14c
extern int server(int, const char *watch_file);
Packit Service 9fb14c
Packit Service 9fb14c
extern void exitApp(const char *msg) __attribute__((__noreturn__));
Packit Service 9fb14c
extern void read_config(int fd,	const char *watch_file);
Packit Service 9fb14c
Packit Service 9fb14c
extern int watch(int fd, const char *watch_file);
Packit Service 9fb14c
extern void watch_list_add(int inotify_fd, const char *path);
Packit Service 9fb14c
extern int watch_list_find(int wd, const char *file);
Packit Service 9fb14c
extern void watch_list_free(int fd);
Packit Service 9fb14c
extern int watch_list_isempty(void);
Packit Service 9fb14c
Packit Service 9fb14c
extern struct restore_opts r_opts;
Packit Service 9fb14c
Packit Service 9fb14c
#endif