From 0c116c65f9bc4132fa0dfc99e875f57e9ee29af1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 9 May 2013 20:14:27 +0200 Subject: add a rcS helper Signed-off-by: John Crispin --- rcS.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 rcS.h (limited to 'rcS.h') diff --git a/rcS.h b/rcS.h new file mode 100644 index 0000000..233b7aa --- /dev/null +++ b/rcS.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2013 Felix Fietkau + * Copyright (C) 2013 John Crispin + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 + * as published by the Free Software Foundation + * + * 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. + */ + +#ifndef __PROCD_RCS_H +#define __PROCD_RCS_H + +#include + +extern int rcS(char *pattern, char *param, void (*q_empty)(struct runqueue *)); + +#endif -- cgit v1.2.3