X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/1c918146f943052c1876cdc9983597efd1b4964f..6c44b45a754c8db5307554ea1624fcdde7ea128a:/pw/pw.h diff --git a/pw/pw.h b/pw/pw.h index b52891a..f541b26 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -23,7 +23,7 @@ * 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 @@ -34,12 +34,14 @@ #include #include #include +#include #include #include #include #include #include "psdate.h" +#include "pwupd.h" enum _mode { @@ -48,6 +50,8 @@ enum _mode M_UPDATE, M_PRINT, M_NEXT, + M_LOCK, + M_UNLOCK, M_NUM }; @@ -120,7 +124,7 @@ int boolean_val(char const * str, int dflt); 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[];