text: /*
     +----------------------------------------------------------------------+
     | 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_OUTPUT_H__
  #define __EXTPROFILE_OUTPUT_H__
  
  // >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
  
  #include <cpp/ext/ext_output.h>
  
  namespace HPHP {
  ///////////////////////////////////////////////////////////////////////////////
  
  inline bool x_ob_start(CVarRef output_callback = null, int chunk_size = 0, bool erase = true) {
    FUNCTION_INJECTION_BUILTIN(ob_start);
    return f_ob_start(output_callback, chunk_size, erase);
  }
  
  inline void x_ob_clean() {
    FUNCTION_INJECTION_BUILTIN(ob_clean);
    f_ob_clean();
  }
  
  inline void x_ob_flush() {
    FUNCTION_INJECTION_BUILTIN(ob_flush);
    f_ob_flush();
  }
  
  inline bool x_ob_end_clean() {
    FUNCTION_INJECTION_BUILTIN(ob_end_clean);
    return f_ob_end_clean();
  }
  
  inline bool x_ob_end_flush() {
    FUNCTION_INJECTION_BUILTIN(ob_end_flush);
    return f_ob_end_flush();
  }
  
  inline void x_flush() {
    FUNCTION_INJECTION_BUILTIN(flush);
    f_flush();
  }
  
  inline String x_ob_get_clean() {
    FUNCTION_INJECTION_BUILTIN(ob_get_clean);
    return f_ob_get_clean();
  }
  
  inline String x_ob_get_contents() {
    FUNCTION_INJECTION_BUILTIN(ob_get_contents);
    return f_ob_get_contents();
  }
  
  inline String x_ob_get_flush() {
    FUNCTION_INJECTION_BUILTIN(ob_get_flush);
    return f_ob_get_flush();
  }
  
  inline int x_ob_get_length() {
    FUNCTION_INJECTION_BUILTIN(ob_get_length);
    return f_ob_get_length();
  }
  
  inline int x_ob_get_level() {
    FUNCTION_INJECTION_BUILTIN(ob_get_level);
    return f_ob_get_level();
  }
  
  inline Array x_ob_get_status(bool full_status = false) {
    FUNCTION_INJECTION_BUILTIN(ob_get_status);
    return f_ob_get_status(full_status);
  }
  
  inline String x_ob_gzhandler(CStrRef buffer, int mode) {
    FUNCTION_INJECTION_BUILTIN(ob_gzhandler);
    return f_ob_gzhandler(buffer, mode);
  }
  
  inline void x_ob_implicit_flush(bool flag = true) {
    FUNCTION_INJECTION_BUILTIN(ob_implicit_flush);
    f_ob_implicit_flush(flag);
  }
  
  inline Array x_ob_list_handlers() {
    FUNCTION_INJECTION_BUILTIN(ob_list_handlers);
    return f_ob_list_handlers();
  }
  
  inline bool x_output_add_rewrite_var(CStrRef name, CStrRef value) {
    FUNCTION_INJECTION_BUILTIN(output_add_rewrite_var);
    return f_output_add_rewrite_var(name, value);
  }
  
  inline bool x_output_reset_rewrite_vars() {
    FUNCTION_INJECTION_BUILTIN(output_reset_rewrite_vars);
    return f_output_reset_rewrite_vars();
  }
  
  inline bool x_hphp_log(CStrRef filename, CStrRef message) {
    FUNCTION_INJECTION_BUILTIN(hphp_log);
    return f_hphp_log(filename, message);
  }
  
  inline void x_hphp_stats(CStrRef name, int64 value) {
    FUNCTION_INJECTION_BUILTIN(hphp_stats);
    f_hphp_stats(name, value);
  }
  
  inline int64 x_hphp_get_stats(CStrRef name) {
    FUNCTION_INJECTION_BUILTIN(hphp_get_stats);
    return f_hphp_get_stats(name);
  }
  
  inline void x_hphp_output_global_state(CStrRef filename = null_string) {
    FUNCTION_INJECTION_BUILTIN(hphp_output_global_state);
    f_hphp_output_global_state(filename);
  }
  
  
  ///////////////////////////////////////////////////////////////////////////////
  }
  
  #endif // __EXTPROFILE_OUTPUT_H__
  