From: Sebastian Harl Date: Thu, 28 Nov 2013 16:50:56 +0000 (+0100) Subject: Renamed sdb_session_start() to sdb_fe_session_start(). X-Git-Tag: sysdb-0.1.0~336^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=af40f31c4128fe82d6d401dbe93631d0947d540e;p=sysdb.git Renamed sdb_session_start() to sdb_fe_session_start(). --- diff --git a/src/frontend/connection.c b/src/frontend/connection.c index 04d1222..21bca4f 100644 --- a/src/frontend/connection.c +++ b/src/frontend/connection.c @@ -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: diff --git a/src/frontend/session.c b/src/frontend/session.c index 9dedcf6..6403469 100644 --- a/src/frontend/session.c +++ b/src/frontend/session.c @@ -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 : */ diff --git a/src/include/frontend/connection.h b/src/include/frontend/connection.h index cbe4c2a..955180f 100644 --- a/src/include/frontend/connection.h +++ b/src/include/frontend/connection.h @@ -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