|
@@ -2,7 +2,6 @@
|
|
#define __PERF_QUOTE_H
|
|
#define __PERF_QUOTE_H
|
|
|
|
|
|
#include <stddef.h>
|
|
#include <stddef.h>
|
|
-#include <stdio.h>
|
|
|
|
|
|
|
|
/* Help to copy the thing properly quoted for the shell safety.
|
|
/* Help to copy the thing properly quoted for the shell safety.
|
|
* any single quote is replaced with '\'', any exclamation point
|
|
* any single quote is replaced with '\'', any exclamation point
|
|
@@ -24,6 +23,8 @@
|
|
* sq_quote() in a real application.
|
|
* sq_quote() in a real application.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+struct strbuf;
|
|
|
|
+
|
|
int sq_quote_argv(struct strbuf *, const char **argv, size_t maxlen);
|
|
int sq_quote_argv(struct strbuf *, const char **argv, size_t maxlen);
|
|
|
|
|
|
#endif /* __PERF_QUOTE_H */
|
|
#endif /* __PERF_QUOTE_H */
|