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

@@ -43,7 +43,7 @@ glibtop_init_ppp_s (glibtop *server)
int
glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device,
unsigned short isdn, const char *lockfile)
unsigned short isdn)
{
memset (buf, 0, sizeof (glibtop_ppp));