/*
* login recording functions
*/
+
+/** 'public' functions */
+
/* construct a new login entry */
struct logininfo *login_alloc_entry(int pid, const char *username,
const char *hostname, const char *line);
/* place the current time in a logininfo struct */
void login_set_current_time(struct logininfo *li);
-/* set the network address based on network address type */
-void login_set_addr(struct logininfo *li, const struct sockaddr *sa,
- const unsigned int sa_size);
-
/* record the entry */
-int login_write (struct logininfo *li);
int login_login (struct logininfo *li);
int login_logout(struct logininfo *li);
+
+/** End of public functions */
+
+/* record the entry */
+int login_write (struct logininfo *li);
int login_log_entry(struct logininfo *li);
+/* set the network address based on network address type */
+void login_set_addr(struct logininfo *li, const struct sockaddr *sa,
+ const unsigned int sa_size);
+
/*
* lastlog retrieval functions
*/