/*
* minconn.c - pppd plugin to implement a `minconnect' option.
*
* Copyright 1999 Paul Mackerras.
*
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#include <stddef.h>
#include <time.h>
#include "pppd.h"
static int minconnect = 0;
"Set minimum connect time before idle timeout applies" },
{ NULL }
};
{
time_t t;
return idle_time_limit - t;
}
void plugin_init(void)
{
info("plugin_init");
}