diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-29 22:01:31 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-29 22:01:31 +0000 |
commit | f07551a43d80850a44c683cf620f2061f0bd14b2 (patch) | |
tree | ebdb05477d82ad2b429b6754be96164ea154a999 /include/glibtop/mountlist.h | |
parent | 37eb76e767d4c960b0e295647192c7fa9ce274d5 (diff) | |
download | libgtop-f07551a43d80850a44c683cf620f2061f0bd14b2.tar.gz |
New file.
1998-07-29 Martin Baulig <martin@home-of-linux.org>
* guile/ChangeLog: New file.
* features.def: New format - now includes type of return value
and parameters.
* lib/lib.awk: Changed to use new `features.def'.
* sysdeps/guile/guile.awk: Dito;
* sysdeps/guile/names/guile-names.awk: Dito.
* libgtopConf.sh.in: Added
`LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS',
`LIBGTOP_GUILE_NAMES_LIBS', `LIBGTOP_GUILE_NAMES_INCS',
`LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION'
`LIBGTOP_VERSION', `libgtop_sysdeps_dir'.
* acinclude.m4 (AC_LC_SYSDEPS): Removed since this has been
replaced with `GNOME_LIBGTOP_SYSDEPS' long ago.
* LIBGTOP-VERSION: New file.
* */Makefile.am (INCLUDES): Removed; now defined in `configure.in'.
* sysdeps/names/mountlist.c: New file.
* lib/{init, open}.c (GTOP_SERVER): Renamed to `LIBGTOP_SERVER'.
* configure.in (INCLUDES): Added definition.
(libgtop_want_names): Always true; `libgtop_names.la' is now
always created since some other programs rely upon it - but
have to use `LIBGTOP_NAMES_LIBS' and `LIBGTOP_NAMES_INCS' to
use it in your application.
(libgtop_want_guile_names): Always true; but you have to use
`LIBGTOP_GUILE_NAMES_LIBS' and `LIBGTOP_GUILE_NAMES_INCS' to
use it in your application.
(LIBGTOP_LIBS): Removed `-lgtop_names' and `-lgtop_guile_names'.
(LIBGTOP_NAMES_LIBS): New variable. Use it to link your
application with the names interface.
(LIBGTOP_NAMES_INCS): New variable. Also #defines `GLIBTOP_NAMES'
which is now required if your application wants to use the names
interface.
(LIBGTOP_GUILE_NAMES_LIBS): New variable. Use it to link your
application with the guile names interface.
(LIBGTOP_GUILE_NAMES_INCS): New variable. Also #defines
`GLIBTOP_NAMES' and `GLIBTOP_GUILE_NAMES' which are now required
if your application wants to use the guile names interface.
Diffstat (limited to 'include/glibtop/mountlist.h')
-rw-r--r-- | include/glibtop/mountlist.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/glibtop/mountlist.h b/include/glibtop/mountlist.h index a6c368d5..1fb588c6 100644 --- a/include/glibtop/mountlist.h +++ b/include/glibtop/mountlist.h @@ -63,6 +63,36 @@ extern glibtop_mountentry *glibtop_get_mountlist_l __P((glibtop *, glibtop_mount extern glibtop_mountentry *glibtop_get_mountlist_s __P((glibtop *, glibtop_mountlist *, int)); +#ifdef HAVE_GUILE + +/* You need to link with -lgtop_guile to get this stuff here. */ + +extern SCM glibtop_guile_get_mountlist __P((SCM)); + +#endif + +#ifdef GLIBTOP_GUILE_NAMES + +/* You need to link with -lgtop_guile_names to get this stuff here. */ + +extern SCM glibtop_guile_names_mountlist __P((void)); +extern SCM glibtop_guile_types_mountlist __P((void)); +extern SCM glibtop_guile_labels_mountlist __P((void)); +extern SCM glibtop_guile_descriptions_mountlist __P((void)); + +#endif + +#ifdef GLIBTOP_NAMES + +/* You need to link with -lgtop_names to get this stuff here. */ + +extern const char *glibtop_names_mountlist []; +extern const unsigned glibtop_types_mountlist []; +extern const char *glibtop_labels_mountlist []; +extern const char *glibtop_descriptions_mountlist []; + +#endif + __END_DECLS #endif |