~xnox/ubuntu/saucy/lxc/dep8

« back to all changes in this revision

Viewing changes to src/include/lxcmntent.h

  • Committer: Stéphane Graber
  • Date: 2013-02-18 15:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 190.
  • Revision ID: stgraber@ubuntu.com-20130218152018-ls2gi9hkqs2kuhj8
Tags: upstream-0.9.0~alpha3
Import upstream version 0.9.0~alpha3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _lxcmntent_h
 
2
#define _lxcmntent_h
 
3
 
 
4
#include <../config.h>
 
5
 
 
6
#if IS_BIONIC
 
7
struct mntent
 
8
{
 
9
    char* mnt_fsname;
 
10
    char* mnt_dir;
 
11
    char* mnt_type;
 
12
    char* mnt_opts;
 
13
    int mnt_freq;
 
14
    int mnt_passno;
 
15
};
 
16
 
 
17
extern struct mntent *getmntent (FILE *stream);
 
18
#endif
 
19
 
 
20
#ifndef HAVE_SETMNTENT
 
21
FILE *setmntent (const char *file, const char *mode);
 
22
#endif
 
23
 
 
24
#ifndef HAVE_ENDMNTENT
 
25
int endmntent (FILE *stream);
 
26
#endif
 
27
 
 
28
#ifndef HAVE_HASMNTOPT
 
29
extern char *hasmntopt (const struct mntent *mnt, const char *opt);
 
30
#endif
 
31
 
 
32
#endif