* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pw.h,v 1.6 1997/02/22 16:12:27 peter Exp $
+ * $FreeBSD$
*/
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <pwd.h>
#include <grp.h>
#include <sys/queue.h>
#include <sysexits.h>
#include "psdate.h"
+#include "pwupd.h"
enum _mode
{
M_UPDATE,
M_PRINT,
M_NEXT,
+ M_LOCK,
+ M_UNLOCK,
M_NUM
};
char const *boolean_str(int val);
char *newstr(char const * p);
-void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...);
+void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) __printflike(4, 5);
char *pw_pwcrypt(char *password);
extern const char *Modes[];