/src/runtime/ext/profile/extprofile_splfile.h
https://github.com/kevlund/hiphop-php · C Header · 307 lines · 226 code · 62 blank · 19 comment · 0 complexity · 6180702c585d3807f8166224b270b57b MD5 · raw file
- /*
- +----------------------------------------------------------------------+
- | 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 __EXTPROFILE_SPLFILE_H__
- #define __EXTPROFILE_SPLFILE_H__
- // >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
- #include <runtime/ext/ext_splfile.h>
- namespace HPHP {
- ///////////////////////////////////////////////////////////////////////////////
- inline Object x_hphp_splfileinfo___construct(CObjRef obj, CStrRef file_name) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo___construct);
- return f_hphp_splfileinfo___construct(obj, file_name);
- }
- inline int64 x_hphp_splfileinfo_getatime(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getatime);
- return f_hphp_splfileinfo_getatime(obj);
- }
- inline String x_hphp_splfileinfo_getbasename(CObjRef obj, CStrRef suffix) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getbasename);
- return f_hphp_splfileinfo_getbasename(obj, suffix);
- }
- inline int64 x_hphp_splfileinfo_getctime(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getctime);
- return f_hphp_splfileinfo_getctime(obj);
- }
- inline Object x_hphp_splfileinfo_getfileinfo(CObjRef obj, CStrRef class_name) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getfileinfo);
- return f_hphp_splfileinfo_getfileinfo(obj, class_name);
- }
- inline String x_hphp_splfileinfo_getfilename(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getfilename);
- return f_hphp_splfileinfo_getfilename(obj);
- }
- inline int64 x_hphp_splfileinfo_getgroup(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getgroup);
- return f_hphp_splfileinfo_getgroup(obj);
- }
- inline int64 x_hphp_splfileinfo_getinode(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getinode);
- return f_hphp_splfileinfo_getinode(obj);
- }
- inline String x_hphp_splfileinfo_getlinktarget(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getlinktarget);
- return f_hphp_splfileinfo_getlinktarget(obj);
- }
- inline int64 x_hphp_splfileinfo_getmtime(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getmtime);
- return f_hphp_splfileinfo_getmtime(obj);
- }
- inline int64 x_hphp_splfileinfo_getowner(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getowner);
- return f_hphp_splfileinfo_getowner(obj);
- }
- inline String x_hphp_splfileinfo_getpath(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getpath);
- return f_hphp_splfileinfo_getpath(obj);
- }
- inline Object x_hphp_splfileinfo_getpathinfo(CObjRef obj, CStrRef class_name) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getpathinfo);
- return f_hphp_splfileinfo_getpathinfo(obj, class_name);
- }
- inline String x_hphp_splfileinfo_getpathname(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getpathname);
- return f_hphp_splfileinfo_getpathname(obj);
- }
- inline int64 x_hphp_splfileinfo_getperms(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getperms);
- return f_hphp_splfileinfo_getperms(obj);
- }
- inline Variant x_hphp_splfileinfo_getrealpath(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getrealpath);
- return f_hphp_splfileinfo_getrealpath(obj);
- }
- inline int64 x_hphp_splfileinfo_getsize(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_getsize);
- return f_hphp_splfileinfo_getsize(obj);
- }
- inline String x_hphp_splfileinfo_gettype(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_gettype);
- return f_hphp_splfileinfo_gettype(obj);
- }
- inline bool x_hphp_splfileinfo_isdir(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_isdir);
- return f_hphp_splfileinfo_isdir(obj);
- }
- inline bool x_hphp_splfileinfo_isexecutable(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_isexecutable);
- return f_hphp_splfileinfo_isexecutable(obj);
- }
- inline bool x_hphp_splfileinfo_isfile(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_isfile);
- return f_hphp_splfileinfo_isfile(obj);
- }
- inline bool x_hphp_splfileinfo_islink(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_islink);
- return f_hphp_splfileinfo_islink(obj);
- }
- inline bool x_hphp_splfileinfo_isreadable(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_isreadable);
- return f_hphp_splfileinfo_isreadable(obj);
- }
- inline bool x_hphp_splfileinfo_iswritable(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_iswritable);
- return f_hphp_splfileinfo_iswritable(obj);
- }
- inline Object x_hphp_splfileinfo_openfile(CObjRef obj, CStrRef open_mode, bool use_include_path, CVarRef context) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_openfile);
- return f_hphp_splfileinfo_openfile(obj, open_mode, use_include_path, context);
- }
- inline void x_hphp_splfileinfo_setfileclass(CObjRef obj, CStrRef class_name) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_setfileclass);
- f_hphp_splfileinfo_setfileclass(obj, class_name);
- }
- inline void x_hphp_splfileinfo_setinfoclass(CObjRef obj, CStrRef class_name) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo_setinfoclass);
- f_hphp_splfileinfo_setinfoclass(obj, class_name);
- }
- inline String x_hphp_splfileinfo___tostring(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileinfo___tostring);
- return f_hphp_splfileinfo___tostring(obj);
- }
- inline Object x_hphp_splfileobject___construct(CObjRef obj, CStrRef filename, CStrRef open_mode, bool use_include_path, CVarRef context) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject___construct);
- return f_hphp_splfileobject___construct(obj, filename, open_mode, use_include_path, context);
- }
- inline Variant x_hphp_splfileobject_current(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_current);
- return f_hphp_splfileobject_current(obj);
- }
- inline bool x_hphp_splfileobject_eof(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_eof);
- return f_hphp_splfileobject_eof(obj);
- }
- inline bool x_hphp_splfileobject_fflush(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fflush);
- return f_hphp_splfileobject_fflush(obj);
- }
- inline String x_hphp_splfileobject_fgetc(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fgetc);
- return f_hphp_splfileobject_fgetc(obj);
- }
- inline Variant x_hphp_splfileobject_fgetcsv(CObjRef obj, CStrRef delimiter, CStrRef enclosure, CStrRef escape) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fgetcsv);
- return f_hphp_splfileobject_fgetcsv(obj, delimiter, enclosure, escape);
- }
- inline String x_hphp_splfileobject_fgets(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fgets);
- return f_hphp_splfileobject_fgets(obj);
- }
- inline String x_hphp_splfileobject_fgetss(CObjRef obj, CStrRef allowable_tags) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fgetss);
- return f_hphp_splfileobject_fgetss(obj, allowable_tags);
- }
- inline bool x_hphp_splfileobject_flock(CObjRef obj, VRefParam wouldblock) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_flock);
- return f_hphp_splfileobject_flock(obj, wouldblock);
- }
- inline int64 x_hphp_splfileobject_fpassthru(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fpassthru);
- return f_hphp_splfileobject_fpassthru(obj);
- }
- inline Variant x_hphp_splfileobject_fscanf(int64 _argc, CObjRef obj, CStrRef format, CVarRef _argv) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fscanf);
- return f_hphp_splfileobject_fscanf(_argc, obj, format, _argv);
- }
- inline int64 x_hphp_splfileobject_fseek(CObjRef obj, int64 offset, int64 whence) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fseek);
- return f_hphp_splfileobject_fseek(obj, offset, whence);
- }
- inline Variant x_hphp_splfileobject_fstat(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fstat);
- return f_hphp_splfileobject_fstat(obj);
- }
- inline int64 x_hphp_splfileobject_ftell(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_ftell);
- return f_hphp_splfileobject_ftell(obj);
- }
- inline bool x_hphp_splfileobject_ftruncate(CObjRef obj, int64 size) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_ftruncate);
- return f_hphp_splfileobject_ftruncate(obj, size);
- }
- inline int64 x_hphp_splfileobject_fwrite(CObjRef obj, CStrRef str, int64 length) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_fwrite);
- return f_hphp_splfileobject_fwrite(obj, str, length);
- }
- inline Variant x_hphp_splfileobject_getcvscontrol(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_getcvscontrol);
- return f_hphp_splfileobject_getcvscontrol(obj);
- }
- inline int64 x_hphp_splfileobject_getflags(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_getflags);
- return f_hphp_splfileobject_getflags(obj);
- }
- inline int64 x_hphp_splfileobject_getmaxlinelen(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_getmaxlinelen);
- return f_hphp_splfileobject_getmaxlinelen(obj);
- }
- inline int64 x_hphp_splfileobject_key(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_key);
- return f_hphp_splfileobject_key(obj);
- }
- inline void x_hphp_splfileobject_next(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_next);
- f_hphp_splfileobject_next(obj);
- }
- inline void x_hphp_splfileobject_rewind(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_rewind);
- f_hphp_splfileobject_rewind(obj);
- }
- inline bool x_hphp_splfileobject_valid(CObjRef obj) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_valid);
- return f_hphp_splfileobject_valid(obj);
- }
- inline void x_hphp_splfileobject_seek(CObjRef obj, int64 line_pos) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_seek);
- f_hphp_splfileobject_seek(obj, line_pos);
- }
- inline void x_hphp_splfileobject_setcsvcontrol(CObjRef obj, CStrRef delimiter, CStrRef enclosure, CStrRef escape) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_setcsvcontrol);
- f_hphp_splfileobject_setcsvcontrol(obj, delimiter, enclosure, escape);
- }
- inline void x_hphp_splfileobject_setflags(CObjRef obj, int64 flags) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_setflags);
- f_hphp_splfileobject_setflags(obj, flags);
- }
- inline void x_hphp_splfileobject_setmaxlinelen(CObjRef obj, int64 max_len) {
- FUNCTION_INJECTION_BUILTIN(hphp_splfileobject_setmaxlinelen);
- f_hphp_splfileobject_setmaxlinelen(obj, max_len);
- }
- ///////////////////////////////////////////////////////////////////////////////
- }
- #endif // __EXTPROFILE_SPLFILE_H__