const ACTION: CMD_BIG_FILESIZE is action "CMD_BIG_FILESIZE";
const ACTION: CMD_CHDIR is action "CMD_CHDIR";
const ACTION: CMD_CLONE_FILE is action "CMD_CLONE_FILE";
const ACTION: CMD_CONFIG_VALUE is action "CMD_CONFIG_VALUE";
const ACTION: CMD_COPY_FILE is action "CMD_COPY_FILE";
const ACTION: CMD_ENVIRONMENT is action "CMD_ENVIRONMENT";
const ACTION: CMD_FILESIZE is action "CMD_FILESIZE";
const ACTION: CMD_FILETYPE is action "CMD_FILETYPE";
const ACTION: CMD_FILETYPE_SL is action "CMD_FILETYPE_SL";
const ACTION: CMD_FINAL_PATH is action "CMD_FINAL_PATH";
const ACTION: CMD_GETCWD is action "CMD_GETCWD";
const ACTION: CMD_GETENV is action "CMD_GETENV";
const ACTION: CMD_GET_ATIME is action "CMD_GET_ATIME";
const ACTION: CMD_GET_ATIME_OF_SYMLINK is action "CMD_GET_ATIME_OF_SYMLINK";
const ACTION: CMD_GET_CTIME is action "CMD_GET_CTIME";
const ACTION: CMD_GET_FILE_MODE is action "CMD_GET_FILE_MODE";
const ACTION: CMD_GET_FILE_MODE_OF_SYMLINK is action "CMD_GET_FILE_MODE_OF_SYMLINK";
const ACTION: CMD_GET_GROUP is action "CMD_GET_GROUP";
const ACTION: CMD_GET_GROUP_OF_SYMLINK is action "CMD_GET_GROUP_OF_SYMLINK";
const ACTION: CMD_GET_MTIME is action "CMD_GET_MTIME";
const ACTION: CMD_GET_MTIME_OF_SYMLINK is action "CMD_GET_MTIME_OF_SYMLINK";
const ACTION: CMD_GET_OWNER is action "CMD_GET_OWNER";
const ACTION: CMD_GET_OWNER_OF_SYMLINK is action "CMD_GET_OWNER_OF_SYMLINK";
const ACTION: CMD_GET_SEARCH_PATH is action "CMD_GET_SEARCH_PATH";
const ACTION: CMD_HOME_DIR is action "CMD_HOME_DIR";
const ACTION: CMD_MAKE_DIR is action "CMD_MAKE_DIR";
const ACTION: CMD_MAKE_LINK is action "CMD_MAKE_LINK";
const ACTION: CMD_MOVE is action "CMD_MOVE";
const ACTION: CMD_READ_DIR is action "CMD_READ_DIR";
const ACTION: CMD_READ_LINK is action "CMD_READ_LINK";
const ACTION: CMD_READ_LINK_ABSOLUTE is action "CMD_READ_LINK_ABSOLUTE";
const ACTION: CMD_REMOVE_FILE is action "CMD_REMOVE_FILE";
const ACTION: CMD_REMOVE_TREE is action "CMD_REMOVE_TREE";
const ACTION: CMD_SETENV is action "CMD_SETENV";
const ACTION: CMD_SET_ATIME is action "CMD_SET_ATIME";
const ACTION: CMD_SET_FILE_MODE is action "CMD_SET_FILE_MODE";
const ACTION: CMD_SET_GROUP is action "CMD_SET_GROUP";
const ACTION: CMD_SET_GROUP_OF_SYMLINK is action "CMD_SET_GROUP_OF_SYMLINK";
const ACTION: CMD_SET_MTIME is action "CMD_SET_MTIME";
const ACTION: CMD_SET_MTIME_OF_SYMLINK is action "CMD_SET_MTIME_OF_SYMLINK";
const ACTION: CMD_SET_OWNER is action "CMD_SET_OWNER";
const ACTION: CMD_SET_OWNER_OF_SYMLINK is action "CMD_SET_OWNER_OF_SYMLINK";
const ACTION: CMD_SET_SEARCH_PATH is action "CMD_SET_SEARCH_PATH";
const ACTION: CMD_SHELL is action "CMD_SHELL";
const ACTION: CMD_SHELL_ESCAPE is action "CMD_SHELL_ESCAPE";
const ACTION: CMD_TO_OS_PATH is action "CMD_TO_OS_PATH";
const ACTION: CMD_UNSETENV is action "CMD_UNSETENV";
const proc: cmd_prototypes (inout file: c_prog) is func
begin
declareExtern(c_prog, "bigIntType cmdBigFileSize (const const_striType);");
declareExtern(c_prog, "void cmdChdir (const const_striType);");
declareExtern(c_prog, "void cmdCloneFile (const const_striType, const const_striType);");
declareExtern(c_prog, "striType cmdConfigValue (const const_striType);");
declareExtern(c_prog, "void cmdCopyFile (const const_striType, const const_striType);");
declareExtern(c_prog, "arrayType cmdEnvironment (void);");
declareExtern(c_prog, "intType cmdFileSize (const const_striType);");
declareExtern(c_prog, "intType cmdFileType (const const_striType);");
declareExtern(c_prog, "intType cmdFileTypeSL (const const_striType);");
declareExtern(c_prog, "striType cmdFinalPath (const const_striType);");
declareExtern(c_prog, "striType cmdGetcwd (void);");
declareExtern(c_prog, "striType cmdGetenv (const const_striType);");
declareExtern(c_prog, "void cmdGetATime (const const_striType, intType *, intType *, intType *, intType *, intType *, intType *, intType *, intType *, boolType *);");
declareExtern(c_prog, "void cmdGetATimeOfSymlink (const const_striType, intType *, intType *, intType *, intType *, intType *, intType *, intType *, intType *, boolType *);");
declareExtern(c_prog, "void cmdGetCTime (const const_striType, intType *, intType *, intType *, intType *, intType *, intType *, intType *, intType *, boolType *);");
declareExtern(c_prog, "setType cmdGetFileMode (const const_striType);");
declareExtern(c_prog, "setType cmdGetFileModeOfSymlink (const const_striType);");
declareExtern(c_prog, "striType cmdGetGroup (const const_striType);");
declareExtern(c_prog, "striType cmdGetGroupOfSymlink (const const_striType);");
declareExtern(c_prog, "void cmdGetMTime (const const_striType, intType *, intType *, intType *, intType *, intType *, intType *, intType *, intType *, boolType *);");
declareExtern(c_prog, "void cmdGetMTimeOfSymlink (const const_striType, intType *, intType *, intType *, intType *, intType *, intType *, intType *, intType *, boolType *);");
declareExtern(c_prog, "striType cmdGetOwner (const const_striType);");
declareExtern(c_prog, "striType cmdGetOwnerOfSymlink (const const_striType);");
declareExtern(c_prog, "arrayType cmdGetSearchPath (void);");
declareExtern(c_prog, "striType cmdHomeDir (void);");
declareExtern(c_prog, "void cmdMakeDir (const const_striType);");
declareExtern(c_prog, "void cmdMakeLink (const_striType, const_striType);");
declareExtern(c_prog, "void cmdMove (const const_striType, const const_striType);");
declareExtern(c_prog, "arrayType cmdReadDir (const const_striType);");
declareExtern(c_prog, "striType cmdReadLink (const const_striType);");
declareExtern(c_prog, "striType cmdReadLinkAbsolute (const const_striType);");
declareExtern(c_prog, "void cmdRemoveFile (const const_striType);");
declareExtern(c_prog, "void cmdRemoveTree (const const_striType);");
declareExtern(c_prog, "void cmdSetenv (const const_striType, const const_striType);");
declareExtern(c_prog, "void cmdSetATime (const const_striType, intType, intType, intType, intType, intType, intType, intType, intType);");
declareExtern(c_prog, "void cmdSetFileMode (const const_striType, const const_setType);");
declareExtern(c_prog, "void cmdSetGroup (const const_striType, const const_striType);");
declareExtern(c_prog, "void cmdSetGroupOfSymlink (const const_striType, const const_striType);");
declareExtern(c_prog, "void cmdSetMTime (const const_striType, intType, intType, intType, intType, intType, intType, intType, intType);");
declareExtern(c_prog, "void cmdSetMTimeOfSymlink (const const_striType, intType, intType, intType, intType, intType, intType, intType, intType);");
declareExtern(c_prog, "void cmdSetOwner (const const_striType, const const_striType);");
declareExtern(c_prog, "void cmdSetOwnerOfSymlink (const const_striType, const const_striType);");
declareExtern(c_prog, "intType cmdShell (const const_striType, const const_striType);");
declareExtern(c_prog, "striType cmdShellEscape (const const_striType);");
declareExtern(c_prog, "striType cmdToOsPath (const const_striType);");
declareExtern(c_prog, "void cmdUnsetenv (const const_striType);");
end func;
const proc: process (CMD_BIG_FILESIZE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_bigint_result(c_expr);
c_expr.result_expr := "cmdBigFileSize(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_CHDIR, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdChdir(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_CLONE_FILE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdCloneFile(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_CONFIG_VALUE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdConfigValue(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_COPY_FILE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdCopyFile(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_ENVIRONMENT, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
local
var type: result_type is void;
begin
result_type := resultType(getType(function));
prepare_typed_result(result_type, c_expr);
c_expr.result_expr := "cmdEnvironment()";
end func;
const proc: process (CMD_FILESIZE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
c_expr.expr &:= "cmdFileSize(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ")";
end func;
const proc: process (CMD_FILETYPE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
c_expr.expr &:= "cmdFileType(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ")";
end func;
const proc: process (CMD_FILETYPE_SL, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
c_expr.expr &:= "cmdFileTypeSL(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ")";
end func;
const proc: process (CMD_FINAL_PATH, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdFinalPath(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GETCWD, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetcwd()";
end func;
const proc: process (CMD_GETENV, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetenv(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_ATIME, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdGetATime(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", &(";
process_expr(params[2], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[3], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[4], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[5], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[6], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[7], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[8], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[9], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[10], c_expr);
c_expr.expr &:= "));\n";
end func;
const proc: process (CMD_GET_ATIME_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdGetATimeOfSymlink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", &(";
process_expr(params[2], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[3], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[4], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[5], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[6], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[7], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[8], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[9], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[10], c_expr);
c_expr.expr &:= "));\n";
end func;
const proc: process (CMD_GET_CTIME, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdGetCTime(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", &(";
process_expr(params[2], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[3], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[4], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[5], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[6], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[7], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[8], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[9], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[10], c_expr);
c_expr.expr &:= "));\n";
end func;
const proc: process (CMD_GET_FILE_MODE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_set_result(resultType(getType(function)), c_expr);
c_expr.result_expr := "cmdGetFileMode(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_FILE_MODE_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_set_result(resultType(getType(function)), c_expr);
c_expr.result_expr := "cmdGetFileModeOfSymlink(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_GROUP, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetGroup(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_GROUP_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetGroupOfSymlink(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_MTIME, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdGetMTime(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", &(";
process_expr(params[2], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[3], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[4], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[5], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[6], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[7], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[8], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[9], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[10], c_expr);
c_expr.expr &:= "));\n";
end func;
const proc: process (CMD_GET_MTIME_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdGetMTimeOfSymlink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", &(";
process_expr(params[2], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[3], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[4], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[5], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[6], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[7], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[8], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[9], c_expr);
c_expr.expr &:= "), &(";
process_expr(params[10], c_expr);
c_expr.expr &:= "));\n";
end func;
const proc: process (CMD_GET_OWNER, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetOwner(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_OWNER_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdGetOwnerOfSymlink(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_GET_SEARCH_PATH, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
local
var type: result_type is void;
begin
result_type := resultType(getType(function));
prepare_typed_result(result_type, c_expr);
c_expr.result_expr := "cmdGetSearchPath()";
end func;
const proc: process (CMD_HOME_DIR, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdHomeDir()";
end func;
const proc: process (CMD_MAKE_DIR, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdMakeDir(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_MAKE_LINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdMakeLink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_MOVE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdMove(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_READ_DIR, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_typed_result(array_type[getExprResultType(params[1])], c_expr);
c_expr.result_expr := "cmdReadDir(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_READ_LINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdReadLink(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_READ_LINK_ABSOLUTE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdReadLinkAbsolute(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_REMOVE_FILE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdRemoveFile(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_REMOVE_TREE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdRemoveTree(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SETENV, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetenv(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_ATIME, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetATime(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
process_expr(params[2], c_expr);
c_expr.expr &:= ", ";
process_expr(params[3], c_expr);
c_expr.expr &:= ", ";
process_expr(params[4], c_expr);
c_expr.expr &:= ", ";
process_expr(params[5], c_expr);
c_expr.expr &:= ", ";
process_expr(params[6], c_expr);
c_expr.expr &:= ", ";
process_expr(params[7], c_expr);
c_expr.expr &:= ", ";
process_expr(params[8], c_expr);
c_expr.expr &:= ", ";
process_expr(params[9], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_FILE_MODE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetFileMode(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_GROUP, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetGroup(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_GROUP_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetGroupOfSymlink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_MTIME, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetMTime(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
process_expr(params[2], c_expr);
c_expr.expr &:= ", ";
process_expr(params[3], c_expr);
c_expr.expr &:= ", ";
process_expr(params[4], c_expr);
c_expr.expr &:= ", ";
process_expr(params[5], c_expr);
c_expr.expr &:= ", ";
process_expr(params[6], c_expr);
c_expr.expr &:= ", ";
process_expr(params[7], c_expr);
c_expr.expr &:= ", ";
process_expr(params[8], c_expr);
c_expr.expr &:= ", ";
process_expr(params[9], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_MTIME_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetMTimeOfSymlink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
process_expr(params[2], c_expr);
c_expr.expr &:= ", ";
process_expr(params[3], c_expr);
c_expr.expr &:= ", ";
process_expr(params[4], c_expr);
c_expr.expr &:= ", ";
process_expr(params[5], c_expr);
c_expr.expr &:= ", ";
process_expr(params[6], c_expr);
c_expr.expr &:= ", ";
process_expr(params[7], c_expr);
c_expr.expr &:= ", ";
process_expr(params[8], c_expr);
c_expr.expr &:= ", ";
process_expr(params[9], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_OWNER, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetOwner(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_OWNER_OF_SYMLINK, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdSetOwnerOfSymlink(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SET_SEARCH_PATH, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
c_expr.expr &:= "cmdSetSearchPath(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;
const proc: process (CMD_SHELL, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
c_expr.expr &:= "cmdShell(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ", ";
getAnyParamToExpr(params[2], c_expr);
c_expr.expr &:= ")";
end func;
const proc: process (CMD_SHELL_ESCAPE, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdShellEscape(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_TO_OS_PATH, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
prepare_stri_result(c_expr);
c_expr.result_expr := "cmdToOsPath(";
getAnyParamToResultExpr(params[1], c_expr);
c_expr.result_expr &:= ")";
end func;
const proc: process (CMD_UNSETENV, in reference: function,
in ref_list: params, inout expr_type: c_expr) is func
begin
setDiagnosticLine(c_expr);
c_expr.expr &:= "cmdUnsetenv(";
getAnyParamToExpr(params[1], c_expr);
c_expr.expr &:= ");\n";
end func;