Logo Search packages:      
Sourcecode: watchdog version File versions  Download package

wd_mntent.h

#ifndef WD_MNTENT_H
#define WD_MNTENT_H

#include <mntent.h>           /* for struct mntent */

#define ERR_MAX 5

typedef struct mntFILEstruct {
      FILE *mntent_fp;
      char *mntent_file;
      int mntent_lineno;
      int mntent_errs;
      int mntent_softerrs;
} mntFILE;

mntFILE *my_setmntent (const char *file, char *mode);
void my_endmntent (mntFILE *mfp);
int my_addmntent (mntFILE *mfp, struct mntent *mnt);
struct mntent *my_getmntent (mntFILE *mfp);

#endif

Generated by  Doxygen 1.6.0   Back to index