Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/session.h

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


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

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