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.6 - (show annotations) (download) (as text)
Thu Jan 6 07:24:07 2005 UTC (19 years, 3 months ago) by youi
Branch: MAIN
Changes since 1.5: +7 -4 lines
File MIME type: text/x-chdr
getUserIDをgetUIDに,setUserIDをsetUIDに改名した.

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

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