summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2b7616)
raw | patch | inline | side by side (parent: c2b7616)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 28 Nov 2013 16:50:56 +0000 (17:50 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 28 Nov 2013 16:50:56 +0000 (17:50 +0100) |
src/frontend/connection.c | patch | blob | history | |
src/frontend/session.c | patch | blob | history | |
src/include/frontend/connection.h | patch | blob | history |
index 04d12222c89838e8b9ed2a126e3a778773a912bf..21bca4f28e1046a570c202f03eed89ed019e17a9 100644 (file)
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 9dedcf6d154675e84731e412313675bf306bc48b..6403469a1e2d15020a939f130a54ed20c8711704 100644 (file)
--- a/src/frontend/session.c
+++ b/src/frontend/session.c
*/
int
-sdb_session_start(sdb_conn_t *conn)
+sdb_fe_session_start(sdb_conn_t *conn)
{
if ((! conn) || (conn->username))
return -1;
/* 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)
*/
/*
- * sdb_session_start:
+ * sdb_fe_session_start:
* Start a new user session on the specified connection.
*
* Returns:
* - a negative value else
*/
int
-sdb_session_start(sdb_conn_t *conn);
+sdb_fe_session_start(sdb_conn_t *conn);
/*
* store access