bool addr_matches(char *n);
/* match.c */
+struct group;
+struct passwd;
bool command_matches(const char *sudoers_cmnd, const char *sudoers_args, const struct sudo_digest *digest);
bool group_matches(const char *sudoers_group, const struct group *gr);
bool hostname_matches(const char *shost, const char *lhost, const char *pattern);
/*
- * Copyright (c) 1999, 2009-2011 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1999, 2009-2011, 2013-2015, 2017
+ * Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <time.h>
#include "sudo_compat.h"
-
-char *get_timestr(time_t, int);
+#include "sudo_debug.h"
+#include "parse.h"
/*
* Return a static buffer with the current date + time.