[asperl] added AS patch#2
[p5sagit/p5-mst-13.2.git] / proto.h
CommitLineData
76e3520e 1#ifdef PERL_OBJECT
2#include "ipstdio.h"
3#include "ipdir.h"
4#include "ipenv.h"
5#include "iplio.h"
6#include "ipmem.h"
7#include "ipproc.h"
8#include "ipsock.h"
9#define VIRTUAL virtual
10#else
11#define VIRTUAL
22239a37 12START_EXTERN_C
76e3520e 13#endif
22239a37 14
fed7345c 15#ifndef NEXT30_NO_ATTRIBUTE
ecfc5424 16#ifndef HASATTRIBUTE /* disable GNU-cc attribute checking? */
17#ifdef __attribute__ /* Avoid possible redefinition errors */
a0d0e21e 18#undef __attribute__
ecfc5424 19#endif
a0d0e21e 20#define __attribute__(attr)
aeea060c 21#endif
a0d0e21e 22#endif
23#ifdef OVERLOAD
76e3520e 24VIRTUAL SV* amagic_call _((SV* left,SV* right,int method,int dir));
25VIRTUAL bool Gv_AMupdate _((HV* stash));
a0d0e21e 26#endif /* OVERLOAD */
76e3520e 27VIRTUAL OP* append_elem _((I32 optype, OP* head, OP* tail));
28VIRTUAL OP* append_list _((I32 optype, LISTOP* first, LISTOP* last));
29VIRTUAL I32 apply _((I32 type, SV** mark, SV** sp));
30VIRTUAL void assertref _((OP* o));
31VIRTUAL SV* avhv_delete _((AV *ar, char* key, U32 klen, I32 flags));
32VIRTUAL SV* avhv_delete_ent _((AV *ar, SV* keysv, I32 flags, U32 hash));
33VIRTUAL bool avhv_exists _((AV *ar, char* key, U32 klen));
34VIRTUAL bool avhv_exists_ent _((AV *ar, SV* keysv, U32 hash));
35VIRTUAL SV** avhv_fetch _((AV *ar, char* key, U32 klen, I32 lval));
36VIRTUAL SV** avhv_fetch_ent _((AV *ar, SV* keysv, I32 lval, U32 hash));
37VIRTUAL I32 avhv_iterinit _((AV *ar));
38VIRTUAL HE* avhv_iternext _((AV *ar));
39VIRTUAL SV * avhv_iternextsv _((AV *ar, char** key, I32* retlen));
40VIRTUAL SV* avhv_iterval _((AV *ar, HE* entry));
41VIRTUAL HV* avhv_keys _((AV *ar));
42VIRTUAL SV** avhv_store _((AV *ar, char* key, U32 klen, SV* val, U32 hash));
43VIRTUAL SV** avhv_store_ent _((AV *av, SV *keysv, SV *val, U32 hash));
44VIRTUAL void av_clear _((AV* ar));
45VIRTUAL void av_extend _((AV* ar, I32 key));
46VIRTUAL AV* av_fake _((I32 size, SV** svp));
47VIRTUAL SV** av_fetch _((AV* ar, I32 key, I32 lval));
48VIRTUAL void av_fill _((AV* ar, I32 fill));
49VIRTUAL I32 av_len _((AV* ar));
50VIRTUAL AV* av_make _((I32 size, SV** svp));
51VIRTUAL SV* av_pop _((AV* ar));
52VIRTUAL void av_push _((AV* ar, SV* val));
53VIRTUAL void av_reify _((AV* ar));
54VIRTUAL SV* av_shift _((AV* ar));
55VIRTUAL SV** av_store _((AV* ar, I32 key, SV* val));
56VIRTUAL void av_undef _((AV* ar));
57VIRTUAL void av_unshift _((AV* ar, I32 num));
58VIRTUAL OP* bind_match _((I32 type, OP* left, OP* pat));
59VIRTUAL OP* block_end _((I32 floor, OP* seq));
60VIRTUAL I32 block_gimme _((void));
61VIRTUAL int block_start _((int full));
62VIRTUAL void boot_core_UNIVERSAL _((void));
63VIRTUAL void call_list _((I32 oldscope, AV* list));
64VIRTUAL I32 cando _((I32 bit, I32 effective, Stat_t* statbufp));
a0d0e21e 65#ifndef CASTNEGFLOAT
76e3520e 66VIRTUAL U32 cast_ulong _((double f));
a0d0e21e 67#endif
68#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
76e3520e 69VIRTUAL I32 my_chsize _((int fd, Off_t length));
a0d0e21e 70#endif
76e3520e 71VIRTUAL OP* ck_gvconst _((OP* o));
72VIRTUAL OP* ck_retarget _((OP* o));
f93b4edd 73#ifdef USE_THREADS
76e3520e 74VIRTUAL MAGIC * condpair_magic _((SV *sv));
75#endif
76VIRTUAL OP* convert _((I32 optype, I32 flags, OP* o));
77VIRTUAL void croak _((const char* pat,...)) __attribute__((noreturn));
78VIRTUAL void cv_ckproto _((CV* cv, GV* gv, char* p));
79VIRTUAL CV* cv_clone _((CV* proto));
80VIRTUAL SV* cv_const_sv _((CV* cv));
81VIRTUAL void cv_undef _((CV* cv));
a0d0e21e 82#ifdef DEBUGGING
c09156bb 83void cx_dump _((PERL_CONTEXT* cs));
a0d0e21e 84#endif
76e3520e 85VIRTUAL SV* filter_add _((filter_t funcp, SV* datasv));
86VIRTUAL void filter_del _((filter_t funcp));
87VIRTUAL I32 filter_read _((int idx, SV* buffer, int maxlen));
88VIRTUAL char ** get_op_descs _((void));
89VIRTUAL char ** get_op_names _((void));
90VIRTUAL I32 cxinc _((void));
71be2cbc 91void deb _((const char* pat,...)) __attribute__((format(printf,1,2)));
a0d0e21e 92void deb_growlevel _((void));
11343788 93I32 debop _((OP* o));
a0d0e21e 94I32 debstackptrs _((void));
95#ifdef DEBUGGING
96void debprofdump _((void));
97#endif
98I32 debstack _((void));
76e3520e 99VIRTUAL char* delimcpy _((char* to, char* toend, char* from, char* fromend,
fc36a67e 100 int delim, I32* retlen));
76e3520e 101VIRTUAL void deprecate _((char* s));
102VIRTUAL OP* die _((const char* pat,...));
103VIRTUAL OP* die_where _((char* message));
104VIRTUAL void dounwind _((I32 cxix));
105VIRTUAL bool do_aexec _((SV* really, SV** mark, SV** sp));
106VIRTUAL void do_chop _((SV* asv, SV* sv));
107VIRTUAL bool do_close _((GV* gv, bool not_implicit));
108VIRTUAL bool do_eof _((GV* gv));
109VIRTUAL bool do_exec _((char* cmd));
110VIRTUAL void do_execfree _((void));
a0d0e21e 111#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
112I32 do_ipcctl _((I32 optype, SV** mark, SV** sp));
113I32 do_ipcget _((I32 optype, SV** mark, SV** sp));
114#endif
76e3520e 115VIRTUAL void do_join _((SV* sv, SV* del, SV** mark, SV** sp));
116VIRTUAL OP* do_kv _((ARGSproto));
a0d0e21e 117#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
118I32 do_msgrcv _((SV** mark, SV** sp));
119I32 do_msgsnd _((SV** mark, SV** sp));
120#endif
76e3520e 121VIRTUAL bool do_open _((GV* gv, char* name, I32 len,
760ac839 122 int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp));
76e3520e 123VIRTUAL void do_pipe _((SV* sv, GV* rgv, GV* wgv));
124VIRTUAL bool do_print _((SV* sv, PerlIO* fp));
125VIRTUAL OP* do_readline _((void));
126VIRTUAL I32 do_chomp _((SV* sv));
127VIRTUAL bool do_seek _((GV* gv, long pos, int whence));
a0d0e21e 128#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
129I32 do_semop _((SV** mark, SV** sp));
130I32 do_shmio _((I32 optype, SV** mark, SV** sp));
131#endif
76e3520e 132VIRTUAL void do_sprintf _((SV* sv, I32 len, SV** sarg));
133VIRTUAL long do_sysseek _((GV* gv, long pos, int whence));
134VIRTUAL long do_tell _((GV* gv));
135VIRTUAL I32 do_trans _((SV* sv, OP* arg));
136VIRTUAL void do_vecset _((SV* sv));
137VIRTUAL void do_vop _((I32 optype, SV* sv, SV* left, SV* right));
138VIRTUAL I32 dowantarray _((void));
139VIRTUAL void dump_all _((void));
140VIRTUAL void dump_eval _((void));
748a9306 141#ifdef DUMP_FDS /* See util.c */
a0d0e21e 142int dump_fds _((char* s));
143#endif
144void dump_form _((GV* gv));
145void dump_gv _((GV* gv));
8eccb90b 146#ifdef MYMALLOC
c07a80fd 147void dump_mstats _((char* s));
8eccb90b 148#endif
a0d0e21e 149void dump_op _((OP* arg));
150void dump_pm _((PMOP* pm));
151void dump_packsubs _((HV* stash));
152void dump_sub _((GV* gv));
76e3520e 153VIRTUAL void fbm_compile _((SV* sv));
154VIRTUAL char* fbm_instr _((unsigned char* big, unsigned char* bigend, SV* littlesv));
aeea060c 155#ifdef USE_THREADS
76e3520e 156VIRTUAL PADOFFSET find_threadsv _((char *name));
157#endif
158VIRTUAL OP* force_list _((OP* arg));
159VIRTUAL OP* fold_constants _((OP* arg));
160VIRTUAL char* form _((const char* pat, ...));
161VIRTUAL void free_tmps _((void));
162VIRTUAL OP* gen_constant_list _((OP* o));
163VIRTUAL void gp_free _((GV* gv));
164VIRTUAL GP* gp_ref _((GP* gp));
165VIRTUAL GV* gv_AVadd _((GV* gv));
166VIRTUAL GV* gv_HVadd _((GV* gv));
167VIRTUAL GV* gv_IOadd _((GV* gv));
168VIRTUAL GV* gv_autoload4 _((HV* stash, char* name, STRLEN len, I32 method));
169VIRTUAL void gv_check _((HV* stash));
170VIRTUAL void gv_efullname _((SV* sv, GV* gv));
171VIRTUAL void gv_efullname3 _((SV* sv, GV* gv, char* prefix));
172VIRTUAL GV* gv_fetchfile _((char* name));
173VIRTUAL GV* gv_fetchmeth _((HV* stash, char* name, STRLEN len, I32 level));
174VIRTUAL GV* gv_fetchmethod _((HV* stash, char* name));
175VIRTUAL GV* gv_fetchmethod_autoload _((HV* stash, char* name, I32 autoload));
176VIRTUAL GV* gv_fetchpv _((char* name, I32 add, I32 sv_type));
177VIRTUAL void gv_fullname _((SV* sv, GV* gv));
178VIRTUAL void gv_fullname3 _((SV* sv, GV* gv, char* prefix));
179VIRTUAL void gv_init _((GV* gv, HV* stash, char* name, STRLEN len, int multi));
180VIRTUAL HV* gv_stashpv _((char* name, I32 create));
181VIRTUAL HV* gv_stashpvn _((char* name, U32 namelen, I32 create));
182VIRTUAL HV* gv_stashsv _((SV* sv, I32 create));
183VIRTUAL void hv_clear _((HV* tb));
184VIRTUAL void hv_delayfree_ent _((HV* hv, HE* entry));
185VIRTUAL SV* hv_delete _((HV* tb, char* key, U32 klen, I32 flags));
186VIRTUAL SV* hv_delete_ent _((HV* tb, SV* key, I32 flags, U32 hash));
187VIRTUAL bool hv_exists _((HV* tb, char* key, U32 klen));
188VIRTUAL bool hv_exists_ent _((HV* tb, SV* key, U32 hash));
189VIRTUAL SV** hv_fetch _((HV* tb, char* key, U32 klen, I32 lval));
190VIRTUAL HE* hv_fetch_ent _((HV* tb, SV* key, I32 lval, U32 hash));
191VIRTUAL void hv_free_ent _((HV* hv, HE* entry));
192VIRTUAL I32 hv_iterinit _((HV* tb));
193VIRTUAL char* hv_iterkey _((HE* entry, I32* retlen));
194VIRTUAL SV* hv_iterkeysv _((HE* entry));
195VIRTUAL HE* hv_iternext _((HV* tb));
196VIRTUAL SV* hv_iternextsv _((HV* hv, char** key, I32* retlen));
197VIRTUAL SV* hv_iterval _((HV* tb, HE* entry));
198VIRTUAL void hv_ksplit _((HV* hv, IV newmax));
199VIRTUAL void hv_magic _((HV* hv, GV* gv, int how));
200VIRTUAL SV** hv_store _((HV* tb, char* key, U32 klen, SV* val, U32 hash));
201VIRTUAL HE* hv_store_ent _((HV* tb, SV* key, SV* val, U32 hash));
202VIRTUAL void hv_undef _((HV* tb));
203VIRTUAL I32 ibcmp _((char* a, char* b, I32 len));
204VIRTUAL I32 ibcmp_locale _((char* a, char* b, I32 len));
205VIRTUAL I32 ingroup _((I32 testgid, I32 effective));
206VIRTUAL void init_stacks _((ARGSproto));
207VIRTUAL U32 intro_my _((void));
208VIRTUAL char* instr _((char* big, char* little));
209VIRTUAL bool io_close _((IO* io));
210VIRTUAL OP* invert _((OP* cmd));
211VIRTUAL OP* jmaybe _((OP* arg));
212VIRTUAL I32 keyword _((char* d, I32 len));
213VIRTUAL void leave_scope _((I32 base));
214VIRTUAL void lex_end _((void));
215VIRTUAL void lex_start _((SV* line));
216VIRTUAL OP* linklist _((OP* o));
217VIRTUAL OP* list _((OP* o));
218VIRTUAL OP* listkids _((OP* o));
219VIRTUAL OP* localize _((OP* arg, I32 lexical));
220VIRTUAL I32 looks_like_number _((SV* sv));
221VIRTUAL int magic_clearenv _((SV* sv, MAGIC* mg));
222VIRTUAL int magic_clear_all_env _((SV* sv, MAGIC* mg));
223VIRTUAL int magic_clearpack _((SV* sv, MAGIC* mg));
224VIRTUAL int magic_clearsig _((SV* sv, MAGIC* mg));
225VIRTUAL int magic_existspack _((SV* sv, MAGIC* mg));
226VIRTUAL int magic_freedefelem _((SV* sv, MAGIC* mg));
227VIRTUAL int magic_freeregexp _((SV* sv, MAGIC* mg));
228VIRTUAL int magic_get _((SV* sv, MAGIC* mg));
229VIRTUAL int magic_getarylen _((SV* sv, MAGIC* mg));
230VIRTUAL int magic_getdefelem _((SV* sv, MAGIC* mg));
231VIRTUAL int magic_getglob _((SV* sv, MAGIC* mg));
232VIRTUAL int magic_getpack _((SV* sv, MAGIC* mg));
233VIRTUAL int magic_getpos _((SV* sv, MAGIC* mg));
234VIRTUAL int magic_getsig _((SV* sv, MAGIC* mg));
235VIRTUAL int magic_gettaint _((SV* sv, MAGIC* mg));
236VIRTUAL int magic_getuvar _((SV* sv, MAGIC* mg));
237VIRTUAL U32 magic_len _((SV* sv, MAGIC* mg));
f93b4edd 238#ifdef USE_THREADS
76e3520e 239VIRTUAL int magic_mutexfree _((SV* sv, MAGIC* mg));
f93b4edd 240#endif /* USE_THREADS */
76e3520e 241VIRTUAL int magic_nextpack _((SV* sv, MAGIC* mg, SV* key));
242VIRTUAL int magic_set _((SV* sv, MAGIC* mg));
a0d0e21e 243#ifdef OVERLOAD
76e3520e 244VIRTUAL int magic_setamagic _((SV* sv, MAGIC* mg));
a0d0e21e 245#endif /* OVERLOAD */
76e3520e 246VIRTUAL int magic_setarylen _((SV* sv, MAGIC* mg));
247VIRTUAL int magic_setbm _((SV* sv, MAGIC* mg));
248VIRTUAL int magic_setdbline _((SV* sv, MAGIC* mg));
44a8e56a 249#ifdef USE_LOCALE_COLLATE
76e3520e 250VIRTUAL int magic_setcollxfrm _((SV* sv, MAGIC* mg));
251#endif
252VIRTUAL int magic_setdefelem _((SV* sv, MAGIC* mg));
253VIRTUAL int magic_setenv _((SV* sv, MAGIC* mg));
254VIRTUAL int magic_setfm _((SV* sv, MAGIC* mg));
255VIRTUAL int magic_setisa _((SV* sv, MAGIC* mg));
256VIRTUAL int magic_setglob _((SV* sv, MAGIC* mg));
257VIRTUAL int magic_setmglob _((SV* sv, MAGIC* mg));
258VIRTUAL int magic_setnkeys _((SV* sv, MAGIC* mg));
259VIRTUAL int magic_setpack _((SV* sv, MAGIC* mg));
260VIRTUAL int magic_setpos _((SV* sv, MAGIC* mg));
261VIRTUAL int magic_setsig _((SV* sv, MAGIC* mg));
262VIRTUAL int magic_setsubstr _((SV* sv, MAGIC* mg));
263VIRTUAL int magic_settaint _((SV* sv, MAGIC* mg));
264VIRTUAL int magic_setuvar _((SV* sv, MAGIC* mg));
265VIRTUAL int magic_setvec _((SV* sv, MAGIC* mg));
266VIRTUAL int magic_set_all_env _((SV* sv, MAGIC* mg));
267VIRTUAL int magic_wipepack _((SV* sv, MAGIC* mg));
268VIRTUAL void magicname _((char* sym, char* name, I32 namlen));
a0d0e21e 269int main _((int argc, char** argv, char** env));
76e3520e 270VIRTUAL void markstack_grow _((void));
5f05dabc 271#ifdef USE_LOCALE_COLLATE
76e3520e 272VIRTUAL char* mem_collxfrm _((const char* s, STRLEN len, STRLEN* xlen));
273#endif
274VIRTUAL char* mess _((const char* pat, va_list* args));
275VIRTUAL int mg_clear _((SV* sv));
276VIRTUAL int mg_copy _((SV* , SV* , char* , I32));
277VIRTUAL MAGIC* mg_find _((SV* sv, int type));
278VIRTUAL int mg_free _((SV* sv));
279VIRTUAL int mg_get _((SV* sv));
280VIRTUAL U32 mg_len _((SV* sv));
281VIRTUAL void mg_magical _((SV* sv));
282VIRTUAL int mg_set _((SV* sv));
283VIRTUAL OP* mod _((OP* o, I32 type));
284VIRTUAL char* moreswitches _((char* s));
285VIRTUAL OP* my _((OP* o));
5f05dabc 286#if !defined(HAS_BCOPY) || !defined(HAS_SAFE_BCOPY)
76e3520e 287VIRTUAL char* my_bcopy _((char* from, char* to, I32 len));
5f05dabc 288#endif
a0d0e21e 289#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
290char* my_bzero _((char* loc, I32 len));
85e6fe83 291#endif
76e3520e 292VIRTUAL void my_exit _((U32 status)) __attribute__((noreturn));
293VIRTUAL void my_failure_exit _((void)) __attribute__((noreturn));
294VIRTUAL I32 my_lstat _((ARGSproto));
5f05dabc 295#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
36477c24 296I32 my_memcmp _((char* s1, char* s2, I32 len));
a0d0e21e 297#endif
fc36a67e 298#if !defined(HAS_MEMSET)
299void* my_memset _((char* loc, I32 ch, I32 len));
300#endif
76e3520e 301#ifndef PERL_OBJECT
302VIRTUAL I32 my_pclose _((PerlIO* ptr));
303VIRTUAL PerlIO* my_popen _((char* cmd, char* mode));
304#endif
305VIRTUAL void my_setenv _((char* nam, char* val));
306VIRTUAL I32 my_stat _((ARGSproto));
a0d0e21e 307#ifdef MYSWAP
76e3520e 308VIRTUAL short my_swap _((short s));
309VIRTUAL long my_htonl _((long l));
310VIRTUAL long my_ntohl _((long l));
311#endif
312VIRTUAL void my_unexec _((void));
313VIRTUAL OP* newANONLIST _((OP* o));
314VIRTUAL OP* newANONHASH _((OP* o));
315VIRTUAL OP* newANONSUB _((I32 floor, OP* proto, OP* block));
316VIRTUAL OP* newASSIGNOP _((I32 flags, OP* left, I32 optype, OP* right));
317VIRTUAL OP* newCONDOP _((I32 flags, OP* expr, OP* trueop, OP* falseop));
318VIRTUAL void newFORM _((I32 floor, OP* o, OP* block));
319VIRTUAL OP* newFOROP _((I32 flags, char* label, line_t forline, OP* scalar, OP* expr, OP*block, OP*cont));
320VIRTUAL OP* newLOGOP _((I32 optype, I32 flags, OP* left, OP* right));
321VIRTUAL OP* newLOOPEX _((I32 type, OP* label));
322VIRTUAL OP* newLOOPOP _((I32 flags, I32 debuggable, OP* expr, OP* block));
323VIRTUAL OP* newNULLLIST _((void));
324VIRTUAL OP* newOP _((I32 optype, I32 flags));
325VIRTUAL void newPROG _((OP* o));
326VIRTUAL OP* newRANGE _((I32 flags, OP* left, OP* right));
327VIRTUAL OP* newSLICEOP _((I32 flags, OP* subscript, OP* list));
328VIRTUAL OP* newSTATEOP _((I32 flags, char* label, OP* o));
329VIRTUAL CV* newSUB _((I32 floor, OP* o, OP* proto, OP* block));
330VIRTUAL CV* newXS _((char* name, void (*subaddr)(CPERLproto_ CV* cv), char* filename));
331VIRTUAL AV* newAV _((void));
332VIRTUAL OP* newAVREF _((OP* o));
333VIRTUAL OP* newBINOP _((I32 type, I32 flags, OP* first, OP* last));
334VIRTUAL OP* newCVREF _((I32 flags, OP* o));
335VIRTUAL OP* newGVOP _((I32 type, I32 flags, GV* gv));
336VIRTUAL GV* newGVgen _((char* pack));
337VIRTUAL OP* newGVREF _((I32 type, OP* o));
338VIRTUAL OP* newHVREF _((OP* o));
339VIRTUAL HV* newHV _((void));
340VIRTUAL IO* newIO _((void));
341VIRTUAL OP* newLISTOP _((I32 type, I32 flags, OP* first, OP* last));
342VIRTUAL OP* newPMOP _((I32 type, I32 flags));
343VIRTUAL OP* newPVOP _((I32 type, I32 flags, char* pv));
344VIRTUAL SV* newRV _((SV* ref));
345VIRTUAL SV* newRV_noinc _((SV *));
79072805 346#ifdef LEAKTEST
76e3520e 347VIRTUAL SV* newSV _((I32 x, STRLEN len));
79072805 348#else
76e3520e 349VIRTUAL SV* newSV _((STRLEN len));
350#endif
351VIRTUAL OP* newSVREF _((OP* o));
352VIRTUAL OP* newSVOP _((I32 type, I32 flags, SV* sv));
353VIRTUAL SV* newSViv _((IV i));
354VIRTUAL SV* newSVnv _((double n));
355VIRTUAL SV* newSVpv _((char* s, STRLEN len));
356VIRTUAL SV* newSVpvf _((const char* pat, ...));
357VIRTUAL SV* newSVrv _((SV* rv, char* classname));
358VIRTUAL SV* newSVsv _((SV* old));
359VIRTUAL OP* newUNOP _((I32 type, I32 flags, OP* first));
360VIRTUAL OP* newWHILEOP _((I32 flags, I32 debuggable, LOOP* loop,
fb73857a 361 I32 whileline, OP* expr, OP* block, OP* cont));
aeea060c 362#ifdef USE_THREADS
76e3520e 363VIRTUAL struct perl_thread * new_struct_thread _((struct perl_thread *t));
364#endif
365VIRTUAL PerlIO* nextargv _((GV* gv));
366VIRTUAL char* ninstr _((char* big, char* bigend, char* little, char* lend));
367VIRTUAL OP* oopsCV _((OP* o));
368VIRTUAL void op_free _((OP* arg));
369VIRTUAL void package _((OP* o));
370VIRTUAL PADOFFSET pad_alloc _((I32 optype, U32 tmptype));
371VIRTUAL PADOFFSET pad_allocmy _((char* name));
372VIRTUAL PADOFFSET pad_findmy _((char* name));
373VIRTUAL OP* oopsAV _((OP* o));
374VIRTUAL OP* oopsHV _((OP* o));
375VIRTUAL void pad_leavemy _((I32 fill));
376VIRTUAL SV* pad_sv _((PADOFFSET po));
377VIRTUAL void pad_free _((PADOFFSET po));
378VIRTUAL void pad_reset _((void));
379VIRTUAL void pad_swipe _((PADOFFSET po));
380VIRTUAL void peep _((OP* o));
381#ifndef PERL_OBJECT
a0d0e21e 382PerlInterpreter* perl_alloc _((void));
76e3520e 383#endif
384VIRTUAL I32 perl_call_argv _((char* subname, I32 flags, char** argv));
385VIRTUAL I32 perl_call_method _((char* methname, I32 flags));
386VIRTUAL I32 perl_call_pv _((char* subname, I32 flags));
387VIRTUAL I32 perl_call_sv _((SV* sv, I32 flags));
388#ifdef PERL_OBJECT
389VIRTUAL void perl_construct _((void));
390VIRTUAL void perl_destruct _((void));
391#else
a0d0e21e 392void perl_construct _((PerlInterpreter* sv_interp));
748a9306 393void perl_destruct _((PerlInterpreter* sv_interp));
76e3520e 394#endif
395VIRTUAL SV* perl_eval_pv _((char* p, I32 croak_on_error));
396VIRTUAL I32 perl_eval_sv _((SV* sv, I32 flags));
397#ifdef PERL_OBJECT
398VIRTUAL void perl_free _((void));
399#else
a0d0e21e 400void perl_free _((PerlInterpreter* sv_interp));
76e3520e 401#endif
402VIRTUAL SV* perl_get_sv _((char* name, I32 create));
403VIRTUAL AV* perl_get_av _((char* name, I32 create));
404VIRTUAL HV* perl_get_hv _((char* name, I32 create));
405VIRTUAL CV* perl_get_cv _((char* name, I32 create));
406VIRTUAL int perl_init_i18nl10n _((int printwarn));
407VIRTUAL int perl_init_i18nl14n _((int printwarn));
408VIRTUAL void perl_new_collate _((char* newcoll));
409VIRTUAL void perl_new_ctype _((char* newctype));
410VIRTUAL void perl_new_numeric _((char* newcoll));
411VIRTUAL void perl_set_numeric_local _((void));
412VIRTUAL void perl_set_numeric_standard _((void));
413#ifdef PERL_OBJECT
414VIRTUAL int perl_parse _((void(*xsinit)(CPerlObj*), int argc, char** argv, char** env));
415#else
a0d0e21e 416int perl_parse _((PerlInterpreter* sv_interp, void(*xsinit)(void), int argc, char** argv, char** env));
76e3520e 417#endif
418VIRTUAL void perl_require_pv _((char* pv));
4633a7c4 419#define perl_requirepv perl_require_pv
76e3520e 420#ifdef PERL_OBJECT
421VIRTUAL int perl_run _((void));
422#else
a0d0e21e 423int perl_run _((PerlInterpreter* sv_interp));
76e3520e 424#endif
425VIRTUAL void pidgone _((int pid, int status));
426VIRTUAL void pmflag _((U16* pmfl, int ch));
427VIRTUAL OP* pmruntime _((OP* pm, OP* expr, OP* repl));
428VIRTUAL OP* pmtrans _((OP* o, OP* expr, OP* repl));
429VIRTUAL OP* pop_return _((void));
430VIRTUAL void pop_scope _((void));
431VIRTUAL OP* prepend_elem _((I32 optype, OP* head, OP* tail));
432VIRTUAL void push_return _((OP* o));
433VIRTUAL void push_scope _((void));
434VIRTUAL regexp* pregcomp _((char* exp, char* xend, PMOP* pm));
435VIRTUAL OP* ref _((OP* o, I32 type));
436VIRTUAL OP* refkids _((OP* o, I32 type));
437VIRTUAL void regdump _((regexp* r));
438VIRTUAL I32 pregexec _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave));
439VIRTUAL I32 regexec_flags _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, void* data, U32 flags));
440VIRTUAL void pregfree _((struct regexp* r));
441VIRTUAL regnode*regnext _((regnode* p));
442VIRTUAL void regprop _((SV* sv, regnode* o));
443VIRTUAL void repeatcpy _((char* to, char* from, I32 len, I32 count));
444VIRTUAL char* rninstr _((char* big, char* bigend, char* little, char* lend));
445VIRTUAL Sighandler_t rsignal _((int, Sighandler_t));
446VIRTUAL int rsignal_restore _((int, Sigsave_t*));
447VIRTUAL int rsignal_save _((int, Sighandler_t, Sigsave_t*));
448VIRTUAL Sighandler_t rsignal_state _((int));
449VIRTUAL void rxres_free _((void** rsp));
450VIRTUAL void rxres_restore _((void** rsp, REGEXP* rx));
451VIRTUAL void rxres_save _((void** rsp, REGEXP* rx));
a0d0e21e 452#ifndef HAS_RENAME
76e3520e 453VIRTUAL I32 same_dirent _((char* a, char* b));
454#endif
455VIRTUAL char* savepv _((char* sv));
456VIRTUAL char* savepvn _((char* sv, I32 len));
457VIRTUAL void savestack_grow _((void));
458VIRTUAL void save_aptr _((AV** aptr));
459VIRTUAL AV* save_ary _((GV* gv));
460VIRTUAL void save_clearsv _((SV** svp));
461VIRTUAL void save_delete _((HV* hv, char* key, I32 klen));
a0d0e21e 462#ifndef titan /* TitanOS cc can't handle this */
76e3520e 463#ifdef PERL_OBJECT
464VIRTUAL void save_destructor _((void (*f)(void*, void*), void* p));
465#else
a0d0e21e 466void save_destructor _((void (*f)(void*), void* p));
76e3520e 467#endif
a0d0e21e 468#endif /* titan */
76e3520e 469VIRTUAL void save_freesv _((SV* sv));
470VIRTUAL void save_freeop _((OP* o));
471VIRTUAL void save_freepv _((char* pv));
472VIRTUAL void save_gp _((GV* gv, I32 empty));
473VIRTUAL HV* save_hash _((GV* gv));
474VIRTUAL void save_hptr _((HV** hptr));
475VIRTUAL void save_I16 _((I16* intp));
476VIRTUAL void save_I32 _((I32* intp));
477VIRTUAL void save_int _((int* intp));
478VIRTUAL void save_item _((SV* item));
479VIRTUAL void save_iv _((IV* iv));
480VIRTUAL void save_list _((SV** sarg, I32 maxsarg));
481VIRTUAL void save_long _((long* longp));
482VIRTUAL void save_nogv _((GV* gv));
483VIRTUAL void save_op _((void));
484VIRTUAL SV* save_scalar _((GV* gv));
485VIRTUAL void save_pptr _((char** pptr));
486VIRTUAL void save_sptr _((SV** sptr));
487VIRTUAL SV* save_svref _((SV** sptr));
488VIRTUAL SV** save_threadsv _((PADOFFSET i));
489VIRTUAL OP* sawparens _((OP* o));
490VIRTUAL OP* scalar _((OP* o));
491VIRTUAL OP* scalarkids _((OP* o));
492VIRTUAL OP* scalarseq _((OP* o));
493VIRTUAL OP* scalarvoid _((OP* o));
494VIRTUAL UV scan_hex _((char* start, I32 len, I32* retlen));
495VIRTUAL char* scan_num _((char* s));
496VIRTUAL UV scan_oct _((char* start, I32 len, I32* retlen));
497VIRTUAL OP* scope _((OP* o));
498VIRTUAL char* screaminstr _((SV* bigsv, SV* littlesv, I32 start_shift, I32 end_shift, I32 *state, I32 last));
a0d0e21e 499#ifndef VMS
76e3520e 500VIRTUAL I32 setenv_getix _((char* nam));
501#endif
502VIRTUAL void setdefout _((GV* gv));
503VIRTUAL char* sharepvn _((char* sv, I32 len, U32 hash));
504VIRTUAL HEK* share_hek _((char* sv, I32 len, U32 hash));
505VIRTUAL Signal_t sighandler _((int sig));
506VIRTUAL SV** stack_grow _((SV** sp, SV**p, int n));
507VIRTUAL I32 start_subparse _((I32 is_format, U32 flags));
508VIRTUAL void sub_crush_depth _((CV* cv));
509VIRTUAL bool sv_2bool _((SV* sv));
510VIRTUAL CV* sv_2cv _((SV* sv, HV** st, GV** gvp, I32 lref));
511VIRTUAL IO* sv_2io _((SV* sv));
512VIRTUAL IV sv_2iv _((SV* sv));
513VIRTUAL SV* sv_2mortal _((SV* sv));
514VIRTUAL double sv_2nv _((SV* sv));
515VIRTUAL char* sv_2pv _((SV* sv, STRLEN* lp));
516VIRTUAL UV sv_2uv _((SV* sv));
517VIRTUAL IV sv_iv _((SV* sv));
518VIRTUAL UV sv_uv _((SV* sv));
519VIRTUAL double sv_nv _((SV* sv));
520VIRTUAL char * sv_pvn _((SV *, STRLEN *));
521VIRTUAL I32 sv_true _((SV *));
522VIRTUAL void sv_add_arena _((char* ptr, U32 size, U32 flags));
523VIRTUAL int sv_backoff _((SV* sv));
524VIRTUAL SV* sv_bless _((SV* sv, HV* stash));
525VIRTUAL void sv_catpvf _((SV* sv, const char* pat, ...));
526VIRTUAL void sv_catpv _((SV* sv, char* ptr));
527VIRTUAL void sv_catpvn _((SV* sv, char* ptr, STRLEN len));
528VIRTUAL void sv_catsv _((SV* dsv, SV* ssv));
529VIRTUAL void sv_chop _((SV* sv, char* ptr));
530VIRTUAL void sv_clean_all _((void));
531VIRTUAL void sv_clean_objs _((void));
532VIRTUAL void sv_clear _((SV* sv));
533VIRTUAL I32 sv_cmp _((SV* sv1, SV* sv2));
534VIRTUAL I32 sv_cmp_locale _((SV* sv1, SV* sv2));
5f05dabc 535#ifdef USE_LOCALE_COLLATE
76e3520e 536VIRTUAL char* sv_collxfrm _((SV* sv, STRLEN* nxp));
537#endif
538VIRTUAL OP* sv_compile_2op _((SV* sv, OP** startp, char* code, AV** avp));
539VIRTUAL void sv_dec _((SV* sv));
540VIRTUAL void sv_dump _((SV* sv));
541VIRTUAL bool sv_derived_from _((SV* sv, char* name));
542VIRTUAL I32 sv_eq _((SV* sv1, SV* sv2));
543VIRTUAL void sv_free _((SV* sv));
544VIRTUAL void sv_free_arenas _((void));
545VIRTUAL char* sv_gets _((SV* sv, PerlIO* fp, I32 append));
93a17b20 546#ifndef DOSISH
76e3520e 547VIRTUAL char* sv_grow _((SV* sv, I32 newlen));
93a17b20 548#else
76e3520e 549VIRTUAL char* sv_grow _((SV* sv, unsigned long newlen));
550#endif
551VIRTUAL void sv_inc _((SV* sv));
552VIRTUAL void sv_insert _((SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen));
553VIRTUAL int sv_isa _((SV* sv, char* name));
554VIRTUAL int sv_isobject _((SV* sv));
555VIRTUAL STRLEN sv_len _((SV* sv));
556VIRTUAL void sv_magic _((SV* sv, SV* obj, int how, char* name, I32 namlen));
557VIRTUAL SV* sv_mortalcopy _((SV* oldsv));
558VIRTUAL SV* sv_newmortal _((void));
559VIRTUAL SV* sv_newref _((SV* sv));
560VIRTUAL char* sv_peek _((SV* sv));
561VIRTUAL char* sv_pvn_force _((SV* sv, STRLEN* lp));
562VIRTUAL char* sv_reftype _((SV* sv, int ob));
563VIRTUAL void sv_replace _((SV* sv, SV* nsv));
564VIRTUAL void sv_report_used _((void));
565VIRTUAL void sv_reset _((char* s, HV* stash));
566VIRTUAL void sv_setpvf _((SV* sv, const char* pat, ...));
567VIRTUAL void sv_setiv _((SV* sv, IV num));
568VIRTUAL void sv_setpviv _((SV* sv, IV num));
569VIRTUAL void sv_setuv _((SV* sv, UV num));
570VIRTUAL void sv_setnv _((SV* sv, double num));
571VIRTUAL SV* sv_setref_iv _((SV* rv, char* classname, IV iv));
572VIRTUAL SV* sv_setref_nv _((SV* rv, char* classname, double nv));
573VIRTUAL SV* sv_setref_pv _((SV* rv, char* classname, void* pv));
574VIRTUAL SV* sv_setref_pvn _((SV* rv, char* classname, char* pv, I32 n));
575VIRTUAL void sv_setpv _((SV* sv, const char* ptr));
576VIRTUAL void sv_setpvn _((SV* sv, const char* ptr, STRLEN len));
577VIRTUAL void sv_setsv _((SV* dsv, SV* ssv));
578VIRTUAL void sv_taint _((SV* sv));
579VIRTUAL bool sv_tainted _((SV* sv));
580VIRTUAL int sv_unmagic _((SV* sv, int type));
581VIRTUAL void sv_unref _((SV* sv));
582VIRTUAL void sv_untaint _((SV* sv));
583VIRTUAL bool sv_upgrade _((SV* sv, U32 mt));
584VIRTUAL void sv_usepvn _((SV* sv, char* ptr, STRLEN len));
585VIRTUAL void sv_vcatpvfn _((SV* sv, const char* pat, STRLEN patlen,
46fc3d4c 586 va_list* args, SV** svargs, I32 svmax,
587 bool *used_locale));
76e3520e 588VIRTUAL void sv_vsetpvfn _((SV* sv, const char* pat, STRLEN patlen,
46fc3d4c 589 va_list* args, SV** svargs, I32 svmax,
590 bool *used_locale));
76e3520e 591VIRTUAL void taint_env _((void));
592VIRTUAL void taint_proper _((const char* f, char* s));
16d20bd9 593#ifdef UNLINK_ALL_VERSIONS
76e3520e 594VIRTUAL I32 unlnk _((char* f));
16d20bd9 595#endif
77a005ab 596#ifdef USE_THREADS
76e3520e 597VIRTUAL void unlock_condpair _((void* svv));
598#endif
599VIRTUAL void unsharepvn _((char* sv, I32 len, U32 hash));
600VIRTUAL void unshare_hek _((HEK* hek));
601VIRTUAL void utilize _((int aver, I32 floor, OP* version, OP* id, OP* arg));
602VIRTUAL void vivify_defelem _((SV* sv));
603VIRTUAL void vivify_ref _((SV* sv, U32 to_what));
604VIRTUAL I32 wait4pid _((int pid, int* statusp, int flags));
605VIRTUAL void warn _((const char* pat,...));
606VIRTUAL void watch _((char** addr));
607VIRTUAL I32 whichsig _((char* sig));
608VIRTUAL int yyerror _((char* s));
609VIRTUAL int yylex _((void));
610VIRTUAL int yyparse _((void));
611VIRTUAL int yywarn _((char* s));
55497cff 612
bbce6d69 613#ifndef MYMALLOC
76e3520e 614VIRTUAL Malloc_t safemalloc _((MEM_SIZE nbytes));
615VIRTUAL Malloc_t safecalloc _((MEM_SIZE elements, MEM_SIZE size));
616VIRTUAL Malloc_t saferealloc _((Malloc_t where, MEM_SIZE nbytes));
617VIRTUAL Free_t safefree _((Malloc_t where));
bbce6d69 618#endif
619
55497cff 620#ifdef LEAKTEST
76e3520e 621VIRTUAL Malloc_t safexmalloc _((I32 x, MEM_SIZE size));
622VIRTUAL Malloc_t safexcalloc _((I32 x, MEM_SIZE elements, MEM_SIZE size));
623VIRTUAL Malloc_t safexrealloc _((Malloc_t where, MEM_SIZE size));
624VIRTUAL void safexfree _((Malloc_t where));
55497cff 625#endif
22239a37 626
627#ifdef PERL_GLOBAL_STRUCT
76e3520e 628VIRTUAL struct perl_vars *Perl_GetVars _((void));
629#endif
630
631#ifdef PERL_OBJECT
632protected:
633void hsplit _((HV *hv));
634void hfreeentries _((HV *hv));
635HE* more_he _((void));
636HE* new_he _((void));
637void del_he _((HE *p));
638HEK *save_hek _((char *str, I32 len, U32 hash));
639SV *mess_alloc _((void));
640void gv_init_sv _((GV *gv, I32 sv_type));
641SV *save_scalar_at _((SV **sptr));
642IV asIV _((SV* sv));
643UV asUV _((SV* sv));
644SV *more_sv _((void));
645XPVIV *more_xiv _((void));
646XPVNV *more_xnv _((void));
647XPV *more_xpv _((void));
648XRV *more_xrv _((void));
649XPVIV *new_xiv _((void));
650XPVNV *new_xnv _((void));
651XPV *new_xpv _((void));
652XRV *new_xrv _((void));
653void del_xiv _((XPVIV* p));
654void del_xnv _((XPVNV* p));
655void del_xpv _((XPV* p));
656void del_xrv _((XRV* p));
657void sv_mortalgrow _((void));
658void sv_unglob _((SV* sv));
659void sv_check_thinkfirst _((SV *sv));
660void do_report_used _((SV *sv));
661void do_clean_objs _((SV *sv));
662void do_clean_named_objs _((SV *sv));
663void do_clean_all _((SV *sv));
664void not_a_number _((SV *sv));
665
666typedef void (CPerlObj::*SVFUNC) _((SV*));
667void visit _((SVFUNC f));
668
669void save_magic _((MGS *mgs, SV *sv));
670int magic_methpack _((SV *sv, MAGIC *mg, char *meth));
671OP * doform _((CV *cv, GV *gv, OP *retop));
672void doencodes _((SV* sv, char* s, I32 len));
673SV* refto _((SV* sv));
674U32 seed _((void));
675OP *docatch _((OP *o));
676OP *dofindlabel _((OP *o, char *label, OP **opstack, OP **oplimit));
677void doparseform _((SV *sv));
678I32 dopoptoeval _((I32 startingblock));
679I32 dopoptolabel _((char *label));
680I32 dopoptoloop _((I32 startingblock));
681I32 dopoptosub _((I32 startingblock));
682void save_lines _((AV *array, SV *sv));
683OP *doeval _((int gimme, OP** startop));
684SV *mul128 _((SV *sv, U8 m));
685SV *is_an_int _((char *s, STRLEN l));
686int div128 _((SV *pnum, bool *done));
687
688int runops_standard _((void));
689#ifdef DEBUGGING
690int runops_debug _((void));
22239a37 691#endif
76e3520e 692void check_uni _((void));
693void force_next _((I32 type));
694char *force_version _((char *start));
695char *force_word _((char *start, int token, int check_keyword, int allow_pack, int allow_tick));
696SV *tokeq _((SV *sv));
697char *scan_const _((char *start));
698char *scan_formline _((char *s));
699char *scan_heredoc _((char *s));
700char *scan_ident _((char *s, char *send, char *dest, STRLEN destlen, I32 ck_uni));
701char *scan_inputsymbol _((char *start));
702char *scan_pat _((char *start));
703char *scan_str _((char *start));
704char *scan_subst _((char *start));
705char *scan_trans _((char *start));
706char *scan_word _((char *s, char *dest, STRLEN destlen, int allow_package, STRLEN *slp));
707char *skipspace _((char *s));
708void checkcomma _((char *s, char *name, char *what));
709void force_ident _((char *s, int kind));
710void incline _((char *s));
711int intuit_method _((char *s, GV *gv));
712int intuit_more _((char *s));
713I32 lop _((I32 f, expectation x, char *s));
714void missingterm _((char *s));
715void no_op _((char *what, char *s));
716void set_csh _((void));
717I32 sublex_done _((void));
718I32 sublex_push _((void));
719I32 sublex_start _((void));
720#ifdef CRIPPLED_CC
721int uni _((I32 f, char *s));
722#endif
723char * filter_gets _((SV *sv, PerlIO *fp, STRLEN append));
724int ao _((int toketype));
725void depcom _((void));
726#ifdef WIN32
727I32 win32_textfilter _((int idx, SV *sv, int maxlen));
728#endif
729char* incl_perldb _((void));
730SV *isa_lookup _((HV *stash, char *name, int len, int level));
731CV *get_db_sub _((SV **svp, CV *cv));
732I32 list_assignment _((OP *o));
733void bad_type _((I32 n, char *t, char *name, OP *kid));
734OP *modkids _((OP *o, I32 type));
735OP *no_fh_allowed _((OP *o));
736OP *scalarboolean _((OP *o));
737OP *too_few_arguments _((OP *o, char* name));
738OP *too_many_arguments _((OP *o, char* name));
739void null _((OP* o));
740PADOFFSET pad_findlex _((char* name, PADOFFSET newoff, U32 seq, CV* startcv, I32 cx_ix));
741OP *newDEFSVOP _((void));
742char* gv_ename _((GV *gv));
743CV *cv_clone2 _((CV *proto, CV *outside));
22239a37 744
76e3520e 745void find_beginning _((void));
746void forbid_setid _((char *));
747void incpush _((char *, int));
748void init_ids _((void));
749void init_debugger _((void));
750void init_lexer _((void));
751void init_main_stash _((void));
752#ifdef USE_THREADS
753struct perl_thread * init_main_thread _((void));
754#endif /* USE_THREADS */
755void init_perllib _((void));
756void init_postdump_symbols _((int, char **, char **));
757void init_predump_symbols _((void));
758void my_exit_jump _((void)) __attribute__((noreturn));
759void nuke_stacks _((void));
760void open_script _((char *, bool, SV *));
761void usage _((char *));
762void validate_suid _((char *, char*));
763
764regnode *reg _((I32, I32 *));
765regnode *reganode _((U8, U32));
766regnode *regatom _((I32 *));
767regnode *regbranch _((I32 *, I32));
768void regc _((U8, char *));
769regnode *regclass _((void));
770I32 regcurly _((char *));
771regnode *reg_node _((U8));
772regnode *regpiece _((I32 *));
773void reginsert _((U8, regnode *));
774void regoptail _((regnode *, regnode *));
775void regset _((char *, I32));
776void regtail _((regnode *, regnode *));
777char* nextchar _((void));
778regnode *dumpuntil _((regnode *start, regnode *node, regnode *last, SV* sv, I32 l));
779void debprof _((OP *o));
780void scan_commit _((scan_data_t *data));
781I32 study_chunk _((regnode **scanp, I32 *deltap, regnode *last, scan_data_t *data, U32 flags));
782I32 add_data _((I32 n, char *s));
783void re_croak2 _((const char* pat1,const char* pat2,...)) __attribute__((noreturn));
784I32 regmatch _((regnode *prog));
785I32 regrepeat _((regnode *p, I32 max));
786I32 regrepeat_hard _((regnode *p, I32 max, I32 *lp));
787I32 regtry _((regexp *prog, char *startpos));
788bool reginclass _((char *p, I32 c));
789CHECKPOINT regcppush _((I32 parenfloor));
790char * regcppop _((void));
791void dump _((char *pat,...));
792#ifdef WIN32
793int do_aspawn _((void *vreally, void **vmark, void **vsp));
794#endif
795
796#ifdef DEBUGGING
797void del_sv _((SV *p));
798#endif
799
800#define PPDEF(s) OP* CPerlObj::s _((ARGSproto));
801
802public:
803PPDEF(pp_aassign)
804PPDEF(pp_abs)
805PPDEF(pp_accept)
806PPDEF(pp_add)
807PPDEF(pp_aelem)
808PPDEF(pp_aelemfast)
809PPDEF(pp_alarm)
810PPDEF(pp_and)
811PPDEF(pp_andassign)
812PPDEF(pp_anoncode)
813PPDEF(pp_anonhash)
814PPDEF(pp_anonlist)
815PPDEF(pp_aslice)
816PPDEF(pp_atan2)
817PPDEF(pp_av2arylen)
818PPDEF(pp_backtick)
819PPDEF(pp_bind)
820PPDEF(pp_binmode)
821PPDEF(pp_bit_and)
822PPDEF(pp_bit_or)
823PPDEF(pp_bit_xor)
824PPDEF(pp_bless)
825PPDEF(pp_caller)
826PPDEF(pp_chdir)
827PPDEF(pp_chmod)
828PPDEF(pp_chomp)
829PPDEF(pp_chop)
830PPDEF(pp_chown)
831PPDEF(pp_chr)
832PPDEF(pp_chroot)
833PPDEF(pp_close)
834PPDEF(pp_closedir)
835PPDEF(pp_complement)
836PPDEF(pp_concat)
837PPDEF(pp_cond_expr)
838PPDEF(pp_connect)
839PPDEF(pp_const)
840PPDEF(pp_cos)
841PPDEF(pp_crypt)
842PPDEF(pp_cswitch)
843PPDEF(pp_dbmclose)
844PPDEF(pp_dbmopen)
845PPDEF(pp_dbstate)
846PPDEF(pp_defined)
847PPDEF(pp_delete)
848PPDEF(pp_die)
849PPDEF(pp_divide)
850PPDEF(pp_dofile)
851PPDEF(pp_dump)
852PPDEF(pp_each)
853PPDEF(pp_egrent)
854PPDEF(pp_ehostent)
855PPDEF(pp_enetent)
856PPDEF(pp_enter)
857PPDEF(pp_entereval)
858PPDEF(pp_enteriter)
859PPDEF(pp_enterloop)
860PPDEF(pp_entersub)
861PPDEF(pp_entertry)
862PPDEF(pp_enterwrite)
863PPDEF(pp_eof)
864PPDEF(pp_eprotoent)
865PPDEF(pp_epwent)
866PPDEF(pp_eq)
867PPDEF(pp_eservent)
868PPDEF(pp_exec)
869PPDEF(pp_exists)
870PPDEF(pp_exit)
871PPDEF(pp_exp)
872PPDEF(pp_fcntl)
873PPDEF(pp_fileno)
874PPDEF(pp_flip)
875PPDEF(pp_flock)
876PPDEF(pp_flop)
877PPDEF(pp_fork)
878PPDEF(pp_formline)
879PPDEF(pp_ftatime)
880PPDEF(pp_ftbinary)
881PPDEF(pp_ftblk)
882PPDEF(pp_ftchr)
883PPDEF(pp_ftctime)
884PPDEF(pp_ftdir)
885PPDEF(pp_fteexec)
886PPDEF(pp_fteowned)
887PPDEF(pp_fteread)
888PPDEF(pp_ftewrite)
889PPDEF(pp_ftfile)
890PPDEF(pp_ftis)
891PPDEF(pp_ftlink)
892PPDEF(pp_ftmtime)
893PPDEF(pp_ftpipe)
894PPDEF(pp_ftrexec)
895PPDEF(pp_ftrowned)
896PPDEF(pp_ftrread)
897PPDEF(pp_ftrwrite)
898PPDEF(pp_ftsgid)
899PPDEF(pp_ftsize)
900PPDEF(pp_ftsock)
901PPDEF(pp_ftsuid)
902PPDEF(pp_ftsvtx)
903PPDEF(pp_fttext)
904PPDEF(pp_fttty)
905PPDEF(pp_ftzero)
906PPDEF(pp_ge)
907PPDEF(pp_gelem)
908PPDEF(pp_getc)
909PPDEF(pp_getlogin)
910PPDEF(pp_getpeername)
911PPDEF(pp_getpgrp)
912PPDEF(pp_getppid)
913PPDEF(pp_getpriority)
914PPDEF(pp_getsockname)
915PPDEF(pp_ggrent)
916PPDEF(pp_ggrgid)
917PPDEF(pp_ggrnam)
918PPDEF(pp_ghbyaddr)
919PPDEF(pp_ghbyname)
920PPDEF(pp_ghostent)
921PPDEF(pp_glob)
922PPDEF(pp_gmtime)
923PPDEF(pp_gnbyaddr)
924PPDEF(pp_gnbyname)
925PPDEF(pp_gnetent)
926PPDEF(pp_goto)
927PPDEF(pp_gpbyname)
928PPDEF(pp_gpbynumber)
929PPDEF(pp_gprotoent)
930PPDEF(pp_gpwent)
931PPDEF(pp_gpwnam)
932PPDEF(pp_gpwuid)
933PPDEF(pp_grepstart)
934PPDEF(pp_grepwhile)
935PPDEF(pp_gsbyname)
936PPDEF(pp_gsbyport)
937PPDEF(pp_gservent)
938PPDEF(pp_gsockopt)
939PPDEF(pp_gt)
940PPDEF(pp_gv)
941PPDEF(pp_gvsv)
942PPDEF(pp_helem)
943PPDEF(pp_hex)
944PPDEF(pp_hslice)
945PPDEF(pp_i_add)
946PPDEF(pp_i_divide)
947PPDEF(pp_i_eq)
948PPDEF(pp_i_ge)
949PPDEF(pp_i_gt)
950PPDEF(pp_i_le)
951PPDEF(pp_i_lt)
952PPDEF(pp_i_modulo)
953PPDEF(pp_i_multiply)
954PPDEF(pp_i_ncmp)
955PPDEF(pp_i_ne)
956PPDEF(pp_i_negate)
957PPDEF(pp_i_subtract)
958PPDEF(pp_index)
959PPDEF(pp_indread)
960PPDEF(pp_int)
961PPDEF(pp_ioctl)
962PPDEF(pp_iter)
963PPDEF(pp_join)
964PPDEF(pp_keys)
965PPDEF(pp_kill)
966PPDEF(pp_last)
967PPDEF(pp_lc)
968PPDEF(pp_lcfirst)
969PPDEF(pp_le)
970PPDEF(pp_leave)
971PPDEF(pp_leaveeval)
972PPDEF(pp_leaveloop)
973PPDEF(pp_leavesub)
974PPDEF(pp_leavetry)
975PPDEF(pp_leavewrite)
976PPDEF(pp_left_shift)
977PPDEF(pp_length)
978PPDEF(pp_lineseq)
979PPDEF(pp_link)
980PPDEF(pp_list)
981PPDEF(pp_listen)
982PPDEF(pp_localtime)
983PPDEF(pp_lock)
984PPDEF(pp_log)
985PPDEF(pp_lslice)
986PPDEF(pp_lstat)
987PPDEF(pp_lt)
988PPDEF(pp_mapstart)
989PPDEF(pp_mapwhile)
990PPDEF(pp_match)
991PPDEF(pp_method)
992PPDEF(pp_mkdir)
993PPDEF(pp_modulo)
994PPDEF(pp_msgctl)
995PPDEF(pp_msgget)
996PPDEF(pp_msgrcv)
997PPDEF(pp_msgsnd)
998PPDEF(pp_multiply)
999PPDEF(pp_ncmp)
1000PPDEF(pp_ne)
1001PPDEF(pp_negate)
1002PPDEF(pp_next)
1003PPDEF(pp_nextstate)
1004PPDEF(pp_not)
1005PPDEF(pp_nswitch)
1006PPDEF(pp_null)
1007PPDEF(pp_oct)
1008PPDEF(pp_open)
1009PPDEF(pp_open_dir)
1010PPDEF(pp_or)
1011PPDEF(pp_orassign)
1012PPDEF(pp_ord)
1013PPDEF(pp_pack)
1014PPDEF(pp_padany)
1015PPDEF(pp_padav)
1016PPDEF(pp_padhv)
1017PPDEF(pp_padsv)
1018PPDEF(pp_pipe_op)
1019PPDEF(pp_pop)
1020PPDEF(pp_pos)
1021PPDEF(pp_postdec)
1022PPDEF(pp_postinc)
1023PPDEF(pp_pow)
1024PPDEF(pp_predec)
1025PPDEF(pp_preinc)
1026PPDEF(pp_print)
1027PPDEF(pp_prototype)
1028PPDEF(pp_prtf)
1029PPDEF(pp_push)
1030PPDEF(pp_pushmark)
1031PPDEF(pp_pushre)
1032PPDEF(pp_quotemeta)
1033PPDEF(pp_rand)
1034PPDEF(pp_range)
1035PPDEF(pp_rcatline)
1036PPDEF(pp_read)
1037PPDEF(pp_readdir)
1038PPDEF(pp_readline)
1039PPDEF(pp_readlink)
1040PPDEF(pp_recv)
1041PPDEF(pp_redo)
1042PPDEF(pp_ref)
1043PPDEF(pp_refgen)
1044PPDEF(pp_regcmaybe)
1045PPDEF(pp_regcomp)
1046PPDEF(pp_rename)
1047PPDEF(pp_repeat)
1048PPDEF(pp_require)
1049PPDEF(pp_reset)
1050PPDEF(pp_return)
1051PPDEF(pp_reverse)
1052PPDEF(pp_rewinddir)
1053PPDEF(pp_right_shift)
1054PPDEF(pp_rindex)
1055PPDEF(pp_rmdir)
1056PPDEF(pp_rv2av)
1057PPDEF(pp_rv2cv)
1058PPDEF(pp_rv2gv)
1059PPDEF(pp_rv2hv)
1060PPDEF(pp_rv2sv)
1061PPDEF(pp_sassign)
1062PPDEF(pp_scalar)
1063PPDEF(pp_schomp)
1064PPDEF(pp_schop)
1065PPDEF(pp_scmp)
1066PPDEF(pp_scope)
1067PPDEF(pp_seek)
1068PPDEF(pp_seekdir)
1069PPDEF(pp_select)
1070PPDEF(pp_semctl)
1071PPDEF(pp_semget)
1072PPDEF(pp_semop)
1073PPDEF(pp_send)
1074PPDEF(pp_seq)
1075PPDEF(pp_setpgrp)
1076PPDEF(pp_setpriority)
1077PPDEF(pp_sge)
1078PPDEF(pp_sgrent)
1079PPDEF(pp_sgt)
1080PPDEF(pp_shift)
1081PPDEF(pp_shmctl)
1082PPDEF(pp_shmget)
1083PPDEF(pp_shmread)
1084PPDEF(pp_shmwrite)
1085PPDEF(pp_shostent)
1086PPDEF(pp_shutdown)
1087PPDEF(pp_sin)
1088PPDEF(pp_sle)
1089PPDEF(pp_sleep)
1090PPDEF(pp_slt)
1091PPDEF(pp_sne)
1092PPDEF(pp_snetent)
1093PPDEF(pp_socket)
1094PPDEF(pp_sockpair)
1095PPDEF(pp_sort)
1096PPDEF(pp_splice)
1097PPDEF(pp_split)
1098PPDEF(pp_sprintf)
1099PPDEF(pp_sprotoent)
1100PPDEF(pp_spwent)
1101PPDEF(pp_sqrt)
1102PPDEF(pp_srand)
1103PPDEF(pp_srefgen)
1104PPDEF(pp_sselect)
1105PPDEF(pp_sservent)
1106PPDEF(pp_ssockopt)
1107PPDEF(pp_stat)
1108PPDEF(pp_stringify)
1109PPDEF(pp_stub)
1110PPDEF(pp_study)
1111PPDEF(pp_subst)
1112PPDEF(pp_substcont)
1113PPDEF(pp_substr)
1114PPDEF(pp_subtract)
1115PPDEF(pp_symlink)
1116PPDEF(pp_syscall)
1117PPDEF(pp_sysopen)
1118PPDEF(pp_sysread)
1119PPDEF(pp_sysseek)
1120PPDEF(pp_system)
1121PPDEF(pp_syswrite)
1122PPDEF(pp_tell)
1123PPDEF(pp_telldir)
1124PPDEF(pp_threadsv)
1125PPDEF(pp_tie)
1126PPDEF(pp_tied)
1127PPDEF(pp_time)
1128PPDEF(pp_tms)
1129PPDEF(pp_trans)
1130PPDEF(pp_truncate)
1131PPDEF(pp_uc)
1132PPDEF(pp_ucfirst)
1133PPDEF(pp_umask)
1134PPDEF(pp_undef)
1135PPDEF(pp_unlink)
1136PPDEF(pp_unpack)
1137PPDEF(pp_unshift)
1138PPDEF(pp_unstack)
1139PPDEF(pp_untie)
1140PPDEF(pp_utime)
1141PPDEF(pp_values)
1142PPDEF(pp_vec)
1143PPDEF(pp_wait)
1144PPDEF(pp_waitpid)
1145PPDEF(pp_wantarray)
1146PPDEF(pp_warn)
1147PPDEF(pp_xor)
1148
1149OP * ck_ftst _((OP *o));
1150OP *ck_anoncode _((OP *o));
1151OP *ck_bitop _((OP *o));
1152OP *ck_concat _((OP *o));
1153OP *ck_spair _((OP *o));
1154OP *ck_delete _((OP *o));
1155OP *ck_eof _((OP *o));
1156OP *ck_eval _((OP *o));
1157OP *ck_exec _((OP *o));
1158OP *ck_exists _((OP *o));
1159OP *ck_rvconst _((OP *o));
1160OP *ck_fun _((OP *o));
1161OP *ck_glob _((OP *o));
1162OP *ck_grep _((OP *o));
1163OP *ck_index _((OP *o));
1164OP *ck_lengthconst _((OP *o));
1165OP *ck_lfun _((OP *o));
1166OP *ck_rfun _((OP *o));
1167OP *ck_listiob _((OP *o));
1168OP *ck_fun_locale _((OP *o));
1169OP *ck_scmp _((OP *o));
1170OP *ck_match _((OP *o));
1171OP *ck_null _((OP *o));
1172OP *ck_repeat _((OP *o));
1173OP *ck_require _((OP *o));
1174OP *ck_select _((OP *o));
1175OP *ck_shift _((OP *o));
1176OP *ck_sort _((OP *o));
1177OP *ck_split _((OP *o));
1178OP *ck_subr _((OP *o));
1179OP *ck_svconst _((OP *o));
1180OP *ck_trunc _((OP *o));
1181void unwind_handler_stack _((void *p));
1182void restore_magic _((void *p));
1183void restore_rsfp _((void *f));
1184void yydestruct _((void *ptr));
1185int sortcv _((const void *, const void *));
1186int sortcmp _((const void *, const void *));
1187int sortcmp_locale _((const void *, const void *));
1188VIRTUAL int fprintf _((PerlIO *, const char *, ...));
1189
1190#ifdef WIN32
1191VIRTUAL int& ErrorNo();
1192#endif /* WIN32 */
1193#else /* !PERL_OBJECT */
22239a37 1194END_EXTERN_C
76e3520e 1195#endif /* PERL_OBJECT */
1196