Blame restorecond/utmpwatcher.h

Packit Service 9fb14c
/* utmpwatcher.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
#ifndef UTMPWATCHER_H
Packit Service 9fb14c
#define UTMPWATCHER_H
Packit Service 9fb14c
Packit Service 9fb14c
unsigned int utmpwatcher_handle(int inotify_fd, int wd);
Packit Service 9fb14c
void utmpwatcher_add(int inotify_fd, const char *path);
Packit Service 9fb14c
void utmpwatcher_free(void);
Packit Service 9fb14c
Packit Service 9fb14c
#endif