diff options
author | Ondrej Oprala | 2013-07-30 14:25:31 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-01 11:23:02 +0200 |
commit | 7b1333fa6a7f5b927a8d80ba583e1b84435af105 (patch) | |
tree | 554b282fe7cdc84c0acd4a54f81557c12e44b7fb /libmount/src | |
parent | libmount: change tailing to trailing in *_tailing_comments functions (diff) | |
download | kernel-qcow2-util-linux-7b1333fa6a7f5b927a8d80ba583e1b84435af105.tar.gz kernel-qcow2-util-linux-7b1333fa6a7f5b927a8d80ba583e1b84435af105.tar.xz kernel-qcow2-util-linux-7b1333fa6a7f5b927a8d80ba583e1b84435af105.zip |
libmount: add missing declarations to libmount.h.in and documentation
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
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. * |