123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- enum quoting_style
- {
- literal_quoting_style,
- shell_quoting_style,
- shell_always_quoting_style,
- c_quoting_style,
- escape_quoting_style
- };
- #ifndef DEFAULT_QUOTING_STYLE
- # define DEFAULT_QUOTING_STYLE literal_quoting_style
- #endif
- extern char const *const quoting_style_args[];
- extern enum quoting_style const quoting_style_vals[];
- struct quoting_options;
- #ifndef PARAMS
- # if defined PROTOTYPES || defined __STDC__
- # define PARAMS(Args) Args
- # else
- # define PARAMS(Args) ()
- # endif
- #endif
- struct quoting_options *clone_quoting_options
- PARAMS ((struct quoting_options *o));
- enum quoting_style get_quoting_style PARAMS ((struct quoting_options *o));
- void set_quoting_style PARAMS ((struct quoting_options *o,
- enum quoting_style s));
- int set_char_quoting PARAMS ((struct quoting_options *o, char c, int i));
- size_t quotearg_buffer PARAMS ((char *buffer, size_t buffersize,
- char const *arg, size_t argsize,
- struct quoting_options const *o));
- char *quotearg_n PARAMS ((unsigned int n, char const *arg));
- char *quotearg PARAMS ((char const *arg));
- char *quotearg_char PARAMS ((char const *arg, char ch));
- char *quotearg_colon PARAMS ((char const *arg));
|