cd & chdir factorized
[scilab.git] / scilab / modules / fileio / sci_gateway / fileio_gateway.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2007 - INRIA - Allan CORNET
5  * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
6  * ...
7  * 
8  * This file must be used under the terms of the CeCILL.
9  * This source file is licensed as described in the file COPYING, which
10  * you should have received as part of this distribution.  The terms
11  * are also available at    
12  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13  *
14  -->
15 <!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
16 <GATEWAY name="fileio">
17 <!-- =================== -->
18 <!--
19  Scilab
20  Interface description. In this file, we define the list of the function which
21  will be available into Scilab and the link to the "native" function.
22
23  gatewayId is the position in the hashtable 'Interfaces' defined in the
24  file SCI/modules/core/src/c/callinterf.h
25
26  primitiveId is the position in the hashtable '<module>Table Tab[]' defined
27  in the file modules/<module>/sci_gateway/c/gw_<module>.c
28
29  primitiveName is the name of the Scilab function
30
31  ===================
32  Don't touch if you do not know what you are doing
33 -->
34 <!-- =================== -->
35
36 <PRIMITIVE gatewayId="34" primitiveId="1" primitiveName="mopen" />
37 <PRIMITIVE gatewayId="34" primitiveId="2" primitiveName="mputstr" />
38 <PRIMITIVE gatewayId="34" primitiveId="3" primitiveName="mclose" />
39 <PRIMITIVE gatewayId="34" primitiveId="4" primitiveName="mput" />
40 <PRIMITIVE gatewayId="34" primitiveId="5" primitiveName="mget" />
41 <PRIMITIVE gatewayId="34" primitiveId="6" primitiveName="mgetstr" />
42 <PRIMITIVE gatewayId="34" primitiveId="7" primitiveName="meof" />
43 <PRIMITIVE gatewayId="34" primitiveId="8" primitiveName="mseek" />
44 <PRIMITIVE gatewayId="34" primitiveId="9" primitiveName="mtell" />
45 <PRIMITIVE gatewayId="34" primitiveId="10" primitiveName="mclearerr" />
46 <PRIMITIVE gatewayId="34" primitiveId="11" primitiveName="mfprintf" />
47 <PRIMITIVE gatewayId="34" primitiveId="12" primitiveName="mscanf" />
48 <PRIMITIVE gatewayId="34" primitiveId="13" primitiveName="mfscanf" />
49 <PRIMITIVE gatewayId="34" primitiveId="14" primitiveName="msscanf" />
50 <PRIMITIVE gatewayId="34" primitiveId="15" primitiveName="fscanfMat" />
51 <PRIMITIVE gatewayId="34" primitiveId="16" primitiveName="fprintfMat" />
52 <PRIMITIVE gatewayId="34" primitiveId="17" primitiveName="merror" />
53 <PRIMITIVE gatewayId="34" primitiveId="18" primitiveName="findfiles" />
54 <PRIMITIVE gatewayId="34" primitiveId="19" primitiveName="maxfiles" />
55 <PRIMITIVE gatewayId="34" primitiveId="20" primitiveName="getdrives" />
56 <PRIMITIVE gatewayId="34" primitiveId="21" primitiveName="fullpath" />
57 <PRIMITIVE gatewayId="34" primitiveId="22" primitiveName="deletefile" />
58 <PRIMITIVE gatewayId="34" primitiveId="23" primitiveName="pathsep"/>
59 <PRIMITIVE gatewayId="34" primitiveId="24" primitiveName="filesep"/>
60 <PRIMITIVE gatewayId="34" primitiveId="25" primitiveName="getlongpathname"/>
61 <PRIMITIVE gatewayId="34" primitiveId="26" primitiveName="getshortpathname"/>
62 <PRIMITIVE gatewayId="34" primitiveId="27" primitiveName="fileext"/>
63 <PRIMITIVE gatewayId="34" primitiveId="28" primitiveName="isdir"/>
64 <PRIMITIVE gatewayId="34" primitiveId="29" primitiveName="removedir"/>
65 <PRIMITIVE gatewayId="34" primitiveId="30" primitiveName="createdir"/>
66 <PRIMITIVE gatewayId="34" primitiveId="31" primitiveName="pwd" />
67 <PRIMITIVE gatewayId="34" primitiveId="32" primitiveName="chdir" />
68 <PRIMITIVE gatewayId="34" primitiveId="33" primitiveName="fileinfo" />
69 <PRIMITIVE gatewayId="34" primitiveId="34" primitiveName="newest" />
70 <PRIMITIVE gatewayId="34" primitiveId="35" primitiveName="getrelativefilename" />
71 <PRIMITIVE gatewayId="34" primitiveId="36" primitiveName="get_absolute_file_path" />
72 <PRIMITIVE gatewayId="34" primitiveId="37" primitiveName="copyfile" />
73 <PRIMITIVE gatewayId="34" primitiveId="38" primitiveName="isfile" />
74 <PRIMITIVE gatewayId="34" primitiveId="39" primitiveName="fileparts" />
75 <PRIMITIVE gatewayId="34" primitiveId="40" primitiveName="movefile" />
76 <PRIMITIVE gatewayId="34" primitiveId="41" primitiveName="basename" />
77 <PRIMITIVE gatewayId="34" primitiveId="42" primitiveName="pathconvert" />
78 <PRIMITIVE gatewayId="34" primitiveId="43" primitiveName="cd" />
79 </GATEWAY>