File: bashline.h

package info (click to toggle)
yafc 1.1.1.dfsg.1-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,248 kB
  • ctags: 1,679
  • sloc: ansic: 19,338; sh: 10,365; makefile: 155; perl: 38; ruby: 33
file content (25 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* $Id: bashline.h,v 1.3 2001/05/12 18:42:42 mhe Exp $
 *
 * bashline.h --
 *
 * Yet Another FTP Client
 * Copyright (C) 1998-2001, Martin Hedenfalk <mhe@stacken.kth.se>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version. See COPYING for more details.
 */

#ifndef _bashline_h_included
#define _bashline_h_included

char *bash_quote_filename (char *s, int rtype, char *qcp);
char *bash_dequote_filename (const char *text, int quote_char);
char *bash_backslash_quote (char *string);
char *bash_single_quote (char *string);
char *bash_double_quote (char *string);
int char_is_quoted (char *string, int eindex);
char *quote_word_break_chars (char *text);

#endif