1 /*
   2  * Copyright 2012, 2013 SAP AG. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 // This is only a stub. Will flesh out later when/if we add further support
  26 // for PASE.
  27 
  28 #include "libo4.hpp"
  29 
  30 bool libo4::init() { return false; }
  31 void libo4::cleanup() {}
  32 bool libo4::get_memory_info (unsigned long long* p_virt_total, unsigned long long* p_real_total, 
  33   unsigned long long* p_real_free, unsigned long long* p_pgsp_total, unsigned long long* p_pgsp_free) {
  34   return false;
  35 }
  36 bool libo4::get_load_avg (double* p_avg1, double* p_avg5, double* p_avg15) { return false; }
  37 bool libo4::realpath (const char* file_name, char* resolved_name, int resolved_name_len) { return false; }
  38