openenvutils/commandshell/shell/inc/params.epro
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /* Generated automatically */
       
     2 #ifndef have_Src_params_globals
       
     3 #define have_Src_params_globals
       
     4 
       
     5 extern mod_import_variable int locallevel;
       
     6 extern mod_import_variable char**pparams;
       
     7 extern mod_import_variable char**cdpath;
       
     8 extern mod_import_variable char**fpath;
       
     9 extern mod_import_variable char**mailpath;
       
    10 extern mod_import_variable char**manpath;
       
    11 extern mod_import_variable char**psvar;
       
    12 extern mod_import_variable char**watch;
       
    13 extern mod_import_variable char**path;
       
    14 extern mod_import_variable char**fignore;
       
    15 extern char*argzero;
       
    16 extern char*home;
       
    17 extern char*nullcmd;
       
    18 extern char*oldpwd;
       
    19 extern char*zoptarg;
       
    20 extern char*prompt;
       
    21 extern char*prompt2;
       
    22 extern char*prompt3;
       
    23 extern char*prompt4;
       
    24 extern char*readnullcmd;
       
    25 extern char*rprompt;
       
    26 extern char*rprompt2;
       
    27 extern char*sprompt;
       
    28 extern char*wordchars;
       
    29 extern char*zsh_name;
       
    30 extern mod_import_variable char*ifs;
       
    31 extern mod_import_variable char*postedit;
       
    32 extern mod_import_variable char*term;
       
    33 extern mod_import_variable char*ttystrname;
       
    34 extern mod_import_variable char*pwd;
       
    35 extern mod_import_variable zlong lastval;
       
    36 extern mod_import_variable zlong mypid;
       
    37 extern mod_import_variable zlong lastpid;
       
    38 extern mod_import_variable zlong columns;
       
    39 extern mod_import_variable zlong lines;
       
    40 extern mod_import_variable zlong ppid;
       
    41 extern zlong lineno;
       
    42 extern zlong zoptind;
       
    43 extern zlong shlvl;
       
    44 extern mod_import_variable unsigned char bangchar;
       
    45 extern unsigned char hatchar;
       
    46 extern unsigned char hashchar;
       
    47 extern struct timeval shtimer;
       
    48 extern mod_import_variable int termflags;
       
    49 extern mod_import_variable const struct gsu_scalar stdscalar_gsu;
       
    50 extern mod_import_variable const struct gsu_scalar varscalar_gsu;
       
    51 extern mod_import_variable const struct gsu_scalar nullsetscalar_gsu;
       
    52 extern mod_import_variable const struct gsu_integer stdinteger_gsu;
       
    53 extern mod_import_variable const struct gsu_integer varinteger_gsu;
       
    54 extern mod_import_variable const struct gsu_integer nullsetinteger_gsu;
       
    55 extern mod_import_variable const struct gsu_float stdfloat_gsu;
       
    56 extern mod_import_variable const struct gsu_array stdarray_gsu;
       
    57 extern mod_import_variable const struct gsu_array vararray_gsu;
       
    58 extern mod_import_variable const struct gsu_hash stdhash_gsu;
       
    59 extern mod_import_variable const struct gsu_hash nullsethash_gsu;
       
    60 extern mod_import_variable HashTable paramtab;
       
    61 extern mod_import_variable HashTable realparamtab;
       
    62 extern mod_import_function HashTable newparamtable _((int size,char const*name));
       
    63 extern HashTable copyparamtable _((HashTable ht,char*name));
       
    64 extern mod_import_function void deleteparamtable _((HashTable t));
       
    65 extern mod_import_function void scancountparams _((UNUSED(HashNode hn),int flags));
       
    66 extern void scanparamvals _((HashNode hn,int flags));
       
    67 extern char**paramvalarr _((HashTable ht,int flags));
       
    68 extern void createparamtable _((void));
       
    69 extern mod_import_function Param createparam _((char*name,int flags));
       
    70 extern void copyparam _((Param tpm,Param pm,int toplevel));
       
    71 extern mod_import_function int isident _((char*s));
       
    72 extern int getindex _((char**pptr,Value v,int dq));
       
    73 extern mod_import_function Value getvalue _((Value v,char**pptr,int bracks));
       
    74 extern mod_import_function Value fetchvalue _((Value v,char**pptr,int bracks,int flags));
       
    75 extern mod_import_function char*getstrvalue _((Value v));
       
    76 extern mod_import_function char**getarrvalue _((Value v));
       
    77 extern mod_import_function zlong getintvalue _((Value v));
       
    78 extern mnumber getnumvalue _((Value v));
       
    79 extern void export_param _((Param pm));
       
    80 extern mod_import_function void setstrvalue _((Value v,char*val));
       
    81 extern void setnumvalue _((Value v,mnumber val));
       
    82 extern mod_import_function void setarrvalue _((Value v,char**val));
       
    83 extern mod_import_function zlong getiparam _((char*s));
       
    84 extern mnumber getnparam _((char*s));
       
    85 extern mod_import_function char*getsparam _((char*s));
       
    86 extern mod_import_function char**getaparam _((char*s));
       
    87 extern mod_import_function char**gethparam _((char*s));
       
    88 extern mod_import_function char**gethkparam _((char*s));
       
    89 extern mod_import_function Param assignsparam _((char*s,char*val,int augment));
       
    90 extern mod_import_function Param assignaparam _((char*s,char**val,int augment));
       
    91 extern mod_import_function Param sethparam _((char*s,char**val));
       
    92 extern mod_import_function Param setiparam _((char*s,zlong val));
       
    93 extern Param setnparam _((char*s,mnumber val));
       
    94 extern mod_import_function void unsetparam _((char*s));
       
    95 extern mod_import_function int unsetparam_pm _((Param pm,int altflag,int exp));
       
    96 extern mod_import_function void stdunsetfn _((Param pm,UNUSED(int exp)));
       
    97 extern mod_import_function zlong intgetfn _((Param pm));
       
    98 extern mod_import_function char*strgetfn _((Param pm));
       
    99 extern char**arrgetfn _((Param pm));
       
   100 extern mod_import_function void arrsetfn _((Param pm,char**x));
       
   101 extern mod_import_function HashTable hashgetfn _((Param pm));
       
   102 extern mod_import_function void hashsetfn _((Param pm,HashTable x));
       
   103 extern mod_import_function void nullsethashfn _((Param pm,HashTable x));
       
   104 extern mod_import_function void nullstrsetfn _((UNUSED(Param pm),char*x));
       
   105 extern void nullintsetfn _((UNUSED(Param pm),UNUSED(zlong x)));
       
   106 extern mod_import_function void nullunsetfn _((UNUSED(Param pm),UNUSED(int exp)));
       
   107 extern mod_import_function zlong intvargetfn _((Param pm));
       
   108 extern mod_import_function void intvarsetfn _((Param pm,zlong x));
       
   109 extern void zlevarsetfn _((Param pm,zlong x));
       
   110 extern mod_import_function void strvarsetfn _((Param pm,char*x));
       
   111 extern mod_import_function char*strvargetfn _((Param pm));
       
   112 extern mod_import_function char**arrvargetfn _((Param pm));
       
   113 extern mod_import_function void arrvarsetfn _((Param pm,char**x));
       
   114 extern char*colonarrgetfn _((Param pm));
       
   115 extern void colonarrsetfn _((Param pm,char*x));
       
   116 extern char*tiedarrgetfn _((Param pm));
       
   117 extern void tiedarrsetfn _((Param pm,char*x));
       
   118 extern void tiedarrunsetfn _((Param pm,UNUSED(int exp)));
       
   119 extern void uniqarray _((char**x));
       
   120 extern void zhuniqarray _((char**x));
       
   121 extern zlong poundgetfn _((UNUSED(Param pm)));
       
   122 extern zlong randomgetfn _((UNUSED(Param pm)));
       
   123 extern void randomsetfn _((UNUSED(Param pm),zlong v));
       
   124 extern zlong intsecondsgetfn _((UNUSED(Param pm)));
       
   125 extern void intsecondssetfn _((UNUSED(Param pm),zlong x));
       
   126 extern double floatsecondsgetfn _((UNUSED(Param pm)));
       
   127 extern void floatsecondssetfn _((UNUSED(Param pm),double x));
       
   128 extern double getrawseconds _((void));
       
   129 extern void setrawseconds _((double x));
       
   130 extern int setsecondstype _((Param pm,int on,int off));
       
   131 extern char*usernamegetfn _((UNUSED(Param pm)));
       
   132 extern void usernamesetfn _((UNUSED(Param pm),char*x));
       
   133 extern zlong uidgetfn _((UNUSED(Param pm)));
       
   134 extern void uidsetfn _((UNUSED(Param pm),zlong x));
       
   135 extern zlong euidgetfn _((UNUSED(Param pm)));
       
   136 extern void euidsetfn _((UNUSED(Param pm),zlong x));
       
   137 extern zlong gidgetfn _((UNUSED(Param pm)));
       
   138 extern void gidsetfn _((UNUSED(Param pm),zlong x));
       
   139 extern zlong egidgetfn _((UNUSED(Param pm)));
       
   140 extern void egidsetfn _((UNUSED(Param pm),zlong x));
       
   141 extern zlong ttyidlegetfn _((UNUSED(Param pm)));
       
   142 extern char*ifsgetfn _((UNUSED(Param pm)));
       
   143 extern void ifssetfn _((UNUSED(Param pm),char*x));
       
   144 extern void lc_allsetfn _((Param pm,char*x));
       
   145 extern void langsetfn _((Param pm,char*x));
       
   146 extern void lcsetfn _((Param pm,char*x));
       
   147 extern zlong histsizegetfn _((UNUSED(Param pm)));
       
   148 extern void histsizesetfn _((UNUSED(Param pm),zlong v));
       
   149 extern zlong savehistsizegetfn _((UNUSED(Param pm)));
       
   150 extern void savehistsizesetfn _((UNUSED(Param pm),zlong v));
       
   151 extern void errnosetfn _((UNUSED(Param pm),zlong x));
       
   152 extern zlong errnogetfn _((UNUSED(Param pm)));
       
   153 extern char*histcharsgetfn _((UNUSED(Param pm)));
       
   154 extern void histcharssetfn _((UNUSED(Param pm),char*x));
       
   155 extern char*homegetfn _((UNUSED(Param pm)));
       
   156 extern void homesetfn _((UNUSED(Param pm),char*x));
       
   157 extern char*wordcharsgetfn _((UNUSED(Param pm)));
       
   158 extern void wordcharssetfn _((UNUSED(Param pm),char*x));
       
   159 extern char*underscoregetfn _((UNUSED(Param pm)));
       
   160 extern char*termgetfn _((UNUSED(Param pm)));
       
   161 extern void termsetfn _((UNUSED(Param pm),char*x));
       
   162 extern void arrfixenv _((char*s,char**t));
       
   163 extern int zputenv _((char*str));
       
   164 extern mod_import_function char*zgetenv _((char*name));
       
   165 extern void addenv _((Param pm,char*value));
       
   166 extern void delenvvalue _((char*x));
       
   167 extern void delenv _((Param pm));
       
   168 extern mod_import_function void convbase _((char*s,zlong v,int base));
       
   169 extern char*convfloat _((double dval,int digits,int flags,FILE*fout));
       
   170 extern mod_import_function void startparamscope _((void));
       
   171 extern mod_import_function void endparamscope _((void));
       
   172 extern void freeparamnode _((HashNode hn));
       
   173 extern mod_import_function void printparamnode _((HashNode hn,int printflags));
       
   174 
       
   175 #endif /* !have_Src_params_globals */