## mountlist mountlist |

## Synopsis

    #include <glibtop/mountlist.h>

    #define             GLIBTOP_MOUNTLIST_NUMBER
    #define             GLIBTOP_MOUNTLIST_TOTAL
    #define             GLIBTOP_MOUNTLIST_SIZE
    #define             GLIBTOP_MAX_MOUNTLIST
                        glibtop_mountentry;
                        glibtop_mountlist;
    glibtop_mountentry * glibtop_get_mountlist              (glibtop_mountlist *buf,
                                                             int all_fs);
    #define             glibtop_get_mountlist_r
    glibtop_mountentry * glibtop_get_mountlist_l            (glibtop *server,
                                                             glibtop_mountlist *buf,
                                                             int all_fs);
    glibtop_mountentry * glibtop_get_mountlist_s            (glibtop *server,
                                                             glibtop_mountlist *buf,
                                                             int all_fs);

## Description

## Details

### GLIBTOP_MOUNTLIST_NUMBER

    #define GLIBTOP_MOUNTLIST_NUMBER 0

### GLIBTOP_MOUNTLIST_TOTAL

    #define GLIBTOP_MOUNTLIST_TOTAL		1

### GLIBTOP_MOUNTLIST_SIZE

    #define GLIBTOP_MOUNTLIST_SIZE		2

### GLIBTOP_MAX_MOUNTLIST

    #define GLIBTOP_MAX_MOUNTLIST		3

### glibtop_mountentry

    typedef struct {
    	guint64 dev;
    	char devname [GLIBTOP_MOUNTENTRY_LEN+1];
    	char mountdir [GLIBTOP_MOUNTENTRY_LEN+1];
    	char type [GLIBTOP_MOUNTENTRY_LEN+1];
    } glibtop_mountentry;

### glibtop_mountlist

    typedef struct {
    	guint64 flags;
    	guint64 number;			/* GLIBTOP_MOUNTLIST_NUMBER */
    	guint64 total;			/* GLIBTOP_MOUNTLIST_TOTAL */
    	guint64 size;			/* GLIBTOP_MOUNTLIST_SIZE */
    } glibtop_mountlist;

### glibtop_get_mountlist ()

    glibtop_mountentry * glibtop_get_mountlist              (glibtop_mountlist *buf,
                                                             int all_fs);

`buf` : |
`all_fs` : |
Returns : |

### glibtop_get_mountlist_r

    #define glibtop_get_mountlist_r		glibtop_get_mountlist_s

### glibtop_get_mountlist_l ()

    glibtop_mountentry * glibtop_get_mountlist_l            (glibtop *server,
                                                             glibtop_mountlist *buf,
                                                             int all_fs);

`server` : |
`buf` : |
`all_fs` : |
Returns : |

### glibtop_get_mountlist_s ()

    glibtop_mountentry * glibtop_get_mountlist_s            (glibtop *server,
                                                             glibtop_mountlist *buf,
                                                             int all_fs);

`server` : |
`buf` : |
`all_fs` : |
Returns : |