diff options
Diffstat (limited to 'libmount/src')
-rw-r--r-- | libmount/src/fs.c | 1 | ||||
-rw-r--r-- | libmount/src/libmount.h.in | 3 | ||||
-rw-r--r-- | libmount/src/tab.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c index b6b3d12b8..fc2eee7aa 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -1327,6 +1327,7 @@ int mnt_fs_set_comment(struct libmnt_fs *fs, const char *comm) /** * mnt_fs_append_comment: * @fs: fstab entry pointer + * @comm: comment string * * See also mnt_fs_set_comment(). * diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 9f904ca58..5eb7c48b8 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -462,6 +462,9 @@ extern struct libmnt_update *mnt_new_update(void) __ul_attribute__((warn_unused_result)); extern void mnt_free_update(struct libmnt_update *upd); +extern int mnt_table_replace_file(struct libmnt_table *tb, const char *filename); +extern int mnt_table_write_file(struct libmnt_table *tb, FILE *file); + extern int mnt_update_is_ready(struct libmnt_update *upd); extern int mnt_update_set_fs(struct libmnt_update *upd, unsigned long mountflags, const char *target, struct libmnt_fs *fs); diff --git a/libmount/src/tab.c b/libmount/src/tab.c index 653c15d3d..ac4d4a3d3 100644 --- a/libmount/src/tab.c +++ b/libmount/src/tab.c @@ -130,6 +130,7 @@ int mnt_table_get_nents(struct libmnt_table *tb) /** * mnt_table_enable_comments: * @tb: pointer to tab + * @enable: TRUE or FALSE * * Enables parsing of comments. * @@ -230,6 +231,7 @@ const char *mnt_table_get_trailing_comment(struct libmnt_table *tb) /** * mnt_table_set_trailing_comment * @tb: pointer to tab + * @comm: comment string * * Sets tailing comment in table. * |