Savarese Software Research Corporation
login/types.h File Reference

This header defines types used by the Login messaging protocol. More...

#include <ssrc/wispers/types.h>
#include <ssrc/wispers/database/types.h>
#include <set>
#include <map>
Include dependency graph for login/types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::set< uid_typeuid_set
typedef std::map< uid_type,
LoginStatus > 
uid_login_map

Functions

__BEGIN_NS_SSRC_WSPR_LOGIN WSPR_DB_ROW_WITH_KEY (User,((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout)),(0)) WSPR_DB_ROW_WITH_KEY(PublicUser
__BEGIN_NS_SSRC_WSPR_LOGIN uid ((string, login))((sec_type
__BEGIN_NS_SSRC_WSPR_LOGIN created ((sec_type, last_login))((sec_type
__BEGIN_NS_SSRC_WSPR_LOGIN WSPR_DB_ROW_WITH_KEY (Group,((gid_type, gid))((string, group)),(0)) WISP_STRUCT(LoginStatus
__BEGIN_NS_SSRC_WSPR_LOGIN login ((bool, is_logged_in)))
template<>
__END_NS_SSRC_WSPR_LOGIN
__BEGIN_NS_SSRC_WSPR_DATABASE
NS_SSRC_WSPR_LOGIN::uid_login_map::value_type 
values< NS_SSRC_WSPR_LOGIN::uid_login_map::value_type > (const ResultSet &result_set)

Variables

__BEGIN_NS_SSRC_WSPR_LOGIN uid_type
__BEGIN_NS_SSRC_WSPR_LOGIN last_logout
__BEGIN_NS_SSRC_WSPR_LOGIN string

Detailed Description

This header defines types used by the Login messaging protocol.

Definition in file login/types.h.


Typedef Documentation

typedef std::map<uid_type, LoginStatus> uid_login_map

Definition at line 54 of file login/types.h.

typedef std::set<uid_type> uid_set

Definition at line 53 of file login/types.h.


Function Documentation

__BEGIN_NS_SSRC_WSPR_LOGIN login ( (bool, is_logged_in)  )
template<>
__END_NS_SSRC_WSPR_LOGIN __BEGIN_NS_SSRC_WSPR_DATABASE NS_SSRC_WSPR_LOGIN::uid_login_map::value_type values< NS_SSRC_WSPR_LOGIN::uid_login_map::value_type > ( const ResultSet result_set) [inline]

Definition at line 64 of file login/types.h.

__BEGIN_NS_SSRC_WSPR_LOGIN WSPR_DB_ROW_WITH_KEY ( User  ,
((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))  ,
(0)   
)
__BEGIN_NS_SSRC_WSPR_LOGIN WSPR_DB_ROW_WITH_KEY ( Group  ,
((gid_type, gid))((string, group))  ,
(0)   
)

Variable Documentation

Definition at line 43 of file login/types.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.