Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/xnpal.cc

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

revision 1.9 by aga, Wed Dec 1 01:54:32 2004 UTC revision 1.10 by aga, Wed Dec 1 02:00:19 2004 UTC
# Line 60  ZEND_FUNCTION(vp_get_groups        ); Line 60  ZEND_FUNCTION(vp_get_groups        );
60  ZEND_FUNCTION(vp_is_moderator      );  ZEND_FUNCTION(vp_is_moderator      );
61  ZEND_FUNCTION(vp_get_uid           );  ZEND_FUNCTION(vp_get_uid           );
62    
63    ZEND_FUNCTION(vp_is_valid_session_id );
64  ZEND_FUNCTION(vp_get_last_error_string );  ZEND_FUNCTION(vp_get_last_error_string );
65    
66  ZEND_FUNCTION(vp_test_criteria     );  ZEND_FUNCTION(vp_test_criteria     );
# Line 100  zend_function_entry vpalmod_functions[] Line 101  zend_function_entry vpalmod_functions[]
101      ZEND_FE(vp_get_groups        ,NULL)      ZEND_FE(vp_get_groups        ,NULL)
102      ZEND_FE(vp_is_moderator      ,NULL)      ZEND_FE(vp_is_moderator      ,NULL)
103      ZEND_FE(vp_get_uid           ,NULL)      ZEND_FE(vp_get_uid           ,NULL)
104        ZEND_FE(vp_is_valid_session_id ,NULL)
105      ZEND_FE(vp_get_last_error_string ,NULL)      ZEND_FE(vp_get_last_error_string ,NULL)
106      ZEND_FE(vp_test_criteria     ,NULL)      ZEND_FE(vp_test_criteria     ,NULL)
107      ZEND_FE(vp_test_uids         ,NULL)      ZEND_FE(vp_test_uids         ,NULL)
# Line 1260  ZEND_FUNCTION(vp_update_group) Line 1262  ZEND_FUNCTION(vp_update_group)
1262      RETURN_LONG( result );      RETURN_LONG( result );
1263  }  }
1264    
1265    /** vpのsession_idの正当性チェック<br>
1266        bool vp_is_valid_session_id( int vp_session_id)
1267        @return true 有効なvpのsession_idである
1268        @return false 無効なsession_idまたはエラー
1269      */
1270    ZEND_FUNCTION(vp_is_valid_session_id)
1271    {
1272            long sid;
1273            if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &sid ) == FAILURE) {
1274                    return;
1275            }
1276            
1277            RETURN_BOOL(isValidSessionID((sessionid_t)sid));
1278    }
1279    
1280  /** エラー文字列を得る<br>  /** エラー文字列を得る<br>
1281      string vp_get_last_error_string()      string vp_get_last_error_string()
1282      @return 0 success      @return 0 success

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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