lo-cutils.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2012 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 3 of the License, or (at your
00010 option) any later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, see
00019 <http://www.gnu.org/licenses/>.
00020 
00021 */
00022 
00023 #if !defined (octave_liboctave_cutils_h)
00024 #define octave_liboctave_cutils_h 1
00025 
00026 #include "sys/types.h"
00027 
00028 #ifdef HAVE_LOADLIBRARY_API
00029 #define WIN32_LEAN_AND_MEAN
00030 #include <windows.h>
00031 #endif
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 OCTAVE_API void
00038 octave_qsort (void *base, size_t n, size_t size,
00039               int (*cmp) (const void *, const void *));
00040 
00041 OCTAVE_API int
00042 octave_strcasecmp (const char *s1, const char *s2);
00043 
00044 OCTAVE_API int
00045 octave_strncasecmp (const char *s1, const char *s2, size_t n);
00046 
00047 #ifdef HAVE_LOADLIBRARY_API
00048 OCTAVE_API void *
00049 octave_w32_library_search (HINSTANCE handle, const char *name);
00050 #endif
00051 
00052 OCTAVE_API pid_t
00053 octave_waitpid (pid_t pid, int *status, int options);
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 
00059 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines