/usr/include/zsh/params.epro is in zsh-dev 5.0.2-3ubuntu6.
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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | /* Generated automatically */
#ifndef have_Src_params_globals
#define have_Src_params_globals
extern mod_import_variable int locallevel;
extern mod_import_variable char**pparams;
extern mod_import_variable char**cdpath;
extern mod_import_variable char**fpath;
extern mod_import_variable char**mailpath;
extern mod_import_variable char**manpath;
extern mod_import_variable char**psvar;
extern mod_import_variable char**watch;
extern mod_import_variable char**zsh_eval_context;
extern mod_import_variable char**path;
extern mod_import_variable char**fignore;
extern mod_import_variable char*argzero;
extern mod_import_variable char*home;
extern mod_import_variable char*nullcmd;
extern mod_import_variable char*oldpwd;
extern mod_import_variable char*zoptarg;
extern mod_import_variable char*prompt;
extern mod_import_variable char*prompt2;
extern mod_import_variable char*prompt3;
extern mod_import_variable char*prompt4;
extern mod_import_variable char*readnullcmd;
extern mod_import_variable char*rprompt;
extern mod_import_variable char*rprompt2;
extern mod_import_variable char*sprompt;
extern mod_import_variable char*wordchars;
extern mod_import_variable char*zsh_name;
extern mod_import_variable char*ifs;
extern mod_import_variable char*postedit;
extern mod_import_variable char*term;
extern mod_import_variable char*zsh_terminfo;
extern mod_import_variable char*ttystrname;
extern mod_import_variable char*pwd;
extern mod_import_variable zlong lastval;
extern mod_import_variable zlong mypid;
extern mod_import_variable zlong lastpid;
extern mod_import_variable zlong zterm_columns;
extern mod_import_variable zlong zterm_lines;
extern mod_import_variable zlong ppid;
extern mod_import_variable zlong zsh_subshell;
extern zlong lineno;
extern zlong zoptind;
extern zlong shlvl;
extern mod_import_variable unsigned char bangchar;
extern unsigned char hatchar;
extern unsigned char hashchar;
extern unsigned char keyboardhackchar;
extern struct timeval shtimer;
extern mod_import_variable int termflags;
extern mod_import_variable const struct gsu_scalar stdscalar_gsu;
extern mod_import_variable const struct gsu_scalar varscalar_gsu;
extern mod_import_variable const struct gsu_scalar nullsetscalar_gsu;
extern mod_import_variable const struct gsu_integer stdinteger_gsu;
extern mod_import_variable const struct gsu_integer varinteger_gsu;
extern mod_import_variable const struct gsu_integer nullsetinteger_gsu;
extern mod_import_variable const struct gsu_float stdfloat_gsu;
extern mod_import_variable const struct gsu_array stdarray_gsu;
extern mod_import_variable const struct gsu_array vararray_gsu;
extern mod_import_variable const struct gsu_hash stdhash_gsu;
extern mod_import_variable const struct gsu_hash nullsethash_gsu;
extern mod_import_variable HashTable paramtab;
extern mod_import_variable HashTable realparamtab;
extern mod_import_function HashTable newparamtable _((int size,char const*name));
extern HashTable copyparamtable _((HashTable ht,char*name));
extern mod_import_function void deleteparamtable _((HashTable t));
extern mod_import_function void scancountparams _((UNUSED(HashNode hn),int flags));
extern char**paramvalarr _((HashTable ht,int flags));
extern void createparamtable _((void));
extern mod_import_function void assigngetset _((Param pm));
extern mod_import_function Param createparam _((char*name,int flags));
extern mod_import_function Param createspecialhash _((char*name,GetNodeFunc get,ScanTabFunc scan,int flags));
extern void copyparam _((Param tpm,Param pm,int fakecopy));
extern mod_import_function int isident _((char*s));
extern int getindex _((char**pptr,Value v,int flags));
extern mod_import_function Value getvalue _((Value v,char**pptr,int bracks));
extern mod_import_function Value fetchvalue _((Value v,char**pptr,int bracks,int flags));
extern mod_import_function char*getstrvalue _((Value v));
extern mod_import_function char**getarrvalue _((Value v));
extern mod_import_function zlong getintvalue _((Value v));
extern mnumber getnumvalue _((Value v));
extern void export_param _((Param pm));
extern mod_import_function void setstrvalue _((Value v,char*val));
extern void setnumvalue _((Value v,mnumber val));
extern mod_import_function void setarrvalue _((Value v,char**val));
extern mod_import_function zlong getiparam _((char*s));
extern mnumber getnparam _((char*s));
extern mod_import_function char*getsparam _((char*s));
extern mod_import_function char**getaparam _((char*s));
extern mod_import_function char**gethparam _((char*s));
extern mod_import_function char**gethkparam _((char*s));
extern mod_import_function Param assignsparam _((char*s,char*val,int flags));
extern mod_import_function Param assignaparam _((char*s,char**val,int flags));
extern mod_import_function Param sethparam _((char*s,char**val));
extern Param setnparam _((char*s,mnumber val));
extern mod_import_function Param setiparam _((char*s,zlong val));
extern mod_import_function void unsetparam _((char*s));
extern mod_import_function int unsetparam_pm _((Param pm,int altflag,int exp));
extern mod_import_function void stdunsetfn _((Param pm,UNUSED(int exp)));
extern mod_import_function zlong intgetfn _((Param pm));
extern mod_import_function char*strgetfn _((Param pm));
extern mod_import_function void strsetfn _((Param pm,char*x));
extern char**arrgetfn _((Param pm));
extern mod_import_function void arrsetfn _((Param pm,char**x));
extern mod_import_function HashTable hashgetfn _((Param pm));
extern mod_import_function void hashsetfn _((Param pm,HashTable x));
extern mod_import_function void nullsethashfn _((UNUSED(Param pm),HashTable x));
extern mod_import_function void arrhashsetfn _((Param pm,char**val,int augment));
extern mod_import_function void nullstrsetfn _((UNUSED(Param pm),char*x));
extern mod_import_function void nullintsetfn _((UNUSED(Param pm),UNUSED(zlong x)));
extern mod_import_function void nullunsetfn _((UNUSED(Param pm),UNUSED(int exp)));
extern mod_import_function zlong intvargetfn _((Param pm));
extern mod_import_function void intvarsetfn _((Param pm,zlong x));
extern void zlevarsetfn _((Param pm,zlong x));
extern mod_import_function void strvarsetfn _((Param pm,char*x));
extern mod_import_function char*strvargetfn _((Param pm));
extern mod_import_function char**arrvargetfn _((Param pm));
extern mod_import_function void arrvarsetfn _((Param pm,char**x));
extern char*colonarrgetfn _((Param pm));
extern void colonarrsetfn _((Param pm,char*x));
extern char*tiedarrgetfn _((Param pm));
extern void tiedarrsetfn _((Param pm,char*x));
extern void tiedarrunsetfn _((Param pm,UNUSED(int exp)));
extern HashTable newuniqtable _((zlong size));
extern void uniqarray _((char**x));
extern void zhuniqarray _((char**x));
extern zlong poundgetfn _((UNUSED(Param pm)));
extern zlong randomgetfn _((UNUSED(Param pm)));
extern void randomsetfn _((UNUSED(Param pm),zlong v));
extern zlong intsecondsgetfn _((UNUSED(Param pm)));
extern void intsecondssetfn _((UNUSED(Param pm),zlong x));
extern double floatsecondsgetfn _((UNUSED(Param pm)));
extern void floatsecondssetfn _((UNUSED(Param pm),double x));
extern double getrawseconds _((void));
extern void setrawseconds _((double x));
extern int setsecondstype _((Param pm,int on,int off));
extern char*usernamegetfn _((UNUSED(Param pm)));
extern void usernamesetfn _((UNUSED(Param pm),char*x));
extern zlong uidgetfn _((UNUSED(Param pm)));
extern void uidsetfn _((UNUSED(Param pm),zlong x));
extern zlong euidgetfn _((UNUSED(Param pm)));
extern void euidsetfn _((UNUSED(Param pm),zlong x));
extern zlong gidgetfn _((UNUSED(Param pm)));
extern void gidsetfn _((UNUSED(Param pm),zlong x));
extern zlong egidgetfn _((UNUSED(Param pm)));
extern void egidsetfn _((UNUSED(Param pm),zlong x));
extern zlong ttyidlegetfn _((UNUSED(Param pm)));
extern char*ifsgetfn _((UNUSED(Param pm)));
extern void ifssetfn _((UNUSED(Param pm),char*x));
extern void lc_allsetfn _((Param pm,char*x));
extern void langsetfn _((Param pm,char*x));
extern void lcsetfn _((Param pm,char*x));
extern zlong histsizegetfn _((UNUSED(Param pm)));
extern void histsizesetfn _((UNUSED(Param pm),zlong v));
extern zlong savehistsizegetfn _((UNUSED(Param pm)));
extern void savehistsizesetfn _((UNUSED(Param pm),zlong v));
extern void errnosetfn _((UNUSED(Param pm),zlong x));
extern zlong errnogetfn _((UNUSED(Param pm)));
extern char*keyboardhackgetfn _((UNUSED(Param pm)));
extern void keyboardhacksetfn _((UNUSED(Param pm),char*x));
extern char*histcharsgetfn _((UNUSED(Param pm)));
extern void histcharssetfn _((UNUSED(Param pm),char*x));
extern char*homegetfn _((UNUSED(Param pm)));
extern void homesetfn _((UNUSED(Param pm),char*x));
extern char*wordcharsgetfn _((UNUSED(Param pm)));
extern void wordcharssetfn _((UNUSED(Param pm),char*x));
extern char*underscoregetfn _((UNUSED(Param pm)));
extern char*termgetfn _((UNUSED(Param pm)));
extern void termsetfn _((UNUSED(Param pm),char*x));
extern char*terminfogetfn _((UNUSED(Param pm)));
extern void terminfosetfn _((Param pm,char*x));
extern void arrfixenv _((char*s,char**t));
extern int zputenv _((char*str));
#ifndef USE_SET_UNSET_ENV
#endif
extern mod_import_function char*zgetenv _((char*name));
extern void addenv _((Param pm,char*value));
extern void delenvvalue _((char*x));
extern void delenv _((Param pm));
extern mod_import_function void convbase _((char*s,zlong v,int base));
extern char*convfloat _((double dval,int digits,int flags,FILE*fout));
extern mod_import_function void startparamscope _((void));
extern mod_import_function void endparamscope _((void));
extern void freeparamnode _((HashNode hn));
extern mod_import_function void printparamnode _((HashNode hn,int printflags));
#endif /* !have_Src_params_globals */
|