/*
- * $Id: pam_auth.c,v 1.15 2003/11/05 18:14:25 hno Exp $
+ * $Id: pam_auth.c,v 1.16 2005/07/02 18:34:03 serassio Exp $
*
* PAM authenticator module for Squid.
* Copyright (C) 1999,2002,2003 Henrik Nordstrom <hno@squid-cache.org>
* Compile this program with: gcc -o pam_auth pam_auth.c -lpam -ldl
*/
+#include "util.h"
+
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <security/pam_appl.h>
-#include "util.h"
-
#define BUFSIZE 8192
* Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x
*/
-#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <syslog.h>
#include <sys/types.h>
#include <rpc/rpc.h>
-/* $Id: main.c,v 1.4 2004/08/14 22:54:52 hno Exp $
+/* $Id: main.c,v 1.5 2005/07/02 18:34:03 serassio Exp $
* Copyright (C) 2002 Rodrigo Campos
*
* This program is free software; you can redistribute it and/or modify
* Author: Rodrigo Campos (rodrigo@geekbunker.org)
*
*/
+
+#include "util.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-
#include "ip_user.h"
-#include "util.h"
void
usage (char *program_name)
/*
- * $Id: check_group.c,v 1.4 2004/08/14 22:54:53 hno Exp $
+ * $Id: check_group.c,v 1.5 2005/07/02 18:34:03 serassio Exp $
*
* This is a helper for the external ACL interface for Squid Cache
* Copyright (C) 2002 Rodrigo Albani de Campos (rodrigo@geekbunker.org)
*
*/
+#include "util.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pwd.h>
#include <ctype.h>
-#include "util.h"
-
#define BUFSIZE 8192 /* the stdin buffer size */
#define MAX_GROUP 10 /* maximum number of groups specified
* on the command line */