This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deprecate Perl_ptr_table_clear(). Nothing outside sv.c uses it.
[perl5.git] / embed.fnc
CommitLineData
5a51db05
NC
1: BEGIN {die "You meant to run embed.pl"} # Stop early if fed to perl.
2:
d412580b
DM
3: This file is processed by embed.pl and autodoc.pl
4:
94bdecf9
JH
5: Lines are of the form:
6: flags|return_type|function_name|arg1|arg2|...|argN
7:
8: A line may be continued on another by ending it with a backslash.
9: Leading and trailing whitespace will be ignored in each component.
10:
11: flags are single letters with following meanings:
d412580b
DM
12:
13: A Member of public API:
14:
15: add entry to global.sym (unless x or m);
16: any doc entry goes in perlapi.pod rather than perlintern.api
17: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
18:
19: a Allocates memory a la malloc/calloc. Also implies "R":
20:
21: proto.h: add __attribute__malloc__
22:
23: b Binary backward compatibility; function is a macro
24: but has also Perl_ implementation (which is exported):
25:
26: add entry to global.sym;
27: don't define PERL_ARGS_ASSERT_FOO
28:
29: D Function is deprecated:
30:
31: proto.h: add __attribute__deprecated__
32:
33: d Function has documentation with its source:
34:
35: enables 'no docs for foo" warning in autodoc.pl
36:
37: E Visible to extensions included in the Perl core:
38:
39: in embed.h, change "#ifdef PERL_CORE"
40: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
41:
23fb3b56
JD
42: Should always be combined with "X" to be usable from dynamically
43: loaded extensions.
44:
d412580b
DM
45: f Function takes printf style format string, varargs:
46:
47: proto.h: add __attribute__format__ (or ...null_ok__)
48:
49: M May change:
50:
51: (currently no effect)
52:
53: m Implemented as a macro:
54:
55: suppress proto.h entry
56: suppress global.sym entry
57: suppress embed.h entry
58:
59: n Has no implicit interpreter/thread context argument:
60:
61: suppress the pTHX part of "foo(pTHX...)" in proto.h;
62: In the PERL_IMPLICIT_SYS branch of embed.h, generates
63: "#define foo Perl_foo", rather than
64: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
65:
66: o Has no Perl_foo compatibility macro:
67:
68: embed.h: suppress "#define foo Perl_foo"
69:
70: P Pure function: no effects except the return value;
71: return value depends only on params and/or globals:
72:
73: proto.h: add __attribute__pure__
74:
75: p Function in source code has a Perl_ prefix:
76:
77: proto.h: function is declared as Perl_foo rather than foo
78: embed.h: "#define foo Perl_foo" entries added
79:
80: R Return value must not be ignored (also implied by 'a' flag):
81:
82: proto.h: add __attribute__warn_unused_result__
83:
84: r Function never returns:
85:
86: proto.h: add __attribute__noreturn__
87:
88: s Static function: function in source code has a S_ prefix:
89:
90: proto.h: function is declared as S_foo rather than foo,
91: STATIC is added to declaration;
92: embed.h: "#define foo S_foo" entries added
93:
94: U Suppress usage example in autogenerated documentation
95:
96: (currently no effect)
97:
98: X Explicitly exported:
99:
100: add entry to global.sym, unless x or m
101:
102: x Not exported
103:
104: suppress entry in global.sym
105:
1aa6ea50 106: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 107:
f54cb97a 108: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 109:
1b6737cc
AL
110: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
111: no effect on output yet. It's a notation for the maintainers to know "I have
112: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
113: which is ambiguous.
114:
94bdecf9 115: Individual flags may be separated by whitespace.
94bdecf9
JH
116
117START_EXTERN_C
118
119#if defined(PERL_IMPLICIT_SYS)
7827dc65 120Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
121 |NN struct IPerlMem *ipM \
122 |NN struct IPerlMem *ipMS \
123 |NN struct IPerlMem *ipMP \
124 |NN struct IPerlEnv *ipE \
125 |NN struct IPerlStdIO *ipStd \
16bf6295 126 |NN struct IPerlLIO *ipLIO \
4048f010
NC
127 |NN struct IPerlDir *ipD \
128 |NN struct IPerlSock *ipS \
129 |NN struct IPerlProc *ipP
94bdecf9
JH
130#endif
131Anod |PerlInterpreter* |perl_alloc
4048f010
NC
132Anod |void |perl_construct |NN PerlInterpreter *my_perl
133Anod |int |perl_destruct |NN PerlInterpreter *my_perl
134Anod |void |perl_free |NN PerlInterpreter *my_perl
135Anod |int |perl_run |NN PerlInterpreter *my_perl
136Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
137 |int argc|NULLOK char** argv|NULLOK char** env
138AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 139#if defined(USE_ITHREADS)
4048f010 140Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 141# if defined(PERL_IMPLICIT_SYS)
7827dc65 142Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
143 |NN PerlInterpreter *proto_perl \
144 |UV flags \
145 |NN struct IPerlMem* ipM \
146 |NN struct IPerlMem* ipMS \
147 |NN struct IPerlMem* ipMP \
148 |NN struct IPerlEnv* ipE \
149 |NN struct IPerlStdIO* ipStd \
150 |NN struct IPerlLIO* ipLIO \
151 |NN struct IPerlDir* ipD \
152 |NN struct IPerlSock* ipS \
153 |NN struct IPerlProc* ipP
94bdecf9
JH
154# endif
155#endif
156
4373e329
AL
157Aanop |Malloc_t|malloc |MEM_SIZE nbytes
158Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
159Aanop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
160Anop |Free_t |mfree |Malloc_t where
161#if defined(MYMALLOC)
7827dc65 162npR |MEM_SIZE|malloced_size |NN void *p
64107180 163npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9
JH
164#endif
165
890ce7af 166AnpR |void* |get_context
9f6cc744 167Anp |void |set_context |NN void *t
0801f9a3 168EXpRnP |I32 |regcurly |NN const char *s
94bdecf9
JH
169
170END_EXTERN_C
171
172/* functions with flag 'n' should come before here */
173START_EXTERN_C
174# include "pp_proto.h"
46c461b5 175Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
c3a9a790 176Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 177ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
d67fec57 178: Used in perly.y
890ce7af 179p |OP* |append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
d67fec57 180: Used in perly.y
890ce7af 181p |OP* |append_list |I32 optype|NULLOK LISTOP* first|NULLOK LISTOP* last
67022846 182: FIXME - this is only called by pp_chown. They should be merged.
890ce7af
AL
183p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
184ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010
NC
185Apd |void |av_clear |NN AV *av
186Apd |SV* |av_delete |NN AV *av|I32 key|I32 flags
187ApdR |bool |av_exists |NN AV *av|I32 key
188Apd |void |av_extend |NN AV *av|I32 key
4048f010
NC
189ApdR |SV** |av_fetch |NN AV *av|I32 key|I32 lval
190Apd |void |av_fill |NN AV *av|I32 fill
bb5dd93d 191ApdR |I32 |av_len |NN AV *av
4048f010
NC
192ApdR |AV* |av_make |I32 size|NN SV **strp
193Apd |SV* |av_pop |NN AV *av
29a861e7 194ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
4048f010 195Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 196: Used in scope.c, and by Data::Alias
4048f010
NC
197EXp |void |av_reify |NN AV *av
198ApdR |SV* |av_shift |NN AV *av
199Apd |SV** |av_store |NN AV *av|I32 key|NULLOK SV *val
200Apd |void |av_undef |NN AV *av
29a861e7 201ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
4048f010
NC
202Apd |void |av_unshift |NN AV *av|I32 num
203Apo |SV** |av_arylen_p |NN AV *av
204Apo |IV* |av_iter_p |NN AV *av
878d132a
NC
205#if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT)
206s |MAGIC* |get_aux_mg |NN AV *av
207#endif
d67fec57 208: Used in perly.y
4048f010 209pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 210: Used in perly.y
6472dca1 211pR |OP* |block_end |I32 floor|NULLOK OP* seq
a3b680e6 212ApR |I32 |block_gimme
d67fec57 213: Used in perly.y
a3b680e6 214pR |int |block_start |int full
d67fec57 215: Used in perl.c
94bdecf9 216p |void |boot_core_UNIVERSAL
d67fec57 217: Used in perl.c
94bdecf9 218p |void |boot_core_PerlIO
4048f010 219Ap |void |call_list |I32 oldscope|NN AV *paramList
d67fec57 220: Used in serveral source files
ae1951c1 221pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
53c1dcc0
AL
222ApR |U32 |cast_ulong |NV f
223ApR |I32 |cast_i32 |NV f
224ApR |IV |cast_iv |NV f
225ApR |UV |cast_uv |NV f
94bdecf9 226#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 227ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 228#endif
d67fec57 229: Used in perly.y
890ce7af 230pR |OP* |convert |I32 optype|I32 flags|NULLOK OP* o
d67fec57 231: Used in op.c and perl.c
edb2152a 232pM |PERL_CONTEXT* |create_eval_scope|U32 flags
551405c4 233: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 234Afprd |void |croak |NULLOK const char* pat|...
f3dc127a 235Apr |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
afa74d42
NC
236Aprd |void |croak_xs_usage |NN const CV *const cv \
237 |NN const char *const params
238
94bdecf9 239#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 240Afnrp |void |croak_nocontext|NULLOK const char* pat|...
cf284a24 241Afnp |OP* |die_nocontext |NULLOK const char* pat|...
890ce7af
AL
242Afnp |void |deb_nocontext |NN const char* pat|...
243Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 244Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
245Afnp |SV* |mess_nocontext |NN const char* pat|...
246Afnp |void |warn_nocontext |NN const char* pat|...
247Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 248Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
249Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
250Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
251Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
252Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
4048f010
NC
253Afnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
254Afnp |int |printf_nocontext|NN const char *format|...
94bdecf9 255#endif
d67fec57 256: Used in sv.c
cbf82dd0
NC
257p |void |cv_ckproto_len |NN const CV* cv|NULLOK const GV* gv\
258 |NULLOK const char* p|const STRLEN len
67022846 259: Used in pp.c and pp_sys.c
4373e329 260pd |CV* |cv_clone |NN CV* proto
62d55b22 261ApdR |SV* |gv_const_sv |NN GV* gv
d45f5b30 262ApdR |SV* |cv_const_sv |NULLOK const CV *const cv
67022846 263: Used in pad.c
890ce7af
AL
264pR |SV* |op_const_sv |NULLOK const OP* o|NULLOK CV* cv
265Apd |void |cv_undef |NN CV* cv
266Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 267Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 268Ap |void |filter_del |NN filter_t funcp
4048f010 269ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
270ApPR |char** |get_op_descs
271ApPR |char** |get_op_names
67022846 272: FIXME discussion on p5p
a3b680e6 273pPR |const char* |get_no_modify
67022846 274: FIXME discussion on p5p
a3b680e6
AL
275pPR |U32* |get_opargs
276ApPR |PPADDR_t*|get_ppaddr
d67fec57 277: Used by CXINC, which appears to be in widespread use
82151c42 278ApR |I32 |cxinc
890ce7af 279Afp |void |deb |NN const char* pat|...
aec46f14 280Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 281Ap |void |debprofdump
4373e329 282Ap |I32 |debop |NN const OP* o
94bdecf9
JH
283Ap |I32 |debstack
284Ap |I32 |debstackptrs
04c9e624 285Anp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 286 |NN const char* fromend|int delim|NN I32* retlen
d67fec57 287: Used in op.c, perl.c
edb2152a 288pM |void |delete_eval_scope
cdfeb707 289Afp |OP* |die |NULLOK const char* pat|...
efd0b058 290#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
e3cf49e2 291s |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args
82af08ae 292#endif
67022846 293: Used in util.c
bb4c52e0 294pr |void |die_where |NULLOK SV* msv
94bdecf9 295Ap |void |dounwind |I32 cxix
67022846 296: FIXME
a9f96b3f 297pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 298: Used in pp_sys.c
5b5cf8d2 299p |bool |do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
4373e329 300Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 301: Used in pp.c
4048f010 302p |void |do_chop |NN SV *astr|NN SV *sv
063df69c 303Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 304: Defined in doio.c, used only in pp_sys.c
4373e329 305p |bool |do_eof |NN GV* gv
8c654ff2
NC
306
307#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
9555a685 308pmb |bool |do_exec |NN const char* cmd
8c654ff2
NC
309#else
310p |bool |do_exec |NN const char* cmd
311#endif
312
9ec7171b 313#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 314Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
315Ap |int |do_spawn |NN char* cmd
316Ap |int |do_spawn_nowait|NN char* cmd
54725af6 317#endif
94bdecf9 318#if !defined(WIN32)
4048f010 319p |bool |do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9
JH
320#endif
321p |void |do_execfree
efd0b058 322#if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
b1366aaf 323s |void |exec_failed |NN const char *cmd|int fd|int do_report
a0f2c8ec 324#endif
94bdecf9 325#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 326: Defined in doio.c, used only in pp_sys.c
7827dc65 327p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 328: Defined in doio.c, used only in pp_sys.c
7827dc65 329p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 330: Defined in doio.c, used only in pp_sys.c
7827dc65 331p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 332: Defined in doio.c, used only in pp_sys.c
7827dc65 333p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 334: Defined in doio.c, used only in pp_sys.c
7827dc65 335p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 336: Defined in doio.c, used only in pp_sys.c
7827dc65 337p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 338#endif
4048f010 339Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
67022846 340: Used in pp.c and pp_hot.c
94bdecf9 341p |OP* |do_kv
e4dba786 342Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 343 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
2fbb330f 344Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
345 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
346 |NN SV *svs|I32 num
4048f010
NC
347Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
348 |int as_raw|int rawmode|int rawperm \
349 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
350 |I32 num
67022846 351: Used in pp_hot.c and pp_sys.c
890ce7af 352p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 353: Used in pp_sys.c
890ce7af 354pR |OP* |do_readline
67022846 355: Used in pp.c
890ce7af 356p |I32 |do_chomp |NN SV* sv
67022846 357: Defined in doio.c, used only in pp_sys.c
890ce7af
AL
358p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
359Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg
67022846 360: Defined in doio.c, used only in pp_sys.c
890ce7af 361p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 362: Defined in doio.c, used only in pp_sys.c
890ce7af 363pR |Off_t |do_tell |NN GV* gv
67022846 364: Defined in doop.c, used only in pp.c
890ce7af 365p |I32 |do_trans |NN SV* sv
67022846 366: Used in my.c and pp.c
4373e329 367p |UV |do_vecget |NN SV* sv|I32 offset|I32 size
67022846 368: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 369p |void |do_vecset |NN SV* sv
67022846 370: Defined in doop.c, used only in pp.c
890ce7af 371p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 372: Used in perly.y
850e8516 373p |OP* |dofile |NN OP* term|I32 force_builtin
890ce7af 374ApR |I32 |dowantarray
94bdecf9 375Ap |void |dump_all
f0e3f042 376p |void |dump_all_perl |bool justperl
94bdecf9
JH
377Ap |void |dump_eval
378#if defined(DUMP_FDS)
9a957fbc 379Ap |void |dump_fds |NN char* s
94bdecf9 380#endif
9a957fbc 381Ap |void |dump_form |NN const GV* gv
890ce7af 382Ap |void |gv_dump |NN GV* gv
4048f010 383Ap |void |op_dump |NN const OP *o
9a957fbc
AL
384Ap |void |pmop_dump |NULLOK PMOP* pm
385Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 386p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 387Ap |void |dump_sub |NN const GV* gv
f0e3f042 388p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
389Apd |void |fbm_compile |NN SV* sv|U32 flags
390ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 391 |NN SV* littlestr|U32 flags
67022846 392: Defined in util.c, used only in perl.c
7827dc65
AL
393p |char* |find_script |NN const char *scriptname|bool dosearch \
394 |NULLOK const char *const *const search_ext|I32 flags
efd0b058 395#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
b7783a12 396s |OP* |force_list |NULLOK OP* arg
d67fec57 397: FIXME
b7783a12
NC
398s |OP* |fold_constants |NN OP *o
399#endif
aec46f14
AL
400Afpd |char* |form |NN const char* pat|...
401Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 402Ap |void |free_tmps
efd0b058 403#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
b7783a12 404s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 405#endif
94bdecf9 406#if !defined(HAS_GETENV_LEN)
67022846 407: Used in hv.c
9f6cc744 408p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 409#endif
67022846 410: Used in pp_ctl.c and pp_hot.c
005a8a35 411pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
412Ap |void |gp_free |NULLOK GV* gv
413Ap |GP* |gp_ref |NULLOK GP* gp
bb85b28a
NC
414Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
415Apmb |GV* |gv_AVadd |NULLOK GV *gv
416Apmb |GV* |gv_HVadd |NULLOK GV *gv
417Apmb |GV* |gv_IOadd |NULLOK GV* gv
46c461b5 418ApR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name|STRLEN len|I32 method
1146e912 419Ap |void |gv_check |NN const HV* stash
46c461b5
AL
420Ap |void |gv_efullname |NN SV* sv|NN const GV* gv
421Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
422Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 423Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
424Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
425 |const U32 flags
7827dc65
AL
426Apd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name|STRLEN len|I32 level
427Apd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash|NN const char* name|STRLEN len|I32 level
eff494dd
NC
428Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
429Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
430 |I32 autoload
ed6f739c 431ApM |GV* |gv_fetchmethod_flags|NN HV* stash|NN const char* name \
256d1bb2 432 |U32 flags
fe9845cc 433Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
9a957fbc
AL
434Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
435Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
436Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 437: Used in scope.c
12816592 438pMox |GP * |newGP |NN GV *const gv
7827dc65 439Ap |void |gv_init |NN GV* gv|NULLOK HV* stash|NN const char* name|STRLEN len|int multi
9f616d01 440Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
4c106937 441XMpd |void |gv_try_downgrade|NN GV* gv
da51bb9b
NC
442Apd |HV* |gv_stashpv |NN const char* name|I32 flags
443Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
8798655d 444Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 445Apd |void |hv_clear |NULLOK HV *hv
67022846 446: used in SAVEHINTS() and op.c
3d4dd4c7 447poM |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010
NC
448Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
449Abmd |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 450 |I32 flags
4048f010
NC
451Abmd |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
452AbmdR |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
453AbmdR |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
454Abmd |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 455 |I32 lval
4048f010
NC
456Abmd |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
457Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 458 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 459 |int action|NULLOK SV *val|U32 hash
a038e571
NC
460Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
461 |I32 klen_i32|const int action|NULLOK SV *val \
462 |const U32 hash
4048f010
NC
463Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entryK
464Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
465ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
466ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
467ApdRbm |HE* |hv_iternext |NN HV *hv
468ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
469ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
470ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
471Ap |void |hv_ksplit |NN HV *hv|IV newmax
472Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
d67fec57 473: Used in B.xs
bd95ae50 474XEdpoM |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c
d67fec57 475: Used in APItest.xs
18759386 476XEpoM |SV * |refcounted_he_fetch|NULLOK const struct refcounted_he *chain \
7b0bddfa
NC
477 |NULLOK SV *keysv|NULLOK const char *key \
478 |STRLEN klen, int flags, U32 hash
67022846 479: Used in various files
b3ca2e83 480dpoM |void |refcounted_he_free|NULLOK struct refcounted_he *he
67022846 481: Used in various files
c20eb1c0 482XEdpoM |struct refcounted_he *|refcounted_he_new \
9b2c10f1 483 |NULLOK struct refcounted_he *const parent \
b46c265e 484 |NULLOK SV *const key|NULLOK SV *const value
012da8e5
NC
485#if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
486s |struct refcounted_he * |refcounted_he_new_common \
487 |NULLOK struct refcounted_he *const parent \
488 |NN const char *const key_p \
489 |const STRLEN key_len|const char flags \
490 |char value_type|NN const void *value \
491 |const STRLEN value_len
492#endif
4048f010
NC
493Abmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
494 |I32 klen|NULLOK SV *val|U32 hash
495Abmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
496 |U32 hash
ed6f739c 497AbmM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010
NC
498 |I32 klen|NULLOK SV *val|U32 hash|int flags
499Apd |void |hv_undef |NULLOK HV *hv
04c9e624
VP
500AnpP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
501AnpP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
4048f010
NC
502Apd |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
503 |bool u1|NN const char *s2|NULLOK char **pe2 \
504 |UV l2|bool u2
efd0b058 505#if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
0da8eb3a
NC
506sR |bool |ingroup |Gid_t testgid|bool effective
507#endif
67022846 508: Used in toke.c
4373e329 509p |void |init_argv_symbols|int argc|NN char **argv
67022846 510: Used in mg.c
94bdecf9
JH
511p |void |init_debugger
512Ap |void |init_stacks
bfce84ec 513Ap |void |init_tm |NN struct tm *ptm
67022846 514: Used in perly.y
dd2155a4 515pd |U32 |intro_my
04c9e624 516AnpPR |char* |instr |NN const char* big|NN const char* little
67022846 517: Used in sv.c
5836e3ec 518p |bool |io_close |NN IO* io|bool not_implicit
67022846 519: Used in perly.y
2d03de9c 520pR |OP* |invert |NULLOK OP* cmd
f54cb97a
AL
521ApR |I32 |is_lvalue_sub
522ApPR |U32 |to_uni_upper_lc|U32 c
523ApPR |U32 |to_uni_title_lc|U32 c
524ApPR |U32 |to_uni_lower_lc|U32 c
525ApPR |bool |is_uni_alnum |UV c
f54cb97a
AL
526ApPR |bool |is_uni_idfirst |UV c
527ApPR |bool |is_uni_alpha |UV c
528ApPR |bool |is_uni_ascii |UV c
529ApPR |bool |is_uni_space |UV c
530ApPR |bool |is_uni_cntrl |UV c
531ApPR |bool |is_uni_graph |UV c
532ApPR |bool |is_uni_digit |UV c
533ApPR |bool |is_uni_upper |UV c
534ApPR |bool |is_uni_lower |UV c
535ApPR |bool |is_uni_print |UV c
536ApPR |bool |is_uni_punct |UV c
537ApPR |bool |is_uni_xdigit |UV c
4373e329
AL
538Ap |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
539Ap |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
540Ap |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
541Ap |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
f54cb97a 542ApPR |bool |is_uni_alnum_lc|UV c
f54cb97a
AL
543ApPR |bool |is_uni_idfirst_lc|UV c
544ApPR |bool |is_uni_alpha_lc|UV c
545ApPR |bool |is_uni_ascii_lc|UV c
546ApPR |bool |is_uni_space_lc|UV c
547ApPR |bool |is_uni_cntrl_lc|UV c
548ApPR |bool |is_uni_graph_lc|UV c
549ApPR |bool |is_uni_digit_lc|UV c
550ApPR |bool |is_uni_upper_lc|UV c
551ApPR |bool |is_uni_lower_lc|UV c
552ApPR |bool |is_uni_print_lc|UV c
553ApPR |bool |is_uni_punct_lc|UV c
554ApPR |bool |is_uni_xdigit_lc|UV c
668b6d8d
VP
555Anpd |bool |is_ascii_string|NN const U8 *s|STRLEN len
556Anpd |STRLEN |is_utf8_char |NN const U8 *s
557Anpd |bool |is_utf8_string |NN const U8 *s|STRLEN len
558Anpdmb |bool |is_utf8_string_loc|NN const U8 *s|STRLEN len|NULLOK const U8 **p
559Anpd |bool |is_utf8_string_loclen|NN const U8 *s|STRLEN len|NULLOK const U8 **ep|NULLOK STRLEN *el
1df70142 560ApR |bool |is_utf8_alnum |NN const U8 *p
1df70142
AL
561ApR |bool |is_utf8_idfirst|NN const U8 *p
562ApR |bool |is_utf8_idcont |NN const U8 *p
563ApR |bool |is_utf8_alpha |NN const U8 *p
564ApR |bool |is_utf8_ascii |NN const U8 *p
565ApR |bool |is_utf8_space |NN const U8 *p
d1eb3177
YO
566ApR |bool |is_utf8_perl_space |NN const U8 *p
567ApR |bool |is_utf8_perl_word |NN const U8 *p
1df70142
AL
568ApR |bool |is_utf8_cntrl |NN const U8 *p
569ApR |bool |is_utf8_digit |NN const U8 *p
d1eb3177 570ApR |bool |is_utf8_posix_digit |NN const U8 *p
1df70142
AL
571ApR |bool |is_utf8_graph |NN const U8 *p
572ApR |bool |is_utf8_upper |NN const U8 *p
573ApR |bool |is_utf8_lower |NN const U8 *p
574ApR |bool |is_utf8_print |NN const U8 *p
575ApR |bool |is_utf8_punct |NN const U8 *p
576ApR |bool |is_utf8_xdigit |NN const U8 *p
577ApR |bool |is_utf8_mark |NN const U8 *p
0801f9a3
KW
578EXpR |bool |is_utf8_X_begin |NN const U8 *p
579EXpR |bool |is_utf8_X_extend |NN const U8 *p
580EXpR |bool |is_utf8_X_prepend |NN const U8 *p
581EXpR |bool |is_utf8_X_non_hangul |NN const U8 *p
582EXpR |bool |is_utf8_X_L |NN const U8 *p
583EXpR |bool |is_utf8_X_LV |NN const U8 *p
584EXpR |bool |is_utf8_X_LVT |NN const U8 *p
585EXpR |bool |is_utf8_X_LV_LVT_V |NN const U8 *p
586EXpR |bool |is_utf8_X_T |NN const U8 *p
587EXpR |bool |is_utf8_X_V |NN const U8 *p
67022846 588: Used in perly.y
4048f010 589p |OP* |jmaybe |NN OP *o
67022846 590: Used in pp.c
4048f010 591pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
867fa1e2
YO
592#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
593s |OP* |opt_scalarhv |NN OP* rep_op
2f9e2db0 594s |OP* |is_inplace_av |NN OP* o|NULLOK OP* oright
867fa1e2 595#endif
94bdecf9 596Ap |void |leave_scope |I32 base
d67fec57 597: Used in pp_ctl.c, and by Data::Alias
6d9a2efc 598EXp |void |lex_end
67022846 599: Used in various files
5486870f 600p |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|bool new_filter
f0e67a1d 601: Public lexer API
abe97742
NC
602AMpd |bool |lex_bufutf8
603AMpd |char* |lex_grow_linestr|STRLEN len
83aa740e 604AMpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
abe97742
NC
605AMpd |void |lex_stuff_sv |NN SV* sv|U32 flags
606AMpd |void |lex_unstuff |NN char* ptr
607AMpd |void |lex_read_to |NN char* ptr
608AMpd |void |lex_discard_to |NN char* ptr
609AMpd |bool |lex_next_chunk |U32 flags
610AMpd |I32 |lex_peek_unichar|U32 flags
611AMpd |I32 |lex_read_unichar|U32 flags
612AMpd |void |lex_read_space |U32 flags
f0e67a1d 613: Used in various files
aec46f14 614Ap |void |op_null |NN OP* o
d67fec57 615: FIXME. Used by Data::Alias
6d9a2efc 616EXp |void |op_clear |NN OP* o
4026c95a
SH
617Ap |void |op_refcnt_lock
618Ap |void |op_refcnt_unlock
efd0b058 619#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
12e93c28 620s |OP* |linklist |NN OP *o
412da003 621s |OP* |listkids |NULLOK OP* o
2dd5337b 622#endif
67022846 623: Used in S_doeval in pp_ctl.c
aec46f14 624p |OP* |list |NULLOK OP* o
aec46f14
AL
625Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
626Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 627: Used in perly.y
4048f010 628p |OP* |localize |NN OP *o|I32 lex
aad570aa 629ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 630Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
f9d13529 631EXpR |char |grok_bslash_c |const char source|const bool output_warning
7827dc65
AL
632Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
633Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
bfce84ec 634ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 635Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
67022846 636: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
637p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
638p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 639dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 640dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 641p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
642p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
643p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
1146e912 644p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
645p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
646p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 647p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 648p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
649p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
650p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
651p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
652p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
653p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
654p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
655p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
656p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
657p |U32 |magic_len |NN SV* sv|NN MAGIC* mg
4048f010 658p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
659p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
660p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
661pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
662p |int |magic_set |NN SV* sv|NN MAGIC* mg
663p |int |magic_setamagic|NN SV* sv|NN MAGIC* mg
664p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
665p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
666p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
667p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
668p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 669dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 670p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
671p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
672p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
673p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
674p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
675p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 676p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
677p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
678p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
679p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
680p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
681p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
682p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
683p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
684p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 685pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
c7a0c747 686 |NN const char *meth|U32 flags \
046b0c7d 687 |U32 argc|...
94bdecf9
JH
688Ap |void |markstack_grow
689#if defined(USE_LOCALE_COLLATE)
b22e6366 690p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
67022846 691: Defined in locale.c, used only in sv.c
b22e6366 692p |char* |mem_collxfrm |NN const char* s|STRLEN len|NN STRLEN* xlen
94bdecf9 693#endif
aec46f14
AL
694Afp |SV* |mess |NN const char* pat|...
695Ap |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
696: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
697: Used in gv.c, op.c, toke.c
6d9a2efc 698EXp |void |qerror |NN SV* err
3d4dd4c7
NC
699Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
700Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 701Apd |int |mg_clear |NN SV* sv
4048f010
NC
702Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
703 |I32 klen
67022846 704: Defined in mg.c, used only in scope.c
af7df257 705pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
890ce7af 706ApdR |MAGIC* |mg_find |NULLOK const SV* sv|int type
9a957fbc
AL
707Apd |int |mg_free |NN SV* sv
708Apd |int |mg_get |NN SV* sv
709Apd |U32 |mg_length |NN SV* sv
710Apd |void |mg_magical |NN SV* sv
711Apd |int |mg_set |NN SV* sv
712Ap |I32 |mg_size |NN SV* sv
9f6cc744 713Ap |void |mini_mktime |NN struct tm *ptm
d67fec57 714: Used by MOD(), which Data::Alias uses
6d9a2efc 715EXp |OP* |mod |NULLOK OP* o|I32 type
67022846 716: Used in op.c and pp_sys.c
a79b25b7 717p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 718Ap |const char* |moreswitches |NN const char* s
4373e329 719Ap |NV |my_atof |NN const char *s
94bdecf9 720#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
4373e329 721Anp |char* |my_bcopy |NN const char* from|NN char* to|I32 len
94bdecf9
JH
722#endif
723#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
4373e329 724Anp |char* |my_bzero |NN char* loc|I32 len
94bdecf9
JH
725#endif
726Apr |void |my_exit |U32 status
727Apr |void |my_failure_exit
728Ap |I32 |my_fflush_all
729Anp |Pid_t |my_fork
730Anp |void |atfork_lock
731Anp |void |atfork_unlock
732Ap |I32 |my_lstat
733#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
4373e329 734AnpP |I32 |my_memcmp |NN const char* s1|NN const char* s2|I32 len
94bdecf9
JH
735#endif
736#if !defined(HAS_MEMSET)
4373e329 737Anp |void* |my_memset |NN char* loc|I32 ch|I32 len
94bdecf9 738#endif
bfce84ec
AL
739Ap |I32 |my_pclose |NULLOK PerlIO* ptr
740Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
c9289b7b 741Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 742Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
94bdecf9 743Ap |I32 |my_stat
bfce84ec 744Ap |char * |my_strftime |NN const char *fmt|int sec|int min|int hour|int mday|int mon|int year|int wday|int yday|int isdst
94bdecf9 745#if defined(MYSWAP)
f54cb97a
AL
746ApPa |short |my_swap |short s
747ApPa |long |my_htonl |long l
748ApPa |long |my_ntohl |long l
94bdecf9 749#endif
67022846 750: Used in pp_ctl.c
94bdecf9 751p |void |my_unexec
b22e6366
AL
752Apa |OP* |newANONLIST |NULLOK OP* o
753Apa |OP* |newANONHASH |NULLOK OP* o
bfce84ec 754Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
aec46f14
AL
755Apa |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
756Apa |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 757Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
eb8433b7
NC
758#ifdef PERL_MAD
759Ap |OP* |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
760#else
aec46f14 761Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
eb8433b7 762#endif
b22e6366
AL
763Apa |OP* |newFOROP |I32 flags|NULLOK char* label|line_t forline \
764 |NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
0d863452 765Apa |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
4048f010 766Apa |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
b22e6366
AL
767Apa |OP* |newLOOPEX |I32 type|NN OP* label
768Apa |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
4373e329 769Apa |OP* |newNULLLIST
f54cb97a
AL
770Apa |OP* |newOP |I32 optype|I32 flags
771Ap |void |newPROG |NN OP* o
b22e6366 772Apa |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
2d03de9c
AL
773Apa |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
774Apa |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
bfce84ec 775Ap |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto|NULLOK OP* block
77004dee
NC
776ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
777 |NN const char *const filename \
778 |NULLOK const char *const proto|U32 flags
4048f010
NC
779Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
780 |NN const char *filename
3bdcbd26 781AmdbR |AV* |newAV
f54cb97a 782Apa |OP* |newAVREF |NN OP* o
bfce84ec 783Apa |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
2d03de9c
AL
784Apa |OP* |newCVREF |I32 flags|NULLOK OP* o
785Apa |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
b22e6366
AL
786Apa |GV* |newGVgen |NN const char* pack
787Apa |OP* |newGVREF |I32 type|NULLOK OP* o
a3b680e6 788ApaR |OP* |newHVREF |NN OP* o
3bdcbd26 789AmdbR |HV* |newHV
4048f010 790ApaR |HV* |newHVhv |NULLOK HV *hv
85dca89a 791Apabm |IO* |newIO
bfce84ec 792Apa |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
392d04bb 793#ifdef USE_ITHREADS
58182927 794Apa |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
392d04bb 795#endif
f54cb97a 796Apa |OP* |newPMOP |I32 type|I32 flags
bfce84ec 797Apa |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
23f13727
SS
798Apa |SV* |newRV |NN SV *const sv
799Apda |SV* |newRV_noinc |NN SV *const sv
2b021c53 800Apda |SV* |newSV |const STRLEN len
f54cb97a
AL
801Apa |OP* |newSVREF |NN OP* o
802Apa |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
23f13727
SS
803Apda |SV* |newSViv |const IV i
804Apda |SV* |newSVuv |const UV u
805Apda |SV* |newSVnv |const NV n
806Apda |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
807Apda |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
808Apda |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
809Apda |SV* |newSVhek |NULLOK const HEK *const hek
2d03de9c 810Apda |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
23f13727
SS
811Afpda |SV* |newSVpvf |NN const char *const pat|...
812Apa |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 813Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
23f13727 814Apda |SV* |newSVsv |NULLOK SV *const old
fe9845cc 815Apda |SV* |newSV_type |const svtype type
2d03de9c 816Apa |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
0d863452 817Apa |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
2d03de9c
AL
818Apa |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
819 |I32 whileline|NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 820 |I32 has_my
f54cb97a 821Apa |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
822Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
823 |NN SV *sv
9f6cc744 824Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 825Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
826 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
827 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 828Apd |SV* |new_version |NN SV *ver
ac0e6a2f 829Apd |SV* |upg_version |NN SV *ver|bool qv
e0218a61 830Apd |bool |vverify |NN SV *vs
2d03de9c
AL
831Apd |SV* |vnumify |NN SV *vs
832Apd |SV* |vnormal |NN SV *vs
833Apd |SV* |vstringify |NN SV *vs
9f6cc744 834Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 835: Used in pp_hot.c and pp_sys.c
2d03de9c 836p |PerlIO*|nextargv |NN GV* gv
04c9e624 837AnpP |char* |ninstr |NN const char* big|NN const char* bigend \
2d03de9c 838 |NN const char* little|NN const char* lend
6472dca1 839Ap |void |op_free |NULLOK OP* arg
67022846 840: Used in perly.y
eb8433b7
NC
841#ifdef PERL_MAD
842p |OP* |package |NN OP* o
843#else
2d03de9c 844p |void |package |NN OP* o
eb8433b7 845#endif
6fa4d285
DG
846: Used in perly.y
847p |void |package_version|NN OP* v
67022846 848: Used in op.c
dd2155a4 849pd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
67022846 850: Used in toke.c and perly.y
d6447115
NC
851p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
852 |const U32 flags
67022846 853: Used in op.c and toke.c
f8f98e0a 854AMpdR |PADOFFSET|pad_findmy |NN const char* name|STRLEN len|U32 flags
e1f795dc 855Ap |PADOFFSET|find_rundefsvoffset |
67022846 856: Used in perly.y
1df70142 857pR |OP* |oopsAV |NN OP* o
67022846 858: Used in perly.y
1df70142 859pR |OP* |oopsHV |NN OP* o
67022846 860: Defined in pad.c, used only in op.c
dd2155a4 861pd |void |pad_leavemy
ed760897 862#ifdef DEBUGGING
dd2155a4 863Apd |SV* |pad_sv |PADOFFSET po
ed760897 864#endif
67022846 865: Defined in pad.c, used only in op.c
dd2155a4 866pd |void |pad_free |PADOFFSET po
efd0b058 867#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
82af08ae
NC
868sd |void |pad_reset
869#endif
67022846 870: Used in op.c
dd2155a4 871pd |void |pad_swipe |PADOFFSET po|bool refadjust
67022846 872: FIXME
2d03de9c 873p |void |peep |NULLOK OP* o
67022846 874: Defined in doio.c, used only in pp_hot.c
4048f010 875dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
59bd0823 876#if defined(USE_REENTRANT_API)
10bc17b6 877Ap |void |reentrant_size
59bd0823 878Ap |void |reentrant_init
10bc17b6 879Ap |void |reentrant_free
4048f010 880Anp |void* |reentrant_retry|NN const char *f|...
59bd0823 881#endif
7827dc65 882Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
4373e329
AL
883Apd |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
884Apd |I32 |call_method |NN const char* methname|I32 flags
885Apd |I32 |call_pv |NN const char* sub_name|I32 flags
8c54174d 886Apd |I32 |call_sv |NN SV* sv|VOL I32 flags
5290524f 887Ap |void |despatch_signals
e4c5ccf3 888Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
4373e329
AL
889Apd |SV* |eval_pv |NN const char* p|I32 croak_on_error
890Apd |I32 |eval_sv |NN SV* sv|I32 flags
64ace3f8 891Apd |SV* |get_sv |NN const char *name|I32 flags
cbfd0a87 892Apd |AV* |get_av |NN const char *name|I32 flags
6673a63c 893Apd |HV* |get_hv |NN const char *name|I32 flags
780a5241
NC
894Apd |CV* |get_cv |NN const char* name|I32 flags
895Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
94bdecf9
JH
896Ap |int |init_i18nl10n |int printwarn
897Ap |int |init_i18nl14n |int printwarn
8772537c
AL
898Ap |void |new_collate |NULLOK const char* newcoll
899Ap |void |new_ctype |NN const char* newctype
900Ap |void |new_numeric |NULLOK const char* newcoll
94bdecf9
JH
901Ap |void |set_numeric_local
902Ap |void |set_numeric_radix
903Ap |void |set_numeric_standard
4373e329 904Apd |void |require_pv |NN const char* pv
2d03de9c
AL
905Apd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
906 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
907Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
908#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
909s |void |pidgone |Pid_t pid|int status
ca0c25f6 910#endif
67022846 911: Used in perly.y
4048f010 912p |OP* |pmruntime |NN OP *o|NN OP *expr|bool isreg
efd0b058 913#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
0d86688d
NC
914s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
915#endif
94bdecf9 916Ap |void |pop_scope
67022846 917: Used in perly.y
2d03de9c 918p |OP* |prepend_elem |I32 optype|NULLOK OP* head|NULLOK OP* tail
94bdecf9 919Ap |void |push_scope
e4c5ccf3 920Amb |OP* |ref |NULLOK OP* o|I32 type
efd0b058 921#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
0d86688d
NC
922s |OP* |refkids |NULLOK OP* o|I32 type
923#endif
097eb12c 924Ap |void |regdump |NN const regexp* r
f7819f85 925Ap |void |regdump |NN const regexp* r
4048f010
NC
926Ap |SV* |regclass_swash |NULLOK const regexp *prog \
927 |NN const struct regnode *node|bool doinit \
928 |NULLOK SV **listsvp|NULLOK SV **altsvp
49d7dfbc 929Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
4373e329
AL
930 |NN char* strend|NN char* strbeg|I32 minend \
931 |NN SV* screamer|U32 nosave
84679df5 932Ap |void |pregfree |NULLOK REGEXP* r
4048f010 933Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 934: FIXME - is anything in re using this now?
f0826785 935EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* ret_x|NN REGEXP* rx
4048f010 936Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 937#if defined(USE_ITHREADS)
49d7dfbc 938Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 939#endif
1593ad57
NC
940Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
941Ap |REGEXP*|re_compile |NN SV * const pattern|U32 flags
49d7dfbc
AB
942Ap |char* |re_intuit_start|NN REGEXP * const rx|NULLOK SV* sv|NN char* strpos \
943 |NN char* strend|const U32 flags \
9f61653a 944 |NULLOK re_scream_pos_data *data
4048f010
NC
945Ap |SV* |re_intuit_string|NN REGEXP *const r
946Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
947 |NN char *strend|NN char *strbeg|I32 minend \
948 |NN SV *sv|NULLOK void *data|U32 flags
8074533a 949ApR |regnode*|regnext |NULLOK regnode* p
93b32b6d 950
192b9cd1
AB
951EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
952 |NULLOK SV * const value|const U32 flags
953EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
954 |const U32 flags
955Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
956Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
957Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
958Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
959Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
960Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 961
d67fec57 962: FIXME - is anything in re using this now?
2fdbfb4d 963EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 964: FIXME - is anything in re using this now?
2fdbfb4d 965EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 966: FIXME - is anything in re using this now?
2fdbfb4d
AB
967EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
968
d67fec57 969: FIXME - is anything in re using this now?
49d7dfbc 970EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 971
67022846 972: FIXME - why the E?
32fc9b6a 973Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o
16fa5c11 974Anp |void |repeatcpy |NN char* to|NN const char* from|I32 len|I32 count
04c9e624 975AnpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 976 |NN const char* little|NN const char* lend
94bdecf9 977Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 978: Used in pp_sys.c
7827dc65 979p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 980: Used in pp_sys.c
9f6cc744 981p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 982Ap |Sighandler_t|rsignal_state|int i
efd0b058 983#if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
9c105995
NC
984s |void |rxres_free |NN void** rsp
985s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
986#endif
987: Used in pp_hot.c
4048f010 988p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 989#if !defined(HAS_RENAME)
67022846 990: Used in pp_sys.c
4373e329 991p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 992#endif
639f6c3d
NC
993Apda |char* |savepv |NULLOK const char* pv
994Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 995Apda |char* |savesharedpv |NULLOK const char* pv
d9095cec 996Apda |char* |savesharedpvn |NN const char *const pv|const STRLEN len
53c1dcc0 997Apda |char* |savesvpv |NN SV* sv
94bdecf9 998Ap |void |savestack_grow
4b3c1a47 999Ap |void |savestack_grow_cnt |I32 need
91d1c79f
VP
1000Amp |void |save_aelem |NN AV* av|I32 idx|NN SV **sptr
1001Ap |void |save_aelem_flags|NN AV* av|I32 idx|NN SV **sptr|const U32 flags
94bdecf9 1002Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1003Ap |void |save_aptr |NN AV** aptr
1004Ap |AV* |save_ary |NN GV* gv
1005Ap |void |save_bool |NN bool* boolp
1006Ap |void |save_clearsv |NN SV** svp
4048f010 1007Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1008Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c68ec7a9 1009Ap |void |save_adelete |NN AV *av|I32 key
7827dc65 1010Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1011Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1012Apmb |void |save_freesv |NULLOK SV* sv
67022846 1013: Used in SAVEFREOP(), used in op.c, pp_ctl.c
2fd8beea
NC
1014pmb |void |save_freeop |NULLOK OP* o
1015Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1016Ap |void |save_generic_svref|NN SV** sptr
1017Ap |void |save_generic_pvref|NN char** str
1018Ap |void |save_shared_pvref|NN char** str
aec46f14
AL
1019Ap |void |save_gp |NN GV* gv|I32 empty
1020Ap |HV* |save_hash |NN GV* gv
da8315f8 1021p |void |save_hints
af7df257
CS
1022Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1023Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1024Ap |void |save_hptr |NN HV** hptr
1025Ap |void |save_I16 |NN I16* intp
1026Ap |void |save_I32 |NN I32* intp
1027Ap |void |save_I8 |NN I8* bytep
1028Ap |void |save_int |NN int* intp
1029Ap |void |save_item |NN SV* item
4048f010 1030Ap |void |save_iv |NN IV *ivp
aec46f14
AL
1031Ap |void |save_list |NN SV** sarg|I32 maxsarg
1032Ap |void |save_long |NN long* longp
2fd8beea 1033Apmb |void |save_mortalizesv|NN SV* sv
3d4dd4c7 1034Ap |void |save_nogv |NN GV* gv
67022846 1035: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
2fd8beea 1036pmb |void |save_op
aec46f14
AL
1037Ap |SV* |save_scalar |NN GV* gv
1038Ap |void |save_pptr |NN char** pptr
4048f010 1039Ap |void |save_vptr |NN void *ptr
94bdecf9 1040Ap |void |save_re_context
09edbca0 1041Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14
AL
1042Ap |void |save_sptr |NN SV** sptr
1043Ap |SV* |save_svref |NN SV** sptr
2fd8beea 1044Ap |void |save_pushptr |NULLOK void *const ptr|const int type
7623d426 1045: Used by SAVECOPARYBASE() in op.c
4f5084fa 1046p |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5
NC
1047: Used by SAVESWITCHSTACK() in pp.c
1048p |void |save_pushptrptr|NULLOK void *const ptr1 \
1049 |NULLOK void *const ptr2|const int type
be84297e
NC
1050#if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
1051s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
1052 |NULLOK void *const ptr2|const int type
1053#endif
67022846 1054: Used in perly.y
aec46f14 1055p |OP* |sawparens |NULLOK OP* o
67022846 1056: Used in perly.y
aec46f14 1057p |OP* |scalar |NULLOK OP* o
efd0b058 1058#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
2dd5337b
NC
1059s |OP* |scalarkids |NULLOK OP* o
1060s |OP* |scalarseq |NULLOK OP* o
1061#endif
67022846 1062: Used in pp_ctl.c
aec46f14
AL
1063p |OP* |scalarvoid |NN OP* o
1064Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1065Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1066Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1067Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
67022846 1068: Used in perly.y
aec46f14
AL
1069p |OP* |scope |NULLOK OP* o
1070Ap |char* |screaminstr |NN SV *bigstr|NN SV *littlestr|I32 start_shift \
9f6cc744 1071 |I32 end_shift|NN I32 *old_posp|I32 last
8226a3d7 1072Apd |void |setdefout |NULLOK GV* gv
aec46f14 1073Ap |HEK* |share_hek |NN const char* str|I32 len|U32 hash
8aad04aa 1074#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1075: Used in perl.c
b6455c53
SR
1076np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1077Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1078#else
94bdecf9 1079np |Signal_t |sighandler |int sig
669f9482 1080Anp |Signal_t |csighandler |int sig
8aad04aa 1081#endif
c48640ec 1082Ap |SV** |stack_grow |NN SV** sp|NN SV** p|int n
0b1558d1 1083Ap |I32 |start_subparse |I32 is_format|U32 flags
67022846 1084: Used in pp_ctl.c
aec46f14 1085p |void |sub_crush_depth|NN CV* cv
7bc54cea 1086Apd |bool |sv_2bool |NN SV *const sv
23f13727
SS
1087Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1088 |const I32 lref
1089Apd |IO* |sv_2io |NN SV *const sv
efd0b058 1090#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
19f6321d 1091s |bool |glob_2number |NN GV* const gv
180488f8 1092#endif
53e85712
NC
1093Amb |IV |sv_2iv |NULLOK SV *sv
1094Apd |IV |sv_2iv_flags |NULLOK SV *const sv|const I32 flags
23f13727 1095Apd |SV* |sv_2mortal |NULLOK SV *const sv
53e85712 1096Apd |NV |sv_2nv |NULLOK SV *const sv
67022846 1097: Used in pp.c, pp_hot.c, sv.c
5de3775c 1098pMd |SV* |sv_2num |NN SV *const sv
53e85712
NC
1099Amb |char* |sv_2pv |NULLOK SV *sv|NULLOK STRLEN *lp
1100Apd |char* |sv_2pv_flags |NULLOK SV *const sv|NULLOK STRLEN *const lp|const I32 flags
7bc54cea 1101Apd |char* |sv_2pvutf8 |NN SV *const sv|NULLOK STRLEN *const lp
5de3775c 1102Apd |char* |sv_2pvbyte |NN SV *const sv|NULLOK STRLEN *const lp
aec46f14 1103Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
53e85712
NC
1104Amb |UV |sv_2uv |NULLOK SV *sv
1105Apd |UV |sv_2uv_flags |NULLOK SV *const sv|const I32 flags
4373e329
AL
1106Apd |IV |sv_iv |NN SV* sv
1107Apd |UV |sv_uv |NN SV* sv
1108Apd |NV |sv_nv |NN SV* sv
4048f010
NC
1109Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1110Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1111Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1112Apd |I32 |sv_true |NULLOK SV *const sv
efd0b058 1113#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
d2bd4e7f
NC
1114sd |void |sv_add_arena |NN char *const ptr|const U32 size \
1115 |const U32 flags
1116#endif
aad570aa 1117Apd |int |sv_backoff |NN SV *const sv
12964ddd 1118Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
66ceb532
SS
1119Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1120Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1121 |NULLOK va_list *const args
2b021c53 1122Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
4048f010
NC
1123Amdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1124Amdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1125Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1126: Used only in perl.c
94bdecf9 1127pd |I32 |sv_clean_all
67022846 1128: Used only in perl.c
94bdecf9 1129pd |void |sv_clean_objs
af828c01 1130Apd |void |sv_clear |NN SV *const sv
ac1e9476
SS
1131Apd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
1132Apd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
94bdecf9 1133#if defined(USE_LOCALE_COLLATE)
ac1e9476 1134Apd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
94bdecf9 1135#endif
4048f010
NC
1136Ap |OP* |sv_compile_2op |NN SV *sv|NN OP **startop \
1137 |NN const char *code|NN PAD **padp
4373e329 1138Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1139Apd |void |sv_dec |NULLOK SV *const sv
f54cb97a 1140Ap |void |sv_dump |NN SV* sv
15f169a1
SS
1141ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
1142ApdR |bool |sv_does |NN SV* sv|NN const char *const name
551405c4 1143Apd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
af828c01 1144Apd |void |sv_free |NULLOK SV *const sv
67022846
NC
1145: FIXME Used in SvREFCNT_dec() but only
1146: if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
af828c01 1147poMX |void |sv_free2 |NN SV *const sv
67022846 1148: Used only in perl.c
94bdecf9 1149pd |void |sv_free_arenas
ac1e9476 1150Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1151Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1152Apd |void |sv_inc |NULLOK SV *const sv
84335ee9
NC
1153Amdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
1154 |const STRLEN len|NN const char *const little \
1155 |const STRLEN littlelen
c0dd94a0
VP
1156Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
1157 |NN const char *const little|const STRLEN littlelen|const U32 flags
12964ddd 1158Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1159Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1160Apd |STRLEN |sv_len |NULLOK SV *const sv
1161Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
2b021c53 1162Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1163 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1164Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1165 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1166 |const I32 namlen
ac1e9476 1167ApdaR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
f54cb97a 1168ApdR |SV* |sv_newmortal
af828c01 1169Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1170Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1171Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1172Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1173 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1174Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
aec46f14 1175Amdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1176Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1177Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1178Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1179Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1180 |NN char* tstr|int tlen
12964ddd 1181ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
af828c01 1182Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1183Apd |void |sv_report_used
23f13727 1184Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
89e38212
SS
1185Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1186Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1187Apd |void |sv_setiv |NN SV *const sv|const IV num
89e38212 1188Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1189Apd |void |sv_setuv |NN SV *const sv|const UV num
1190Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1191Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1192Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1193Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1194Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1195 |NULLOK void *const pv
1196Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1197 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1198Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1199Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
4048f010 1200Amdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
aae9cea0 1201Amdb |void |sv_taint |NN SV* sv
89e38212 1202ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1203Apd |int |sv_unmagic |NN SV *const sv|const int type
174c73e3 1204Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1205Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1206Apd |void |sv_untaint |NN SV *const sv
aad570aa 1207Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1208Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1209Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1210 |const U32 flags
66ceb532
SS
1211Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1212 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1213 |NULLOK bool *const maybe_tainted
1214Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1215 |NULLOK va_list *const args|NULLOK SV **const svargs \
1216 |const I32 svmax|NULLOK bool *const maybe_tainted
aec46f14
AL
1217ApR |NV |str_to_version |NN SV *sv
1218Ap |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
680c470c 1219Ap |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
94bdecf9 1220Ap |void |taint_env
e1c41806 1221Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
9a957fbc 1222Apd |UV |to_utf8_case |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp \
7827dc65 1223 |NN SV **swashp|NN const char *normal|NN const char *special
9a957fbc
AL
1224Apd |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1225Apd |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1226Apd |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1227Apd |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
94bdecf9 1228#if defined(UNLINK_ALL_VERSIONS)
6e732051 1229Ap |I32 |unlnk |NN const char* f
94bdecf9 1230#endif
aec46f14
AL
1231Apd |I32 |unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
1232 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1233 |I32 ocnt|U32 flags
1234Apd |I32 |unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
1235 |NN const char *strend|U32 flags
1236Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1237: Used in gv.c, hv.c
78197f2f 1238p |void |unshare_hek |NULLOK HEK* hek
67022846 1239: Used in perly.y
eb8433b7
NC
1240#ifdef PERL_MAD
1241p |OP * |utilize |int aver|I32 floor|NULLOK OP* version \
1242 |NN OP* idop|NULLOK OP* arg
1243#else
aec46f14 1244p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
eb8433b7 1245#endif
aec46f14
AL
1246Ap |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1247Ap |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
a3b680e6
AL
1248AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
1249ApdPR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
1250ApdPR |U8* |utf8_hop |NN const U8 *s|I32 off
4373e329 1251ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *len
aec46f14
AL
1252ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8
1253ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len
1254Apd |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1255Apd |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
1754c1a1
NC
1256
1257#ifdef EBCDIC
aec46f14 1258Adp |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1
NC
1259#else
1260Adpbm |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1261#endif
1262
aec46f14 1263Adp |UV |utf8n_to_uvuni |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1
NC
1264
1265#ifdef EBCDIC
4373e329 1266Apd |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
1754c1a1
NC
1267#else
1268Apdbm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
1269#endif
1270
038e8d3c 1271Apbm |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
4373e329
AL
1272Ap |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
1273Apd |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1274Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1275ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
d67fec57 1276: Used by Data::Alias
6d9a2efc 1277EXp |void |vivify_defelem |NN SV* sv
67022846 1278: Used in pp.c
aec46f14 1279p |void |vivify_ref |NN SV* sv|U32 to_what
67022846 1280: Used in pp_sys.c
aec46f14 1281p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1282: Used in locale.c and perl.c
7827dc65 1283p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1284Ap |U32 |seed
67022846 1285: Only used in perl.c
890ce7af 1286pR |UV |get_hash_seed
67022846 1287: Used in doio.c, pp_hot.c, pp_sys.c
aec46f14 1288p |void |report_evil_fh |NULLOK const GV *gv|NULLOK const IO *io|I32 op
67022846 1289: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1290XEpd |void |report_uninit |NULLOK const SV *uninit_sv
aec46f14
AL
1291Afpd |void |warn |NN const char* pat|...
1292Ap |void |vwarn |NN const char* pat|NULLOK va_list* args
1293Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1294Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1295Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1296Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
67022846 1297: FIXME
aec46f14
AL
1298p |void |watch |NN char** addr
1299Ap |I32 |whichsig |NN const char* sig
67022846 1300: Used in pp_ctl.c
7d0994e0 1301p |void |write_to_stderr|NN SV* msv
67022846 1302: Used in op.c
15f169a1 1303p |int |yyerror |NN const char *const s
d67fec57 1304: Used in perly.y, and by Data::Alias
6d9a2efc 1305EXp |int |yylex
67022846 1306: Used in perl.c, pp_ctl.c
94bdecf9 1307p |int |yyparse
67022846 1308: Only used in scope.c
734c2451 1309p |void |parser_free |NN const yy_parser *parser
af41e527
NC
1310#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
1311s |int |yywarn |NN const char *const s
1312#endif
94bdecf9 1313#if defined(MYMALLOC)
6e9b0e18 1314Ap |void |dump_mstats |NN const char* s
ec1aec95 1315Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1316#endif
4373e329
AL
1317Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1318Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
1319Anpa |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1320Anp |Free_t |safesysfree |Malloc_t where
94bdecf9
JH
1321#if defined(PERL_GLOBAL_STRUCT)
1322Ap |struct perl_vars *|GetVars
77304e85 1323Ap |struct perl_vars*|init_global_struct
7827dc65 1324Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1325#endif
1326Ap |int |runops_standard
1327Ap |int |runops_debug
66ceb532
SS
1328Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
1329Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
1330 |NULLOK va_list *const args
2b021c53 1331Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 1332Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 1333Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
1334Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
1335Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
1336 |NULLOK va_list *const args
aad570aa 1337Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
89e38212 1338Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
1339Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
1340Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
1341Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
1342Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 1343Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 1344Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 1345ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 1346Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 1347 |STRLEN pvlim
ddc5bc0f 1348Apd |char* |pv_escape |NN SV *dsv|NN char const * const str\
ab3bbdeb
YO
1349 |const STRLEN count|const STRLEN max\
1350 |NULLOK STRLEN * const escaped\
1351 |const U32 flags
ddc5bc0f 1352Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 1353 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
1354 |NULLOK char const * const start_color\
1355 |NULLOK char const * const end_color\
ab3bbdeb 1356 |const U32 flags
aec46f14
AL
1357Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
1358Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
1359 |NULLOK va_list *args
b4390064
NC
1360Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
1361 |NULLOK GV *sv
1362Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
1363 |NULLOK GV *sv
4c31e473
NC
1364Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
1365 |NULLOK HV *sv
aec46f14 1366Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NN const MAGIC *mg|I32 nest \
94bdecf9 1367 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
1368Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
1369Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 1370Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 1371 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 1372Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 1373Ap |void |reginitcolors
cb2f1b7b
NC
1374ApdRmb |char* |sv_2pv_nolen |NN SV* sv
1375ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
1376ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
b64e5050
AL
1377AmdbR |char* |sv_pv |NN SV *sv
1378AmdbR |char* |sv_pvutf8 |NN SV *sv
1379AmdbR |char* |sv_pvbyte |NN SV *sv
1380Amdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 1381Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
7bc54cea
SS
1382ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
1383Apd |void |sv_utf8_encode |NN SV *const sv
1384ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 1385Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 1386Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
94bdecf9 1387Ap |void |tmps_grow |I32 n
2b021c53 1388Apd |SV* |sv_rvweaken |NN SV *const sv
67022846 1389: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 1390p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 1391Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
aec46f14 1392Ap |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
eb8433b7
NC
1393#ifdef PERL_MAD
1394Apr |OP * |newMYSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto \
1395 |NULLOK OP *attrs|NULLOK OP *block
1396#else
46c461b5 1397Apr |void |newMYSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
eb8433b7 1398#endif
67022846 1399: Used in perly.y
46c461b5 1400p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 1401#if defined(USE_ITHREADS)
6c047da7
YST
1402ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
1403ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
aec46f14 1404Apa |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
1405ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
1406ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
1407ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
1408Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
1409 |NN CLONE_PARAMS* param
66ceb532
SS
1410Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
1411ApR |DIR* |dirp_dup |NULLOK DIR *const dp
1412ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 1413ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
538f2e76
NC
1414#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
1415s |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
1416 |SSize_t items|NN CLONE_PARAMS *const param
1417#endif
1eb6e4ca
SS
1418ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
1419Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 1420Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 1421#endif
53c1dcc0 1422Apa |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
1423ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
1424Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1425 |NN void *const newsv
1426Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 1427ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 1428Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
4674ade5 1429#if defined(USE_ITHREADS)
504618e9
AL
1430# if defined(HAVE_INTERP_INTERN)
1431Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
ddacffcf
SH
1432# endif
1433#endif
1434#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
1435Ap |void |sys_intern_clear
1436Ap |void |sys_intern_init
1437#endif
1438
4048f010
NC
1439ApR |const char * |custom_op_name |NN const OP *o
1440ApR |const char * |custom_op_desc |NN const OP *o
94bdecf9 1441
c48640ec
AL
1442Adp |void |sv_nosharing |NULLOK SV *sv
1443Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 1444Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 1445#ifdef NO_MATHOMS
c48640ec 1446Adpbm |void |sv_nounlocking |NULLOK SV *sv
d0647d4e
NC
1447#else
1448Adpb |void |sv_nounlocking |NULLOK SV *sv
1449#endif
62375a60 1450Adp |int |nothreadhook
94bdecf9
JH
1451
1452END_EXTERN_C
1453
94bdecf9 1454#if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
c395bd6c
AL
1455sR |I32 |do_trans_simple |NN SV * const sv
1456sR |I32 |do_trans_count |NN SV * const sv
1457sR |I32 |do_trans_complex |NN SV * const sv
1458sR |I32 |do_trans_simple_utf8 |NN SV * const sv
1459sR |I32 |do_trans_count_utf8 |NN SV * const sv
1460sR |I32 |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
1461#endif
1462
1463#if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
fe9845cc 1464s |void |gv_init_sv |NN GV *gv|const svtype sv_type
7d3b1f61 1465s |HV* |gv_get_super_pkg|NN const char* name|I32 namelen
44a2ac75
YO
1466s |HV* |require_tie_mod|NN GV *gv|NN const char *varpv|NN SV* namesv \
1467 |NN const char *methpv|const U32 flags
94bdecf9
JH
1468#endif
1469
5e258f8c 1470: #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
67022846 1471: Used in hv.c
e5973ed5 1472paRxoM |void* |get_arena |const size_t arenasize |const svtype bodytype
5e258f8c
JC
1473: #endif
1474
94bdecf9 1475#if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
53c1dcc0 1476s |void |hsplit |NN HV *hv
3abe233e 1477s |void |hfreeentries |NN HV *hv
6eb667c6 1478s |I32 |anonymise_cv |NULLOK HEK *stash|NN SV *val
53c1dcc0 1479sa |HE* |new_he
5f66b61c 1480sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 1481sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 1482s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
4048f010 1483sR |HEK* |share_hek_flags|NN const char *str|I32 len|U32 hash|int flags
1df70142 1484rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
db93dab8 1485sn |struct xpvhv_aux*|hv_auxinit|NN HV *hv
4048f010
NC
1486sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
1487 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
1488 |U32 hash
1489sM |void |clear_placeholders |NN HV *hv|U32 items
7b0bddfa 1490sM |SV * |refcounted_he_value |NN const struct refcounted_he *he
94bdecf9
JH
1491#endif
1492
1493#if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
504618e9 1494s |void |save_magic |I32 mgs_ix|NN SV *sv
efaf3674
DM
1495-s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN const char *meth
1496s |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
c7a0c747 1497 |NN const char *meth|U32 flags \
aec46f14 1498 |int n|NULLOK SV *val
251cc6a6 1499s |void |restore_magic |NULLOK const void *p
8772537c
AL
1500s |void |unwind_handler_stack|NN const void *p
1501
94bdecf9
JH
1502#endif
1503
1504#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
67022846 1505: These are all indirectly referenced by globals.c. This is somewhat annoying.
1cf743e1
RGS
1506pR |OP* |ck_anoncode |NN OP *o
1507pR |OP* |ck_bitop |NN OP *o
1508pR |OP* |ck_concat |NN OP *o
1509pR |OP* |ck_defined |NN OP *o
1510pR |OP* |ck_delete |NN OP *o
1511pR |OP* |ck_die |NN OP *o
1512pR |OP* |ck_eof |NN OP *o
1513pR |OP* |ck_eval |NN OP *o
1514pR |OP* |ck_exec |NN OP *o
1515pR |OP* |ck_exists |NN OP *o
1516pR |OP* |ck_exit |NN OP *o
1517pR |OP* |ck_ftst |NN OP *o
1518pR |OP* |ck_fun |NN OP *o
1519pR |OP* |ck_glob |NN OP *o
1520pR |OP* |ck_grep |NN OP *o
1521pR |OP* |ck_index |NN OP *o
1522pR |OP* |ck_join |NN OP *o
1cf743e1
RGS
1523pR |OP* |ck_lfun |NN OP *o
1524pR |OP* |ck_listiob |NN OP *o
1525pR |OP* |ck_match |NN OP *o
1526pR |OP* |ck_method |NN OP *o
1527pR |OP* |ck_null |NN OP *o
1528pR |OP* |ck_open |NN OP *o
e4b7ebf3 1529pR |OP* |ck_readline |NN OP *o
1cf743e1
RGS
1530pR |OP* |ck_repeat |NN OP *o
1531pR |OP* |ck_require |NN OP *o
1cf743e1
RGS
1532pR |OP* |ck_return |NN OP *o
1533pR |OP* |ck_rfun |NN OP *o
1534pR |OP* |ck_rvconst |NN OP *o
1535pR |OP* |ck_sassign |NN OP *o
1536pR |OP* |ck_select |NN OP *o
1537pR |OP* |ck_shift |NN OP *o
1538pR |OP* |ck_sort |NN OP *o
1539pR |OP* |ck_spair |NN OP *o
1540pR |OP* |ck_split |NN OP *o
1541pR |OP* |ck_subr |NN OP *o
1542pR |OP* |ck_substr |NN OP *o
1543pR |OP* |ck_svconst |NN OP *o
1544pR |OP* |ck_trunc |NN OP *o
1545pR |OP* |ck_unpack |NN OP *o
878d132a 1546pR |OP* |ck_each |NN OP *o
5f66b61c 1547sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
aec46f14 1548sR |I32 |is_list_assignment|NULLOK const OP *o
c4bd3ae5
NC
1549# ifdef USE_ITHREADS
1550so |void |forget_pmop |NN PMOP *const o|U32 flags
1551# else
1552so |void |forget_pmop |NN PMOP *const o
1553# endif
bfd0ff22 1554s |void |find_and_forget_pmops |NN OP *o
504618e9 1555s |void |cop_free |NN COP *cop
46c461b5 1556s |OP* |modkids |NULLOK OP *o|I32 type
504618e9
AL
1557s |OP* |scalarboolean |NN OP *o
1558sR |OP* |newDEFSVOP
71c4dbc3 1559sR |OP* |search_const |NN OP *o
504618e9
AL
1560sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
1561s |void |simplify_sort |NN OP *o
aec46f14 1562s |const char* |gv_ename |NN GV *gv
5f66b61c 1563sRn |bool |scalar_mod_type|NN const OP *o|I32 type
aec46f14
AL
1564s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
1565s |OP * |dup_attrlist |NN OP *o
1566s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs|bool for_my
1567s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
504618e9
AL
1568s |void |bad_type |I32 n|NN const char *t|NN const char *name|NN const OP *kid
1569s |void |no_bareword_allowed|NN const OP *o
1570sR |OP* |no_fh_allowed|NN OP *o
1571sR |OP* |too_few_arguments|NN OP *o|NN const char* name
1572sR |OP* |too_many_arguments|NN OP *o|NN const char* name
ef519e13 1573s |bool |looks_like_bool|NN const OP* o
0d863452
RH
1574s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
1575 |I32 enter_opcode|I32 leave_opcode \
1576 |PADOFFSET entertarg
1577s |OP* |ref_array_or_hash|NULLOK OP* cond
33fb7a6e
NC
1578s |void |process_special_blocks |NN const char *const fullname\
1579 |NN GV *const gv|NN CV *const cv
c7e45529
AE
1580#endif
1581#if defined(PL_OP_SLAB_ALLOC)
e91d68d5 1582Apa |void* |Slab_Alloc |size_t sz
aec46f14 1583Ap |void |Slab_Free |NN void *op
f1fac472 1584# if defined(PERL_DEBUG_READONLY_OPS)
67022846 1585: Used in perl.c
f1fac472 1586poxM |void |pending_Slabs_to_ro
67022846 1587: Used in OpREFCNT_inc() in sv.c
fc97af9c 1588poxM |OP * |op_refcnt_inc |NULLOK OP *o
67022846 1589: FIXME - can be static.
fc97af9c 1590poxM |PADOFFSET |op_refcnt_dec |NN OP *o
f1fac472
NC
1591# if defined(PERL_IN_OP_C)
1592s |void |Slab_to_rw |NN void *op
1593# endif
1594# endif
94bdecf9
JH
1595#endif
1596
1597#if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
2f9285f8 1598s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 1599s |void |forbid_setid |const char flag|const bool suidscript
08d0d8ab 1600s |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 1601 |U32 flags
50d61629 1602s |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
94bdecf9
JH
1603s |void |init_interp
1604s |void |init_ids
94bdecf9 1605s |void |init_main_stash
2cace6ac 1606s |void |init_perllib
aec46f14 1607s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
1608s |void |init_predump_symbols
1609rs |void |my_exit_jump
1610s |void |nuke_stacks
cdd8118e 1611s |int |open_script |NN const char *scriptname|bool dosearch \
f20b2998 1612 |NN bool *suidscript|NN PerlIO **rsfpp
aec46f14 1613s |void |usage |NN const char *name
cc69b689 1614#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
ec2019ad 1615so |void |validate_suid |NN PerlIO *rsfp
ec2019ad 1616#endif
2f9285f8 1617
aec46f14 1618s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 1619rs |void |run_body |I32 oldscope
7ffdaae6 1620s |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
94bdecf9
JH
1621#endif
1622
1623#if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)
7332a6c4 1624s |OP* |do_delete_local
aec46f14 1625sR |SV* |refto |NN SV* sv
94bdecf9 1626#endif
dc3c76f8 1627#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
67022846 1628: Used in pp_hot.c
dc3c76f8 1629pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 1630 |const svtype type|NN SV ***spp
dc3c76f8 1631#endif
94bdecf9
JH
1632
1633#if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT)
aec46f14
AL
1634s |I32 |unpack_rec |NN struct tempsym* symptr|NN const char *s \
1635 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
1636s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329
AL
1637s |SV* |mul128 |NN SV *sv|U8 m
1638s |I32 |measure_struct |NN struct tempsym* symptr
1639s |bool |next_symbol |NN struct tempsym* symptr
1df70142 1640sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 1641s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
1642s |const char *|group_end |NN const char *patptr|NN const char *patend \
1643 |char ender
1644sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
aec46f14
AL
1645ns |bool |need_utf8 |NN const char *pat|NN const char *patend
1646ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 1647sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
14333449 1648snR |char * |bytes_to_uni |NN const U8 *start|STRLEN len|NN char *dest
94bdecf9
JH
1649#endif
1650
1651#if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
46c461b5 1652sR |OP* |docatch |NULLOK OP *o
aec46f14
AL
1653sR |OP* |dofindlabel |NN OP *o|NN const char *label|NN OP **opstack|NN OP **oplimit
1654sR |OP* |doparseform |NN SV *sv
901017d6
AL
1655snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
1656sR |I32 |dopoptoeval |I32 startingblock
0d863452 1657sR |I32 |dopoptogiven |I32 startingblock
901017d6
AL
1658sR |I32 |dopoptolabel |NN const char *label
1659sR |I32 |dopoptoloop |I32 startingblock
aec46f14 1660sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
0d863452 1661sR |I32 |dopoptowhen |I32 startingblock
46c461b5 1662s |void |save_lines |NULLOK AV *array|NN SV *sv
410be5db 1663s |bool |doeval |int gimme|NULLOK OP** startop|NULLOK CV* outside|U32 seq
0786552a 1664sR |PerlIO *|check_type_and_open|NN const char *name
75c20bac 1665#ifndef PERL_DISABLE_PMC
0786552a 1666sR |PerlIO *|doopen_pm |NN const char *name|const STRLEN namelen
75c20bac 1667#endif
5f66b61c 1668sRn |bool |path_is_absolute|NN const char *name
0bd48802 1669sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
84679df5 1670sR |PMOP* |make_matcher |NN REGEXP* re
0d863452
RH
1671sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
1672s |void |destroy_matcher|NN PMOP* matcher
1673s |OP* |do_smartmatch |NULLOK HV* seen_this|NULLOK HV* seen_other
94bdecf9
JH
1674#endif
1675
1676#if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
a28509cc 1677s |void |do_oddball |NN HV *hash|NN SV **relem|NN SV **firstrelem
46c461b5 1678sR |SV* |method_common |NN SV* meth|NULLOK U32* hashp
94bdecf9
JH
1679#endif
1680
f0f5dc9d 1681#if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT)
31e9e0a3
SH
1682s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
1683s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
1684s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
1685s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
1686s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
1687s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
1688s |I32 |sortcv |NN SV *const a|NN SV *const b
1689s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
1690s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
3d4dd4c7 1691s |void |qsortsvu |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t compare
f0f5dc9d
AL
1692#endif
1693
94bdecf9 1694#if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT)
b464bac0 1695s |OP* |doform |NN CV *cv|NN GV *gv|NN OP *retop
94bdecf9 1696# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 1697sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 1698# endif
5cdc4e88 1699s |SV * |space_join_names_mortal|NN char *const *array
94bdecf9
JH
1700#endif
1701
1702#if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)
4048f010
NC
1703Es |regnode*|reg |NN struct RExC_state_t *pRExC_state \
1704 |I32 paren|NN I32 *flagp|U32 depth
1705Es |regnode*|reganode |NN struct RExC_state_t *pRExC_state|U8 op \
1706 |U32 arg
1707Es |regnode*|regatom |NN struct RExC_state_t *pRExC_state \
1708 |NN I32 *flagp|U32 depth
1709Es |regnode*|regbranch |NN struct RExC_state_t *pRExC_state \
1710 |NN I32 *flagp|I32 first|U32 depth
1711Es |STRLEN |reguni |NN const struct RExC_state_t *pRExC_state \
1712 |UV uv|NN char *s
1713Es |regnode*|regclass |NN struct RExC_state_t *pRExC_state|U32 depth
4048f010 1714Es |regnode*|reg_node |NN struct RExC_state_t *pRExC_state|U8 op
c86f7df5 1715Es |UV |reg_recode |const char value|NN SV **encp
4048f010
NC
1716Es |regnode*|regpiece |NN struct RExC_state_t *pRExC_state \
1717 |NN I32 *flagp|U32 depth
1718Es |regnode*|reg_namedseq |NN struct RExC_state_t *pRExC_state \
afefe6bf 1719 |NULLOK UV *valuep|NULLOK I32 *flagp
4048f010
NC
1720Es |void |reginsert |NN struct RExC_state_t *pRExC_state \
1721 |U8 op|NN regnode *opnd|U32 depth
1722Es |void |regtail |NN struct RExC_state_t *pRExC_state \
1723 |NN regnode *p|NN const regnode *val|U32 depth
1724Es |SV * |reg_scan_name |NN struct RExC_state_t *pRExC_state \
1725 |U32 flags
1726Es |U32 |join_exact |NN struct RExC_state_t *pRExC_state \
1727 |NN regnode *scan|NN I32 *min|U32 flags|NULLOK regnode *val|U32 depth
1728EsRn |char * |regwhite |NN struct RExC_state_t *pRExC_state \
1729 |NN char *p
1730Es |char * |nextchar |NN struct RExC_state_t *pRExC_state
1731Es |bool |reg_skipcomment|NN struct RExC_state_t *pRExC_state
1732Es |void |scan_commit |NN const struct RExC_state_t *pRExC_state \
1733 |NN struct scan_data_t *data|NN I32 *minlenp \
1734 |int is_inf
1735Esn |void |cl_anything |NN const struct RExC_state_t *pRExC_state \
1736 |NN struct regnode_charclass_class *cl
5f66b61c 1737EsRn |int |cl_is_anything |NN const struct regnode_charclass_class *cl
4048f010
NC
1738Esn |void |cl_init |NN const struct RExC_state_t *pRExC_state \
1739 |NN struct regnode_charclass_class *cl
1740Esn |void |cl_init_zero |NN const struct RExC_state_t *pRExC_state \
1741 |NN struct regnode_charclass_class *cl
5f66b61c 1742Esn |void |cl_and |NN struct regnode_charclass_class *cl \
46c461b5 1743 |NN const struct regnode_charclass_class *and_with
4048f010
NC
1744Esn |void |cl_or |NN const struct RExC_state_t *pRExC_state \
1745 |NN struct regnode_charclass_class *cl \
a28509cc 1746 |NN const struct regnode_charclass_class *or_with
4048f010
NC
1747Es |I32 |study_chunk |NN struct RExC_state_t *pRExC_state \
1748 |NN regnode **scanp|NN I32 *minlenp \
1749 |NN I32 *deltap|NN regnode *last \
1750 |NULLOK struct scan_data_t *data \
40d049e4
YO
1751 |I32 stopparen|NULLOK U8* recursed \
1752 |NULLOK struct regnode_charclass_class *and_withp \
a3621e74 1753 |U32 flags|U32 depth
4048f010
NC
1754EsRn |U32 |add_data |NN struct RExC_state_t *pRExC_state|U32 n \
1755 |NN const char *s
46c461b5 1756rs |void |re_croak2 |NN const char* pat1|NN const char* pat2|...
4048f010
NC
1757Es |I32 |regpposixcc |NN struct RExC_state_t *pRExC_state|I32 value
1758Es |void |checkposixcc |NN struct RExC_state_t *pRExC_state
1759Es |I32 |make_trie |NN struct RExC_state_t *pRExC_state \
1760 |NN regnode *startbranch|NN regnode *first \
1761 |NN regnode *last|NN regnode *tail \
786e8c11 1762 |U32 word_count|U32 flags|U32 depth
4048f010
NC
1763Es |void |make_trie_failtable |NN struct RExC_state_t *pRExC_state \
1764 |NN regnode *source|NN regnode *stclass \
1765 |U32 depth
3dab1dad 1766# ifdef DEBUGGING
f7819f85 1767Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
1768Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
1769 |NN const regnode *node \
786e8c11
YO
1770 |NULLOK const regnode *last \
1771 |NULLOK const regnode *plast \
1772 |NN SV* sv|I32 indent|U32 depth
3dab1dad 1773Es |void |put_byte |NN SV* sv|int c
55eed653 1774Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
1775 |NULLOK HV* widecharmap|NN AV *revcharmap\
1776 |U32 depth
55eed653 1777Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
1778 |NULLOK HV* widecharmap|NN AV *revcharmap\
1779 |U32 next_alloc|U32 depth
55eed653 1780Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
1781 |NULLOK HV* widecharmap|NN AV *revcharmap\
1782 |U32 next_alloc|U32 depth
4048f010
NC
1783Es |U8 |regtail_study |NN struct RExC_state_t *pRExC_state \
1784 |NN regnode *p|NN const regnode *val|U32 depth
3dab1dad 1785# endif
94bdecf9
JH
1786#endif
1787
1788#if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)
24b23f37 1789ERs |I32 |regmatch |NN regmatch_info *reginfo|NN regnode *prog
e2e6a0f1 1790ERs |I32 |regrepeat |NN const regexp *prog|NN const regnode *p|I32 max|int depth
24b23f37 1791ERs |I32 |regtry |NN regmatch_info *reginfo|NN char **startpos
32fc9b6a 1792ERs |bool |reginclass |NULLOK const regexp *prog|NN const regnode *n|NN const U8 *p|NULLOK STRLEN *lenp\
46c461b5 1793 |bool do_utf8sv_is_utf8
de37762f 1794Es |CHECKPOINT|regcppush |I32 parenfloor
097eb12c 1795Es |char* |regcppop |NN const regexp *rex
4048f010 1796ERsn |U8* |reghop3 |NN U8 *s|I32 off|NN const U8 *lim
f9f4320a 1797#ifdef XXX_dmq
4048f010
NC
1798ERsn |U8* |reghop4 |NN U8 *s|I32 off|NN const U8 *llim \
1799 |NN const U8 *rlim
f9f4320a 1800#endif
4048f010 1801ERsn |U8* |reghopmaybe3 |NN U8 *s|I32 off|NN const U8 *lim
24b23f37 1802ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c|NN char *s|NN const char *strend|NULLOK regmatch_info *reginfo
a3b680e6
AL
1803Es |void |to_utf8_substr |NN regexp * prog
1804Es |void |to_byte_substr |NN regexp * prog
4048f010
NC
1805ERs |I32 |reg_check_named_buff_matched |NN const regexp *rex \
1806 |NN const regnode *scan
07be1b83 1807# ifdef DEBUGGING
786e8c11
YO
1808Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
1809 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8
efd26800
NC
1810Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
1811 |NN const char *start|NN const char *end\
1812 |NN const char *blurb
07be1b83 1813# endif
94bdecf9
JH
1814#endif
1815
1816#if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
2cedf74c 1817s |CV* |deb_curcv |const I32 ix
46c461b5 1818s |void |debprof |NN const OP *o
0bd48802 1819s |void |sequence |NULLOK const OP *o
294b3b39 1820s |void |sequence_tail |NULLOK const OP *o
0bd48802 1821s |UV |sequence_num |NULLOK const OP *o
4199688e 1822s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
1823#endif
1824
1825#if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
af7df257 1826s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
1827#endif
1828
e15faf7d 1829#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
67022846 1830: Used in gv.c
2b021c53 1831po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
1832#endif
1833
86f55936 1834#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
67022846 1835: Used in hv.c and mg.c
2b021c53 1836poM |int |sv_kill_backrefs |NN SV *const sv|NN AV *const av
86f55936
NC
1837#endif
1838
94bdecf9 1839#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5de3775c 1840nsR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
89e38212 1841s |void |sv_unglob |NN SV *const sv
aad570aa 1842s |void |not_a_number |NN SV *const sv
de37a194 1843s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
2b021c53 1844s |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
6c1b357c
NC
1845sR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
1846 |PADOFFSET targ|NULLOK const SV *const keyname \
1847 |I32 aindex|int subscript_type
94bdecf9 1848# ifdef DEBUGGING
46c461b5 1849s |void |del_sv |NN SV *p
94bdecf9
JH
1850# endif
1851# if !defined(NV_PRESERVES_UV)
47031da6 1852# ifdef DEBUGGING
5de3775c 1853s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 1854# else
5de3775c 1855s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 1856# endif
94bdecf9 1857# endif
66ceb532 1858sR |I32 |expect_number |NN char **const pattern
94bdecf9 1859#
721e86b6 1860sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
25a8a4ef 1861 |NN const U8 *const send|STRLEN uoffset
721e86b6 1862sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
af828c01
SS
1863 |NN const U8 *send|const STRLEN uoffset|const STRLEN uend
1864s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 1865 |NN const U8 *const start|NN const U8 *const send \
af828c01 1866 |const STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ac1e9476
SS
1867s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
1868 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
1869s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 1870 |NN const U8 *end|STRLEN endu
66ceb532 1871sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 1872# if defined(PERL_OLD_COPY_ON_WRITE)
5302ffd4 1873sM |void |sv_release_COW |NN SV *sv|NN const char *pvx|NN SV *after
5f66b61c
AL
1874# endif
1875s |SV * |more_sv
de37a194 1876s |void * |more_bodies |const svtype sv_type
5de3775c 1877s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
1878s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
1879 |const int dtype
1880s |void |glob_assign_ref|NN SV *const dstr|NN SV *const sstr
1eb6e4ca 1881sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
94bdecf9
JH
1882#endif
1883
1884#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
1885s |void |check_uni
1886s |void |force_next |I32 type
4048f010 1887s |char* |force_version |NN char *s|int guessing
91152fc1 1888s |char* |force_strict_version |NN char *s
46c461b5 1889s |char* |force_word |NN char *start|int token|int check_keyword \
94bdecf9 1890 |int allow_pack|int allow_tick
46c461b5 1891s |SV* |tokeq |NN SV *sv
1d51329b 1892s |void |readpipe_override|
46c461b5
AL
1893sR |char* |scan_const |NN char *start
1894sR |char* |scan_formline |NN char *s
1895sR |char* |scan_heredoc |NN char *s
f54cb97a 1896s |char* |scan_ident |NN char *s|NN const char *send|NN char *dest \
94bdecf9 1897 |STRLEN destlen|I32 ck_uni
46c461b5
AL
1898sR |char* |scan_inputsymbol|NN char *start
1899sR |char* |scan_pat |NN char *start|I32 type
1900sR |char* |scan_str |NN char *start|int keep_quoted|int keep_delims
1901sR |char* |scan_subst |NN char *start
1902sR |char* |scan_trans |NN char *start
1903s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
1904 |int allow_package|NN STRLEN *slp
5fa550fb 1905s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 1906 |NULLOK const char *const buf|STRLEN len
46c461b5
AL
1907sR |char* |skipspace |NN char *s
1908sR |char* |swallow_bom |NN U8 *s
a28af015
NC
1909#ifndef PERL_NO_UTF16_FILTER
1910s |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
81a923f4 1911s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 1912#endif
c94115d8
NC
1913s |void |checkcomma |NN const char *s|NN const char *name \
1914 |NN const char *what
15f169a1 1915s |bool |feature_is_enabled|NN const char *const name|STRLEN namelen
46c461b5 1916s |void |force_ident |NN const char *s|int kind
d9095cec 1917s |void |incline |NN const char *s
62d55b22 1918s |int |intuit_method |NN char *s|NULLOK GV *gv|NULLOK CV *cv
46c461b5
AL
1919s |int |intuit_more |NN char *s
1920s |I32 |lop |I32 f|int x|NN char *s
1921rs |void |missingterm |NULLOK char *s
15f169a1 1922s |void |no_op |NN const char *const what|NULLOK char *s
46c461b5
AL
1923sR |I32 |sublex_done
1924sR |I32 |sublex_push
1925sR |I32 |sublex_start
5cc814fd 1926sR |char * |filter_gets |NN SV *sv|STRLEN append
9bde8eb0 1927sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 1928sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
1929so |SV* |new_constant |NULLOK const char *s|STRLEN len \
1930 |NN const char *key|STRLEN keylen|NN SV *sv \
1931 |NULLOK SV *pv|NULLOK const char *type \
1932 |STRLEN typelen
8290c323 1933s |int |deprecate_commaless_var_list
94bdecf9 1934s |int |ao |int toketype
94bdecf9 1935# if defined(PERL_CR_FILTER)
9d4ba2ae 1936s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 1937s |void |strip_return |NN SV *sv
94bdecf9 1938# endif
c445ea15 1939# if defined(DEBUGGING)
704d4215 1940s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
83f99444 1941s |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 1942# endif
94bdecf9
JH
1943#endif
1944
1945#if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
d43aa7f9 1946s |bool|isa_lookup |NN HV *stash|NN const char * const name
4ba0c762 1947so |HV * |get_isa_hash |NN HV *const stash
94bdecf9
JH
1948#endif
1949
1950#if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
27da23d5 1951#if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE)
8772537c 1952s |char* |stdize_locale |NN char* locs
94bdecf9 1953#endif
27da23d5 1954#endif
94bdecf9
JH
1955
1956#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
5f66b61c 1957s |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o
94bdecf9 1958s |SV* |mess_alloc
7d0994e0
GG
1959s |SV *|vdie_croak_common|NULLOK const char *pat|NULLOK va_list *args
1960s |bool |vdie_common |NULLOK SV *message|bool warn
0bd48802 1961sr |char * |write_no_mem
73d1d973 1962#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
0b0ab801 1963sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 1964 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
1965 |Malloc_t oldalloc|Malloc_t newalloc \
1966 |NN const char *filename|const int linenumber \
1967 |NN const char *funcname
1968#endif
94bdecf9
JH
1969#endif
1970
4801ca72
JH
1971#if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT)
1972sn |NV|mulexp10 |NV value|I32 exponent
1973#endif
1974
646ca15d 1975#if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT)
5f66b61c 1976sRn |STRLEN |is_utf8_char_slow|NN const U8 *s|const STRLEN len
979f2922
ST
1977sR |bool |is_utf8_common |NN const U8 *const p|NN SV **swash|NN const char * const swashname
1978sR |SV* |swash_get |NN SV* swash|UV start|UV span
646ca15d
JH
1979#endif
1980
94bdecf9
JH
1981START_EXTERN_C
1982
7bc54cea 1983Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
1984Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
1985 |const I32 flags
1986Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 1987Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 1988Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 1989Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
5de3775c 1990Apd |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
4373e329 1991Ap |char* |my_atof2 |NN const char *s|NN NV* value
94bdecf9 1992Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
08ea85eb 1993Ap |int |my_dirfd |NULLOK DIR* dir
f8c7b90f 1994#ifdef PERL_OLD_COPY_ON_WRITE
67022846 1995: Used in pp_hot.c and regexec.c
7536ed57 1996pMXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 1997#endif
94bdecf9 1998
d070ff45 1999Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2000
94bdecf9 2001#if defined(USE_PERLIO) && !defined(USE_SFIO)
46c461b5
AL
2002Ap |int |PerlIO_close |NULLOK PerlIO *f
2003Ap |int |PerlIO_fill |NULLOK PerlIO *f
2004Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2005Ap |int |PerlIO_eof |NULLOK PerlIO *f
2006Ap |int |PerlIO_error |NULLOK PerlIO *f
2007Ap |int |PerlIO_flush |NULLOK PerlIO *f
2008Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
2009Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|int cnt
3d4dd4c7
NC
2010Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
2011 |int cnt
46c461b5 2012Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2013Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2014 |Size_t count
2015Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2016 |Size_t count
2017Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2018 |Size_t count
46c461b5
AL
2019Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2020Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
94bdecf9 2021
46c461b5
AL
2022Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2023Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
2024ApR |int |PerlIO_get_bufsiz |NULLOK PerlIO *f
2025ApR |int |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2026
46c461b5
AL
2027ApR |PerlIO *|PerlIO_stdin
2028ApR |PerlIO *|PerlIO_stdout
2029ApR |PerlIO *|PerlIO_stderr
94bdecf9
JH
2030#endif /* PERLIO_LAYERS */
2031
67022846 2032: Only used in dump.c
d6721266 2033p |void |deb_stack_all
efd0b058 2034#if defined(PERL_IN_DEB_C) || defined(PERL_DECL_PROT)
b64e5050 2035s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2036 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2037#endif
2038
67022846 2039: Used in perl.c, pp_ctl.c, toke.c
66a1b24b 2040pda |PADLIST*|pad_new |int flags
67022846 2041: Only used in op.c
b64e5050 2042pd |void |pad_undef |NN CV* cv
67022846 2043: Only used in op.c
cca43f78
NC
2044Mpd |PADOFFSET|pad_add_name |NN const char *name|const STRLEN len\
2045 |const U32 flags|NULLOK HV *typestash\
2046 |NULLOK HV *ourstash
67022846 2047: Only used in op.c
b64e5050 2048pd |PADOFFSET|pad_add_anon |NN SV* sv|OPCODE op_type
73b81b14 2049#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
2d12d04f
NC
2050sd |void |pad_check_dup |NN SV *name|const U32 flags \
2051 |NULLOK const HV *ourstash
73b81b14 2052#endif
dd2155a4 2053#ifdef DEBUGGING
67022846 2054: Only used PAD_SETSV() in op.c
66a1b24b 2055pd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4 2056#endif
67022846 2057: Only used in op.c
dd2155a4 2058pd |void |pad_block_start|int full
67022846 2059: Only used in op.c
dd2155a4 2060pd |void |pad_tidy |padtidy_type type
67022846 2061: Used in dump.c
b64e5050 2062pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
67022846 2063: Only used in op.c
46c461b5 2064pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
dd2155a4 2065
67022846 2066: Used in pp_ctl.c, pp_hot.c, pp_sort.c
9850bf21 2067pdX |void |pad_push |NN PADLIST *padlist|int depth
67022846 2068: Only used in PAD_COMPNAME_TYPE() in op.c
901017d6 2069pR |HV* |pad_compname_type|const PADOFFSET po
dd2155a4
DM
2070
2071#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
282e1742 2072sd |PADOFFSET|pad_findlex |NN const char *name|NN const CV* cv|U32 seq|int warn \
b64e5050
AL
2073 |NULLOK SV** out_capture|NN SV** out_name_sv \
2074 |NN int *out_flags
3291825f
NC
2075s |PADOFFSET|pad_add_name_sv|NN SV *namesv|const U32 flags \
2076 |NULLOK HV *typestash|NULLOK HV *ourstash
dd2155a4 2077# if defined(DEBUGGING)
66a1b24b 2078sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 2079# endif
dd2155a4 2080#endif
daad78fc 2081ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
67022846 2082: Only used in perl.c
dd28f7bb 2083p |void |free_tied_hv_pool
b4ab917c 2084#if defined(DEBUGGING)
67022846 2085: Used in mg.c
46c461b5 2086pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 2087#endif
4048f010 2088Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 2089#ifdef DEBUGGING
4048f010 2090Apod |void |hv_assert |NN HV *hv
ed760897 2091#endif
d6721266 2092
4048f010
NC
2093ApdR |SV* |hv_scalar |NN HV *hv
2094ApoR |I32* |hv_riter_p |NN HV *hv
2095ApoR |HE** |hv_eiter_p |NN HV *hv
2096Apo |void |hv_riter_set |NN HV *hv|I32 riter
2097Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
2098Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
67022846 2099: Used in dump.c and hv.c
4048f010 2100poM |AV** |hv_backreferences_p |NN HV *hv
86f55936 2101#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
67022846 2102: Only used in sv.c
4048f010 2103poM |void |hv_kill_backrefs |NN HV *hv
86f55936 2104#endif
4048f010
NC
2105Apd |void |hv_clear_placeholders |NN HV *hv
2106ApoR |I32* |hv_placeholders_p |NN HV *hv
0c289d13 2107ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 2108Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 2109
67022846 2110: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 2111p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d
JH
2112
2113#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6c1b357c
NC
2114s |SV * |find_hash_subscript|NULLOK const HV *const hv \
2115 |NN const SV *const val
2116s |I32 |find_array_subscript|NULLOK const AV *const av \
2117 |NN const SV *const val
2118sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
2119 |NULLOK const SV *const uninit_sv|bool top
29489e7c 2120#endif
96adfaa1 2121
1109a392
MHM
2122#ifdef PERL_NEED_MY_HTOLE16
2123np |U16 |my_htole16 |U16 n
2124#endif
2125#ifdef PERL_NEED_MY_LETOH16
2126np |U16 |my_letoh16 |U16 n
2127#endif
2128#ifdef PERL_NEED_MY_HTOBE16
2129np |U16 |my_htobe16 |U16 n
2130#endif
2131#ifdef PERL_NEED_MY_BETOH16
2132np |U16 |my_betoh16 |U16 n
2133#endif
2134#ifdef PERL_NEED_MY_HTOLE32
2135np |U32 |my_htole32 |U32 n
2136#endif
2137#ifdef PERL_NEED_MY_LETOH32
2138np |U32 |my_letoh32 |U32 n
2139#endif
2140#ifdef PERL_NEED_MY_HTOBE32
2141np |U32 |my_htobe32 |U32 n
2142#endif
2143#ifdef PERL_NEED_MY_BETOH32
2144np |U32 |my_betoh32 |U32 n
2145#endif
2146#ifdef PERL_NEED_MY_HTOLE64
2147np |U64 |my_htole64 |U64 n
2148#endif
2149#ifdef PERL_NEED_MY_LETOH64
2150np |U64 |my_letoh64 |U64 n
2151#endif
2152#ifdef PERL_NEED_MY_HTOBE64
2153np |U64 |my_htobe64 |U64 n
2154#endif
2155#ifdef PERL_NEED_MY_BETOH64
2156np |U64 |my_betoh64 |U64 n
2157#endif
2158
2159#ifdef PERL_NEED_MY_HTOLES
2160np |short |my_htoles |short n
2161#endif
2162#ifdef PERL_NEED_MY_LETOHS
2163np |short |my_letohs |short n
2164#endif
2165#ifdef PERL_NEED_MY_HTOBES
2166np |short |my_htobes |short n
2167#endif
2168#ifdef PERL_NEED_MY_BETOHS
2169np |short |my_betohs |short n
2170#endif
2171#ifdef PERL_NEED_MY_HTOLEI
2172np |int |my_htolei |int n
2173#endif
2174#ifdef PERL_NEED_MY_LETOHI
2175np |int |my_letohi |int n
2176#endif
2177#ifdef PERL_NEED_MY_HTOBEI
2178np |int |my_htobei |int n
2179#endif
2180#ifdef PERL_NEED_MY_BETOHI
2181np |int |my_betohi |int n
2182#endif
2183#ifdef PERL_NEED_MY_HTOLEL
2184np |long |my_htolel |long n
2185#endif
2186#ifdef PERL_NEED_MY_LETOHL
2187np |long |my_letohl |long n
2188#endif
2189#ifdef PERL_NEED_MY_HTOBEL
2190np |long |my_htobel |long n
2191#endif
2192#ifdef PERL_NEED_MY_BETOHL
2193np |long |my_betohl |long n
2194#endif
2195
d67fec57
NC
2196: I think that these are only used by the above, which are macros, and in turn
2197: currently they are only used in pp_pack.c, but this is in util.c
b64e5050 2198np |void |my_swabn |NN void* ptr|int n
1109a392 2199
fe9845cc
RB
2200Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
2201Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
d67fec57 2202: Only used in pp.c
9d8f40c4 2203dpR |bool |is_gv_magical_sv|NN SV *const name_sv|U32 flags
7a5fd60d 2204
9f6cc744 2205ApR |bool |stashpv_hvname_match|NN const COP *c|NN const HV *hv
2e0de35c 2206
41e4abd8 2207#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 2208: Used in sv.c
46c461b5 2209p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
2210#endif
2211
c69033f2 2212#ifdef PERL_DONT_CREATE_GVSV
bb85b28a 2213Apbm |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 2214#endif
26c7b074
NC
2215#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
2216s |bool |ckwarn_common |U32 w
2217#endif
9bd8fe79
SH
2218Apo |bool |ckwarn |U32 w
2219Apo |bool |ckwarn_d |U32 w
d67fec57 2220: FIXME - exported for ByteLoader - public or private?
1242dfae 2221XEopMa |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 2222 |NN const char *const bits|STRLEN size
c69033f2 2223
67022846 2224: Used in av.c, hv.c
de37a194 2225p |void |offer_nice_chunk |NN void *const chunk|const U32 chunk_size
77354fb4 2226
ce582cee
NC
2227#ifndef SPRINTF_RETURNS_STRLEN
2228Apnod |int |my_sprintf |NN char *buffer|NN const char *pat|...
2229#endif
2230
fbbee507 2231Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198
JH
2232Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
2233
67022846 2234: Used in mg.c, sv.c
b0269e46
AB
2235px |void |my_clearenv
2236
f16dd614 2237#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
2238#ifdef PERL_GLOBAL_STRUCT_PRIVATE
2239Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
2240Apo |int |my_cxt_index |NN const char *my_cxt_key
2241#else
e3343589 2242Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 2243#endif
53d44271 2244#endif
f16dd614 2245
a6cc4119
SP
2246#ifndef HAS_STRLCAT
2247Apno |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
2248#endif
2249
2250#ifndef HAS_STRLCPY
2251Apno |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
2252#endif
2253
1dba731d
NC
2254#ifdef PERL_MAD
2255Mnp |void |pad_peg |NN const char* s
3b721df9
NC
2256#if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
2257sf |void |xmldump_attr |I32 level|NN PerlIO *file|NN const char* pat \
2258 |...
2259#endif
2260Mfp |void |xmldump_indent |I32 level|NN PerlIO *file|NN const char* pat \
2261 |...
2262Mp |void |xmldump_vindent|I32 level|NN PerlIO *file|NN const char* pat \
2263 |NULLOK va_list *args
2264Mp |void |xmldump_all
f0e3f042 2265p |void |xmldump_all_perl |bool justperl
3b721df9 2266Mp |void |xmldump_packsubs |NN const HV* stash
f0e3f042 2267p |void |xmldump_packsubs_perl |NN const HV* stash|bool justperl
3b721df9 2268Mp |void |xmldump_sub |NN const GV* gv
3ab0c9fa 2269Mp |void |xmldump_sub_perl |NN const GV* gv|bool justperl
3b721df9
NC
2270Mp |void |xmldump_form |NN const GV* gv
2271Mp |void |xmldump_eval
2272Mp |char* |sv_catxmlsv |NN SV *dsv|NN SV *ssv
20f84293 2273Mp |char* |sv_catxmlpvn |NN SV *dsv|NN const char *pv|STRLEN len|int utf8
3b721df9
NC
2274Mp |char* |sv_xmlpeek |NN SV* sv
2275Mp |void |do_pmop_xmldump|I32 level|NN PerlIO *file \
2276 |NULLOK const PMOP *pm
2277Mp |void |pmop_xmldump |NULLOK const PMOP* pm
2278Mp |void |do_op_xmldump |I32 level|NN PerlIO *file|NULLOK const OP *o
9f10164a 2279Mp |void |op_xmldump |NN const OP *o
eb8433b7 2280
ca7a6974
NC
2281Mp |TOKEN* |newTOKEN |I32 optype|YYSTYPE lval \
2282 |NULLOK MADPROP* madprop
4048f010
NC
2283Mp |void |token_free |NN TOKEN *tk
2284Mp |void |token_getmad |NN TOKEN *tk|NULLOK OP *o|char slot
ca7a6974
NC
2285Mp |void |op_getmad_weak |NULLOK OP* from|NULLOK OP* o|char slot
2286Mp |void |op_getmad |NULLOK OP* from|NULLOK OP* o|char slot
2287Mp |void |prepend_madprops|NULLOK MADPROP* mp|NULLOK OP* o|char slot
2288Mp |void |append_madprops|NULLOK MADPROP* tm|NULLOK OP* o|char slot
2289Mp |void |addmad |NULLOK MADPROP* tm|NULLOK MADPROP** root \
2290 |char slot
2291Mp |MADPROP*|newMADsv |char key|NN SV* sv
d503a9ba 2292Mp |MADPROP*|newMADPROP |char key|char type|NULLOK void* val \
594c10dc 2293 |I32 vlen
ca7a6974 2294Mp |void |mad_free |NULLOK MADPROP* mp
29595ff2
NC
2295
2296# if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
2297s |char* |skipspace0 |NN char *s
2298s |char* |skipspace1 |NN char *s
2299s |char* |skipspace2 |NN char *s|NULLOK SV **sv
5db06880
NC
2300s |void |start_force |int where
2301s |void |curmad |char slot|NULLOK SV *sv
29595ff2 2302# endif
5db06880 2303Mp |int |madlex
00e74f14 2304Mp |int |madparse
1dba731d 2305#endif
ed140128
AD
2306#if !defined(HAS_SIGNBIT)
2307AMdnoP |int |Perl_signbit |NV f
2308#endif
f16dd614 2309
d67fec57 2310: Used by B
8b850bd5 2311XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 2312: Used by SvRX and SvRXOK
f7e71195 2313XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 2314
fa60396f
NC
2315Aop |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
2316 |NN const struct mro_alg *const which
2317Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
2318 |NN const struct mro_alg *const which \
2319 |NN SV *const data
a3e6e81e
NC
2320Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
2321Aop |void |mro_register |NN const struct mro_alg *mro
31b9005d
NC
2322Aop |void |mro_set_mro |NN struct mro_meta *const meta \
2323 |NN SV *const name
c60bad7b
NC
2324: Used in HvMROMETA(), which is public.
2325Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 2326#if defined(USE_ITHREADS)
67022846 2327: Only used in sv.c
47c9dd14
BB
2328p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
2329#endif
2330Apd |AV* |mro_get_linear_isa|NN HV* stash
4befac30 2331#if defined(PERL_IN_MRO_C) || defined(PERL_DECL_PROT)
94d1e706 2332sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
4befac30 2333#endif
67022846 2334: Used in hv.c, mg.c, pp.c, sv.c
47c9dd14
BB
2335pd |void |mro_isa_changed_in|NN HV* stash
2336Apd |void |mro_method_changed_in |NN HV* stash
67022846 2337: Only used in perl.c
47c9dd14 2338p |void |boot_core_mro
cbec8ebe
DM
2339Apon |void |sys_init |NN int* argc|NN char*** argv
2340Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 2341Apon |void |sys_term
012da8e5 2342ApoM |const char *|fetch_cop_label|NULLOK struct refcounted_he *const chain \
dca6062a 2343 |NULLOK STRLEN *len|NULLOK U32 *flags
d67fec57 2344: Only used in op.c
72241cc9 2345xpoM |struct refcounted_he *|store_cop_label \
012da8e5 2346 |NULLOK struct refcounted_he *const chain|NN const char *label
47c9dd14 2347
88e1f1a2
JV
2348xpo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
2349
3540d4ce 2350END_EXTERN_C
1df70142
AL
2351/*
2352 * ex: set ts=8 sts=4 sw=4 noet:
2353 */