Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/session.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Fri Nov 26 06:24:53 2004 UTC (19 years, 4 months ago) by aga
Branch: MAIN
Changes since 1.3: +9 -1 lines
File MIME type: text/x-chdr
・sessionのメンバにuserid_tを追加.

1 /*
2 *
3 * ?祉???激?с?括??????????鴻???荐?
4 *
5 * $Revision: 1.3 $
6 * $Log: session.h,v $
7 * Revision 1.3 2004/11/25 09:00:41 youi
8 * get膤脂?∽?違??onst篆??.
9 * sessionid_t??typedef????.
10 *
11 * Revision 1.2 2004/11/25 04:12:03 youi
12 * typedef??菴遵??.
13 *
14 * Revision 1.1 2004/11/24 06:53:07 youi
15 * initial version
16 *
17 *
18 */
19
20 #if !defined( SESSION_H )
21 #define SESSION_H
22
23 #include <time.h>
24 #include "common.h"
25
26 typedef unsigned long sessionid_t;
27 class session{
28 private:
29 unsigned long sessionID; //?祉???激?с??D
30 unsigned long remoteHost; //???≪?若?????鴻????P
31 time_t date; //?祉???激?с?割????ユ??
32 userid_t userID; // xoops_users??id
33
34 void sessionid( unsigned long remoteHost, time_t date );
35 public:
36 session();
37 session( unsigned long remoteHost, time_t date );
38 ~session();
39
40 sessionid_t getSessionID() const;
41 unsigned long getRemoteHost() const;
42 time_t getDate() const;
43 userid_t getUserID() const;
44
45 void setRemoteHost( unsigned long remoteHost );
46 void setDate( time_t date );
47 void setSessionID( sessionid_t );
48 void setUserID( userid_t );
49 };
50
51 typedef session session_t;
52 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26