diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
| commit | b0afb8fe0ff1d87165af9df61501197a06240dda (patch) | |
| tree | 274ac6a96c53ef4c19ab4974ce24a06a233128c5 /gl/mountlist.h | |
| parent | 68fc05381ee5fa0aee1413118fbb3d81ca888b09 (diff) | |
| download | monitoring-plugins-b0afb8fe0ff1d87165af9df61501197a06240dda.tar.gz | |
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/mountlist.h')
| -rw-r--r-- | gl/mountlist.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/mountlist.h b/gl/mountlist.h index 9728e38b..e8ba1d96 100644 --- a/gl/mountlist.h +++ b/gl/mountlist.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* mountlist.h -- declarations for list of mounted file systems | 1 | /* mountlist.h -- declarations for list of mounted file systems |
| 2 | 2 | ||
| 3 | Copyright (C) 1991-1992, 1998, 2000-2005, 2009-2024 Free Software | 3 | Copyright (C) 1991-1992, 1998, 2000-2005, 2009-2025 Free Software |
| 4 | Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | This program is free software: you can redistribute it and/or modify | 6 | This program is free software: you can redistribute it and/or modify |
| @@ -46,8 +46,13 @@ struct mount_entry | |||
| 46 | struct mount_entry *me_next; | 46 | struct mount_entry *me_next; |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | /* Return a list of the currently mounted file systems, or NULL on error. | ||
| 50 | Add each entry to the tail of the list so that they stay in order. | ||
| 51 | If NEED_FS_TYPE is true, ensure that the file system type fields in | ||
| 52 | the returned list are valid. Otherwise, they might not be. */ | ||
| 49 | struct mount_entry *read_file_system_list (bool need_fs_type) | 53 | struct mount_entry *read_file_system_list (bool need_fs_type) |
| 50 | _GL_ATTRIBUTE_MALLOC; | 54 | _GL_ATTRIBUTE_MALLOC; |
| 55 | |||
| 51 | void free_mount_entry (struct mount_entry *entry); | 56 | void free_mount_entry (struct mount_entry *entry); |
| 52 | 57 | ||
| 53 | 58 | ||
