~ubuntu-branches/ubuntu/natty/autofs5/natty-proposed

« back to all changes in this revision

Viewing changes to include/parse_subs.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-04-28 15:55:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080428155537-h6h457h1fwwzhvby
Tags: upstream-5.0.3
ImportĀ upstreamĀ versionĀ 5.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ----------------------------------------------------------------------- *
 
2
 *   
 
3
 *  parse_subs.c - misc parser subroutines
 
4
 *                automounter map
 
5
 * 
 
6
 *   Copyright 1997 Transmeta Corporation - All Rights Reserved
 
7
 *   Copyright 2000 Jeremy Fitzhardinge <jeremy@goop.org>
 
8
 *   Copyright 2004-2006 Ian Kent <raven@themaw.net>
 
9
 *
 
10
 *   This program is free software; you can redistribute it and/or modify
 
11
 *   it under the terms of the GNU General Public License as published by
 
12
 *   the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139,
 
13
 *   USA; either version 2 of the License, or (at your option) any later
 
14
 *   version; incorporated herein by reference.
 
15
 *
 
16
 * ----------------------------------------------------------------------- */
 
17
 
 
18
#ifndef PARSE_SUBS_H
 
19
#define PARSE_SUBS_H
 
20
 
 
21
struct mapent;
 
22
 
 
23
const char *skipspace(const char *);
 
24
int check_colon(const char *);
 
25
int chunklen(const char *, int);
 
26
int strmcmp(const char *, const char *, int);
 
27
char *dequote(const char *, int, unsigned int);
 
28
int span_space(const char *, unsigned int);
 
29
char *sanitize_path(const char *, int, unsigned int, unsigned int);
 
30
int umount_ent(struct autofs_point *, const char *);
 
31
int mount_multi_triggers(struct autofs_point *, char *, struct mapent *, const char *);
 
32
int umount_multi_triggers(struct autofs_point *, char *, struct mapent *, const char *);
 
33
 
 
34
#endif