]> andersk Git - openssh.git/blobdiff - loginrec.h
Big loginrec.c update
[openssh.git] / loginrec.h
index 03dc3a84d37e46b9a0ac3d523082a5d8ad629776..83515c350fed7a8b00eab3a6e0369d6aa2db189d 100644 (file)
@@ -102,6 +102,9 @@ struct logininfo {
 /*
  * 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);
@@ -113,16 +116,20 @@ int login_init_entry(struct logininfo *li, int pid, const char *username,
 /* 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
  */
This page took 0.033699 seconds and 4 git commands to generate.