mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Move functions used in only one source to the file where they are used and make them static. Remove some prototypes from headers which are no longer in use. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/*
|
|
Watch code for Xen Store Daemon.
|
|
Copyright (C) 2005 Rusty Russell IBM Corporation
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef _XENSTORED_WATCH_H
|
|
#define _XENSTORED_WATCH_H
|
|
|
|
#include "xenstored_core.h"
|
|
|
|
int do_watch(struct connection *conn, struct buffered_data *in);
|
|
int do_unwatch(struct connection *conn, struct buffered_data *in);
|
|
|
|
/* Fire all watches: recurse means all the children are affected (ie. rm). */
|
|
void fire_watches(struct connection *conn, void *tmp, const char *name,
|
|
bool recurse);
|
|
|
|
void conn_delete_all_watches(struct connection *conn);
|
|
|
|
#endif /* _XENSTORED_WATCH_H */
|