summaryrefslogtreecommitdiffstats
path: root/nest/password.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-31 19:12:00 +0200
committerPavel Machek <pavel@ucw.cz>1999-05-31 19:12:00 +0200
commit900d5470ae2cada4d37ed62f8bf2ce64c84349cd (patch)
treead3e392914612d72481a2d0ffb1e0821c5622d94 /nest/password.h
parent139ca21d05df71b59a72af126d063170421cf9f7 (diff)
downloadbird-900d5470ae2cada4d37ed62f8bf2ce64c84349cd.tar
bird-900d5470ae2cada4d37ed62f8bf2ce64c84349cd.zip
Added PASSIVE option to paswwords.
Diffstat (limited to 'nest/password.h')
-rw-r--r--nest/password.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/nest/password.h b/nest/password.h
index b457495..16f4385 100644
--- a/nest/password.h
+++ b/nest/password.h
@@ -8,12 +8,17 @@
#ifndef PASSWORD_H
#define PASSWORD_H
+#include "lib/timer.h"
+
struct password_item {
struct password_item *next;
char *password;
int id;
- unsigned int from, to; /* We really don't care about time before 1970 */
+ bird_clock_t from, passive, to;
};
extern struct password_item *last_password_item;
+
+struct password_item *get_best_password(struct password_item *head, int flags);
+
#endif