X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Futil.h;h=140982f5e45969d582e1f6fcc4f2b96fd40bfa65;hb=refs%2Ftags%2Fupstream%2F3.3.1;hp=a0a98e417e780335002a65f4a4db9338db2c3888;hpb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b;p=debian%2Famanda diff --git a/common-src/util.h b/common-src/util.h index a0a98e4..140982f 100644 --- a/common-src/util.h +++ b/common-src/util.h @@ -391,4 +391,6 @@ void property_add_to_argv(GPtrArray *argv_ptr, GHashTable *proplist); */ void debug_executing(GPtrArray *argv_ptr); +/* execute the program and get the first line from stdout ot stderr */ +char *get_first_line(GPtrArray *argv_ptr); #endif /* UTIL_H */