53 linhas
2.5 KiB
C++
53 linhas
2.5 KiB
C++
/*
|
|
+----------------------------------------------------------------------+
|
|
| HipHop for PHP |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
|
|
| Copyright (c) 1997-2010 The PHP Group |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.php.net/license/3_01.txt |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef __EXT_SESSION_H__
|
|
#define __EXT_SESSION_H__
|
|
|
|
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
|
|
|
|
#include <runtime/base/base_includes.h>
|
|
|
|
namespace HPHP {
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
void f_session_set_cookie_params(int64_t lifetime, CStrRef path = null_string, CStrRef domain = null_string, CVarRef secure = uninit_null(), CVarRef httponly = uninit_null());
|
|
Array f_session_get_cookie_params();
|
|
String f_session_name(CStrRef newname = null_string);
|
|
Variant f_session_module_name(CStrRef newname = null_string);
|
|
bool f_session_set_save_handler(CStrRef open, CStrRef close, CStrRef read, CStrRef write, CStrRef destroy, CStrRef gc);
|
|
String f_session_save_path(CStrRef newname = null_string);
|
|
String f_session_id(CStrRef newid = null_string);
|
|
bool f_session_regenerate_id(bool delete_old_session = false);
|
|
String f_session_cache_limiter(CStrRef new_cache_limiter = null_string);
|
|
int64_t f_session_cache_expire(CStrRef new_cache_expire = null_string);
|
|
Variant f_session_encode();
|
|
bool f_session_decode(CStrRef data);
|
|
bool f_session_start();
|
|
bool f_session_destroy();
|
|
Variant f_session_unset();
|
|
void f_session_write_close();
|
|
void f_session_commit();
|
|
bool f_session_register(int _argc, CVarRef var_names, CArrRef _argv = null_array);
|
|
bool f_session_unregister(CStrRef varname);
|
|
bool f_session_is_registered(CStrRef varname);
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
}
|
|
|
|
#endif // __EXT_SESSION_H__
|