Imported Upstream version 1.4.16+git20130911

This commit is contained in:
Jan Wagner 2013-11-27 00:00:34 +01:00
parent 96678a79c9
commit ea90af2ba1
20 changed files with 379 additions and 383 deletions

View file

@ -25,17 +25,7 @@
#define NAGIOSPLUG_RUNCMD_H
#include "common.h"
/** types **/
struct output {
char *buf; /* output buffer */
size_t buflen; /* output buffer content length */
char **line; /* array of lines (points to buf) */
size_t *lens; /* string lengths */
size_t lines; /* lines of output */
};
typedef struct output output;
#include "utils_cmd.h" /* for the "output" type */
/** prototypes **/
int np_runcmd(const char *, output *, output *, int);