Imported Upstream version 1.4.16+git20130911
This commit is contained in:
parent
96678a79c9
commit
ea90af2ba1
20 changed files with 379 additions and 383 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue