~ubuntu-branches/ubuntu/trusty/uucp/trusty

« back to all changes in this revision

Viewing changes to uudefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Peter Palfrader
  • Date: 2004-12-30 15:30:22 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230153022-mx4cdr9j3u9bldo3
Tags: 1.07-12
Add cs localisation for debconf templates (closes: #287305).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* uudefs.h
2
2
   Miscellaneous definitions for the UUCP package.
3
3
 
4
 
   Copyright (C) 1991, 1992, 1993, 1995 Ian Lance Taylor
 
4
   Copyright (C) 1991, 1992, 1993, 1995, 2002 Ian Lance Taylor
5
5
 
6
6
   This file is part of the Taylor UUCP package.
7
7
 
17
17
 
18
18
   You should have received a copy of the GNU General Public License
19
19
   along with this program; if not, write to the Free Software
20
 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
20
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
21
21
 
22
 
   The author of the program may be contacted at ian@airs.com or
23
 
   c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
 
22
   The author of the program may be contacted at ian@airs.com.
24
23
   */
25
24
 
26
25
#if ANSI_C
277
276
/* Parse a command string.  */
278
277
extern boolean fparse_cmd P((char *zcmd, struct scmd *qcmd));
279
278
 
 
279
/* Return whether a command needs quoting.  */
 
280
extern boolean fcmd_needs_quotes P((const struct scmd *qcmd));
 
281
 
 
282
/* Quote the strings in a command, creating a new command.  */
 
283
extern void uquote_cmd P((const struct scmd *qorig, struct scmd *qnew));
 
284
 
 
285
/* Free a command structure created by uquote_cmd.  */
 
286
extern void ufree_quoted_cmd P((struct scmd *qcmd));
 
287
 
 
288
/* Backslash qoute a string, returning a newly allocated string.  If
 
289
   fbackslashonly, only quote backslashes.  Otherwise, quote
 
290
   backslashes and all nonprinting characters.  */
 
291
extern char *zquote_cmd_string P((const char *zorig, boolean fbackslashonly));
 
292
 
280
293
/* Make a log entry.  */
281
294
#ifdef __GNUC__
282
295
#define GNUC_VERSION __GNUC__
286
299
 
287
300
#if ANSI_C && HAVE_VFPRINTF
288
301
extern void ulog P((enum tlog ttype, const char *zfmt, ...))
289
 
#if GNUC_VERSION > 1
290
 
     __attribute__ ((format (printf, 2, 3)))
291
 
#endif
292
 
     ;
 
302
    ATTRIBUTE_PRINTF_2;
293
303
#else
294
304
extern void ulog ();
295
305
#endif