/usr/include/scilab/configvariable_interface.h is in scilab-include 6.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | /*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2014 - Scilab Enterprises - Antoine ELIAS
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the CeCILL v.2.1.
* This file was originally licensed under the terms of the CeCILL v2.1,
* and continues to be available under such terms.
* For more information, see the COPYING file which you should have received
* along with this program.
*
*/
#ifndef __CONFIGVARIABLE_INTERFACE_H__
#define __CONFIGVARIABLE_INTERFACE_H__
#include <string.h>
#include <wchar.h>
#include "dynlib_ast.h"
#define VERBOSE_ERROR 0
typedef enum
{
SCILAB_API = 1, /* Scilab is launch as an API */
SCILAB_STD, /* The standard Scilab (gui, plot ...) */
SCILAB_NW, /* Scilab in command line with the plots */
SCILAB_NWNI /* Scilab in command line without any graphics. What not mandataroy here */
} scilabMode;
EXTERN_AST int getSimpMode(void);
EXTERN_AST void setSimpMode(int);
EXTERN_AST int getStartProcessing();
EXTERN_AST int getEndProcessing();
EXTERN_AST void setFormatSize(int _iFormatSize);
EXTERN_AST int getFormatSize(void);
EXTERN_AST void setFormatMode(int _iFormatMode);
EXTERN_AST int getFormatMode(void);
EXTERN_AST void setConsoleWidth(int _iConsoleWidth);
EXTERN_AST int getConsoleWidth(void);
EXTERN_AST void setConsoleLines(int _iConsoleLines);
EXTERN_AST int getConsoleLines(void);
EXTERN_AST int getPromptMode(void);
EXTERN_AST void setPromptMode(int _iMode);
EXTERN_AST int isSilentError(void);
EXTERN_AST void setSilentError(int _iSilent);
EXTERN_AST int isPrintInput();
EXTERN_AST void setPrintInput(int);
EXTERN_AST int isPrintOutput();
EXTERN_AST void setPrintOutput(int);
EXTERN_AST int isPrintCompact();
EXTERN_AST void setPrintCompact(int);
EXTERN_AST int isPrintInteractive();
EXTERN_AST void setPrintInteractive(int);
EXTERN_AST int getieee(void);
EXTERN_AST void setieee(int);
EXTERN_AST scilabMode getScilabMode(void);
EXTERN_AST void setScilabMode(scilabMode newmode);
EXTERN_AST const char * getScilabModeString(void);
EXTERN_AST int getWarningMode(void);
EXTERN_AST void setWarningMode(int _iMode);
EXTERN_AST int getWarningStop(void);
EXTERN_AST void setWarningStop(int _iMode);
EXTERN_AST int checkReferenceModule(const wchar_t* _module);
EXTERN_AST void addReferenceModule(const wchar_t* _module);
EXTERN_AST void removeReferenceModule(const wchar_t* _module);
EXTERN_AST int getForceQuit();
EXTERN_AST int getEntryPointPosition(wchar_t* _pwstEntryPointName);
typedef void(*dynlib_ptr)();
EXTERN_AST dynlib_ptr getEntryPointFromPosition(int position);
EXTERN_AST int isEnableDebug();
EXTERN_AST int isDebugInterrupted();
EXTERN_AST int isExecutionBreak();
EXTERN_AST void setExecutionBreak();
EXTERN_AST void resetExecutionBreak();
EXTERN_AST int setRecursionLimit(int);
#endif /* !__CONFIGVARIABLE_INTERFACE_H__ */
|