Code

Renamed sdb_session_start() to sdb_fe_session_start().
authorSebastian Harl <sh@tokkee.org>
Thu, 28 Nov 2013 16:50:56 +0000 (17:50 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 28 Nov 2013 16:50:56 +0000 (17:50 +0100)
src/frontend/connection.c
src/frontend/session.c
src/include/frontend/connection.h

index 04d12222c89838e8b9ed2a126e3a778773a912bf..21bca4f28e1046a570c202f03eed89ed019e17a9 100644 (file)
@@ -169,7 +169,7 @@ command_handle(sdb_conn_t *conn)
                        status = sdb_connection_ping(conn);
                        break;
                case CONNECTION_STARTUP:
-                       status = sdb_session_start(conn);
+                       status = sdb_fe_session_start(conn);
                        break;
 
                case CONNECTION_LIST:
index 9dedcf6d154675e84731e412313675bf306bc48b..6403469a1e2d15020a939f130a54ed20c8711704 100644 (file)
@@ -34,7 +34,7 @@
  */
 
 int
-sdb_session_start(sdb_conn_t *conn)
+sdb_fe_session_start(sdb_conn_t *conn)
 {
        if ((! conn) || (conn->username))
                return -1;
@@ -45,7 +45,7 @@ sdb_session_start(sdb_conn_t *conn)
        /* XXX: for now, simply accept all connections */
        sdb_connection_send(conn, CONNECTION_OK, 0, NULL);
        return 0;
-} /* session_start */
+} /* sdb_fe_session_start */
 
 /* vim: set tw=78 sw=4 ts=4 noexpandtab : */
 
index cbe4c2ab233481208e32c815c2923b064be1c3b6..955180f0872daad53cd3ac4714bd278d2bcd52f0 100644 (file)
@@ -114,7 +114,7 @@ sdb_connection_ping(sdb_conn_t *conn);
  */
 
 /*
- * sdb_session_start:
+ * sdb_fe_session_start:
  * Start a new user session on the specified connection.
  *
  * Returns:
@@ -122,7 +122,7 @@ sdb_connection_ping(sdb_conn_t *conn);
  *  - a negative value else
  */
 int
-sdb_session_start(sdb_conn_t *conn);
+sdb_fe_session_start(sdb_conn_t *conn);
 
 /*
  * store access