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.5 - (show annotations) (download) (as text)
Tue Nov 30 05:46:32 2004 UTC (19 years, 4 months ago) by aga
Branch: MAIN
Changes since 1.4: +6 -6 lines
File MIME type: text/x-chdr
・sessionからremoteHostを削除.

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