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.
This commit is contained in:
Martin Baulig
2000-02-06 13:21:14 +00:00
committed by Martin Baulig
parent a691993a86
commit 2eab7cfc48
12 changed files with 49 additions and 22 deletions

View File

@@ -49,9 +49,8 @@ BEGIN_LIBGTOP_DECLS
#define GLIBTOP_ERROR_NO_BACKEND_OPENED 12
#define GLIBTOP_ERROR_DEMARSHAL_ERROR 13
#define GLIBTOP_ERROR_NEED_MODEM_LOCKFILE 14
#define GLIBTOP_MAX_ERROR 15
#define GLIBTOP_MAX_ERROR 14
char *
glibtop_get_error_string_l (glibtop *server, unsigned error_number);