Import lvm2 from NetBSD
[dragonfly.git] / contrib / lvm2 / dist / daemons / cmirrord / link_mon.h
1 /*      $NetBSD: link_mon.h,v 1.1.1.1 2009/12/02 00:27:10 haad Exp $    */
2
3 /*
4  * Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
5  *
6  * This copyrighted material is made available to anyone wishing to use,
7  * modify, copy, or redistribute it subject to the terms and conditions
8  * of the GNU Lesser General Public License v.2.1.
9  *
10  * You should have received a copy of the GNU Lesser General Public License
11  * along with this program; if not, write to the Free Software Foundation,
12  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13  */
14 #ifndef __LINK_MON_DOT_H__
15 #define __LINK_MON_DOT_H__
16
17 int links_register(int fd, char *name, int (*callback)(void *data), void *data);
18 int links_unregister(int fd);
19 int links_monitor(void);
20 int links_issue_callbacks(void);
21
22 #endif /* __LINK_MON_DOT_H__ */