diff options
author | Martin Baulig <martin@home-of-linux.org> | 2000-02-06 13:21:14 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-02-06 13:21:14 +0000 |
commit | 2eab7cfc483f2a754cc3ea71e8a6e40289850931 (patch) | |
tree | f2edd4e866b4818037c8057ee0eeff2d8ec77b43 /include/glibtop/ppp.h | |
parent | a691993a86e1bd7ff4e2aca81ad2f67c213e0090 (diff) | |
download | libgtop-2eab7cfc483f2a754cc3ea71e8a6e40289850931.tar.gz |
Removed the `lockfile' argument; we now use a configure check to determine
2000-02-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/ppp.h (glibtop_get_ppp): Removed the `lockfile'
argument; we now use a configure check to determine the modem
lockfile.
* include/glibtop/error.h (GLIBTOP_ERROR_NEED_MODEM_LOCKFILE):
Removed this now obsolete error constant again.
* configure.in (--with-modem-lockfile): New configure parameter
to manually specify the modem lockfile.
(LIBGTOP_MODEM_LOCKFILE): Define this to be a printf-format string
for the modem lockfile; takes the interface number as argument.
Diffstat (limited to 'include/glibtop/ppp.h')
-rw-r--r-- | include/glibtop/ppp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/glibtop/ppp.h b/include/glibtop/ppp.h index 29aabb85..2df5bccd 100644 --- a/include/glibtop/ppp.h +++ b/include/glibtop/ppp.h @@ -53,7 +53,7 @@ struct _glibtop_ppp bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; -#define glibtop_get_ppp(ppp,device,use_isdn,lockfile) glibtop_get_ppp_l(glibtop_global_server, ppp, device, use_isdn, lockfile) +#define glibtop_get_ppp(ppp,device,use_isdn) glibtop_get_ppp_l(glibtop_global_server, ppp, device, use_isdn) #if GLIBTOP_SUID_PPP #define glibtop_get_ppp_r glibtop_get_ppp_p @@ -61,14 +61,14 @@ struct _glibtop_ppp #define glibtop_get_ppp_r glibtop_get_ppp_s #endif -int glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn, const char *lockfile); +int glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn); #if GLIBTOP_SUID_PPP int glibtop_init_ppp_p (glibtop *server); -int glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn, const char *lockfile); +int glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn); #else int glibtop_init_ppp_s (glibtop *server); -int glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn, const char *lockfile); +int glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device, unsigned short use_isdn); #endif #ifdef GLIBTOP_NAMES |