X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_statusbar%2Fion-statusd%2Fexec.c;fp=mod_statusbar%2Fion-statusd%2Fexec.c;h=0000000000000000000000000000000000000000;hb=a6561c9679cd701b0d50c3cfd44e4664f7df2b2f;hp=a42c0dc02ca68d197e8cd8162584df07c85168e9;hpb=cd09055902de482a1be019bf4b4efdae64c98d35;p=ion3.git diff --git a/mod_statusbar/ion-statusd/exec.c b/mod_statusbar/ion-statusd/exec.c deleted file mode 100644 index a42c0dc..0000000 --- a/mod_statusbar/ion-statusd/exec.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * ion/mod_statusbar/ion-statusd/exec.c - * - * Copyright (c) Tuomo Valkonen 2005-2006. - * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. - */ - - -#include -#include - - -/*EXTL_DOC - * Run \var{cmd} in the background. - */ -EXTL_SAFE -EXTL_EXPORT -int statusd_exec(const char *cmd) -{ - return mainloop_spawn(cmd); -} - - -/*EXTL_DOC - * Run \var{cmd} with a read pipe connected to its stdout. - * When data is received through the pipe, \var{h} is called - * with that data. - */ -EXTL_SAFE -EXTL_EXPORT -int statusd_popen_bgread(const char *cmd, ExtlFn h, ExtlFn errh) -{ - return mainloop_popen_bgread(cmd, NULL, NULL, h, errh); -} -