This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate CPAN version.pm release into core
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
d7cb65f2 3: This file is processed by regen/embed.pl and autodoc.pl
d412580b 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 12:
ba4591a5 13: A Available fully everywhere (usually part of the public API):
d412580b 14:
d500e60d 15: add entry to the list of exported symbols (unless x or m);
ba4591a5
KW
16: any doc entry goes in perlapi.pod rather than perlintern.pod. If no
17: documentation is furnished for this function, and M is also
18: specified, the function is not listed as part of the public API.
d212d222 19: If M isn't specified, and no documentation is furnished, the
ba4591a5 20: function is listed in perlapi as existing and being undocumented
d412580b
DM
21: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
22:
569ba91f
FC
23: If the function is only exported for use in a public
24: macro, see X.
25:
d412580b
DM
26: a Allocates memory a la malloc/calloc. Also implies "R":
27:
28: proto.h: add __attribute__malloc__
29:
30: b Binary backward compatibility; function is a macro
a553e3a6 31: but has also Perl_ implementation (which is exported); often
55cb5ee0
KW
32: implemented in mathoms.c (whose compilation can be suppressed; see
33: INSTALL):
d412580b 34:
d500e60d 35: add entry to the list of exported symbols;
d412580b
DM
36: don't define PERL_ARGS_ASSERT_FOO
37:
38: D Function is deprecated:
39:
40: proto.h: add __attribute__deprecated__
41:
6ef8d77a 42: d Function has documentation (somewhere) in the source:
d412580b
DM
43:
44: enables 'no docs for foo" warning in autodoc.pl
45:
46: E Visible to extensions included in the Perl core:
47:
48: in embed.h, change "#ifdef PERL_CORE"
49: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
50:
d212d222
KW
51: To be usable from dynamically loaded extensions, either:
52: 1) must be static to its containing file ("i" or "s" flag); or
53: 2) be combined with the "X" flag.
23fb3b56 54:
531b2663
DM
55: f Function takes a format string. If the function name /strftime/
56: then its assumed to take a strftime-style format string as 1st arg;
57: otherwise it's assumed to be a printf style format string, varargs
58: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
59:
60: proto.h: add __attribute__format__ (or ...null_ok__)
61:
71556506
KW
62: i Static inline: function in source code has a S_ prefix:
63:
64: proto.h: function is declared as S_foo rather than foo,
65: PERL_STATIC_INLINE is added to declaration;
66: embed.h: "#define foo S_foo" entries added
67:
d412580b
DM
68: M May change:
69:
1c149325 70: any doc entry is marked that function may change
d412580b
DM
71:
72: m Implemented as a macro:
73:
74: suppress proto.h entry
d500e60d 75: suppress entry in the list of exported symbols
d412580b
DM
76: suppress embed.h entry
77:
78: n Has no implicit interpreter/thread context argument:
79:
80: suppress the pTHX part of "foo(pTHX...)" in proto.h;
81: In the PERL_IMPLICIT_SYS branch of embed.h, generates
82: "#define foo Perl_foo", rather than
83: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
84:
7b53c8ee
NC
85: O Has a perl_ compatibility macro.
86:
87: The really OLD name for API funcs
88:
37ccf918 89: o Has no Perl_foo or S_foo compatibility macro:
d412580b
DM
90:
91: embed.h: suppress "#define foo Perl_foo"
92:
93: P Pure function: no effects except the return value;
94: return value depends only on params and/or globals:
95:
96: proto.h: add __attribute__pure__
97:
98: p Function in source code has a Perl_ prefix:
99:
100: proto.h: function is declared as Perl_foo rather than foo
101: embed.h: "#define foo Perl_foo" entries added
102:
103: R Return value must not be ignored (also implied by 'a' flag):
104:
105: proto.h: add __attribute__warn_unused_result__
106:
107: r Function never returns:
108:
109: proto.h: add __attribute__noreturn__
110:
111: s Static function: function in source code has a S_ prefix:
112:
113: proto.h: function is declared as S_foo rather than foo,
114: STATIC is added to declaration;
115: embed.h: "#define foo S_foo" entries added
116:
117: U Suppress usage example in autogenerated documentation
118:
119: (currently no effect)
120:
121: X Explicitly exported:
122:
d500e60d 123: add entry to the list of exported symbols, unless x or m
d412580b 124:
569ba91f
FC
125: This is often used for private functions that are used by public
126: macros. In those cases the macros must use the long form of the
127: name (Perl_blah(aTHX_ ...)).
128:
d412580b
DM
129: x Not exported
130:
d500e60d 131: suppress entry in the list of exported symbols
d412580b 132:
1aa6ea50 133: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 134:
f54cb97a 135: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 136:
1b6737cc
AL
137: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
138: no effect on output yet. It's a notation for the maintainers to know "I have
139: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
140: which is ambiguous.
141:
94bdecf9 142: Individual flags may be separated by whitespace.
94bdecf9 143
94bdecf9 144#if defined(PERL_IMPLICIT_SYS)
7827dc65 145Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
146 |NN struct IPerlMem *ipM \
147 |NN struct IPerlMem *ipMS \
148 |NN struct IPerlMem *ipMP \
149 |NN struct IPerlEnv *ipE \
150 |NN struct IPerlStdIO *ipStd \
16bf6295 151 |NN struct IPerlLIO *ipLIO \
4048f010
NC
152 |NN struct IPerlDir *ipD \
153 |NN struct IPerlSock *ipS \
154 |NN struct IPerlProc *ipP
94bdecf9
JH
155#endif
156Anod |PerlInterpreter* |perl_alloc
4048f010
NC
157Anod |void |perl_construct |NN PerlInterpreter *my_perl
158Anod |int |perl_destruct |NN PerlInterpreter *my_perl
159Anod |void |perl_free |NN PerlInterpreter *my_perl
160Anod |int |perl_run |NN PerlInterpreter *my_perl
161Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
162 |int argc|NULLOK char** argv|NULLOK char** env
163AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 164#if defined(USE_ITHREADS)
4048f010 165Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 166# if defined(PERL_IMPLICIT_SYS)
7827dc65 167Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
168 |NN PerlInterpreter *proto_perl \
169 |UV flags \
170 |NN struct IPerlMem* ipM \
171 |NN struct IPerlMem* ipMS \
172 |NN struct IPerlMem* ipMP \
173 |NN struct IPerlEnv* ipE \
174 |NN struct IPerlStdIO* ipStd \
175 |NN struct IPerlLIO* ipLIO \
176 |NN struct IPerlDir* ipD \
177 |NN struct IPerlSock* ipS \
178 |NN struct IPerlProc* ipP
94bdecf9
JH
179# endif
180#endif
181
4373e329
AL
182Aanop |Malloc_t|malloc |MEM_SIZE nbytes
183Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
184Aanop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
185Anop |Free_t |mfree |Malloc_t where
186#if defined(MYMALLOC)
7827dc65 187npR |MEM_SIZE|malloced_size |NN void *p
64107180 188npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 189#endif
03f05cb4
LM
190#if defined(PERL_IN_MALLOC_C)
191sn |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
192#endif
94bdecf9 193
890ce7af 194AnpR |void* |get_context
9f6cc744 195Anp |void |set_context |NN void *t
94bdecf9 196
6f1401dc
DM
197XEop |bool |try_amagic_bin |int method|int flags
198XEop |bool |try_amagic_un |int method|int flags
46c461b5 199Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 200Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 201p |bool |amagic_is_enabled|int method
c3a9a790 202Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 203ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
204Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
205Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 206Apd |OP* |op_linklist |NN OP *o
2fcb4757 207Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 208: FIXME - this is only called by pp_chown. They should be merged.
890ce7af
AL
209p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
210ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 211Apd |void |av_clear |NN AV *av
c70927a6
FC
212Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
213ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
214Apd |void |av_extend |NN AV *av|SSize_t key
215p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
216 |NN SSize_t *maxp \
7261499d 217 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
218ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
219Apd |void |av_fill |NN AV *av|SSize_t fill
220ApdR |SSize_t|av_len |NN AV *av
221ApdR |AV* |av_make |SSize_t size|NN SV **strp
4048f010 222Apd |SV* |av_pop |NN AV *av
29a861e7 223ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 224Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 225: Used in scope.c, and by Data::Alias
4048f010
NC
226EXp |void |av_reify |NN AV *av
227ApdR |SV* |av_shift |NN AV *av
c70927a6
FC
228Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
229AidR |SSize_t|av_top_index |NN AV *av
230AmpdR |SSize_t|av_tindex |NN AV *av
4048f010 231Apd |void |av_undef |NN AV *av
29a861e7 232ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 233Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
234Apo |SV** |av_arylen_p |NN AV *av
235Apo |IV* |av_iter_p |NN AV *av
43869a0c 236#if defined(PERL_IN_AV_C)
878d132a
NC
237s |MAGIC* |get_aux_mg |NN AV *av
238#endif
d67fec57 239: Used in perly.y
4048f010 240pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 241: Used in perly.y
6472dca1 242pR |OP* |block_end |I32 floor|NULLOK OP* seq
a3b680e6 243ApR |I32 |block_gimme
d67fec57 244: Used in perly.y
a3b680e6 245pR |int |block_start |int full
fd85fad2 246Aodp |void |blockhook_register |NN BHK *hk
d67fec57 247: Used in perl.c
94bdecf9 248p |void |boot_core_UNIVERSAL
d67fec57 249: Used in perl.c
94bdecf9 250p |void |boot_core_PerlIO
4048f010 251Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
252Apd |const PERL_CONTEXT * |caller_cx|I32 level \
253 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 254: Used in several source files
ae1951c1 255pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
53c1dcc0
AL
256ApR |U32 |cast_ulong |NV f
257ApR |I32 |cast_i32 |NV f
258ApR |IV |cast_iv |NV f
259ApR |UV |cast_uv |NV f
94bdecf9 260#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 261ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 262#endif
25502127
FC
263p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
264 |NULLOK const OP *curop|bool opnext
d67fec57 265: Used in perly.y
890ce7af 266pR |OP* |convert |I32 optype|I32 flags|NULLOK OP* o
d67fec57 267: Used in op.c and perl.c
edb2152a 268pM |PERL_CONTEXT* |create_eval_scope|U32 flags
c5df3096 269Aprd |void |croak_sv |NN SV *baseex
551405c4 270: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 271Afprd |void |croak |NULLOK const char* pat|...
c5df3096 272Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
cb077ed2
DD
273Anprd |void |croak_no_modify
274Anprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 275 |NN const char *const params
4cbe3a7d 276npr |void |croak_no_mem
3d04513d 277nprX |void |croak_popstack
073dd035
DD
278#if defined(WIN32)
279norx |void |win32_croak_not_implemented|NN const char * fname
280#endif
94bdecf9 281#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 282Afnrp |void |croak_nocontext|NULLOK const char* pat|...
cf284a24 283Afnp |OP* |die_nocontext |NULLOK const char* pat|...
890ce7af
AL
284Afnp |void |deb_nocontext |NN const char* pat|...
285Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 286Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
287Afnp |SV* |mess_nocontext |NN const char* pat|...
288Afnp |void |warn_nocontext |NN const char* pat|...
289Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 290Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
291Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
292Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
293Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
294Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
4048f010
NC
295Afnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
296Afnp |int |printf_nocontext|NN const char *format|...
94bdecf9 297#endif
b8c38f0a
FC
298: Used in pp.c
299p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 300 |const int code|NULLOK int * const opnum
1e4b6aa1 301: Used in gv.c
8f939fab 302p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 303 |const int opnum
d67fec57 304: Used in sv.c
eedb00fa 305EMXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
306 |NULLOK const char* p|const STRLEN len \
307 |const U32 flags
67022846 308: Used in pp.c and pp_sys.c
62d55b22 309ApdR |SV* |gv_const_sv |NN GV* gv
d45f5b30 310ApdR |SV* |cv_const_sv |NULLOK const CV *const cv
f815dc14 311pR |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
67022846 312: Used in pad.c
137da2b0 313pR |SV* |op_const_sv |NULLOK const OP* o
890ce7af 314Apd |void |cv_undef |NN CV* cv
8be227ab 315p |void |cv_forget_slab |NN CV *cv
890ce7af 316Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 317Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 318Ap |void |filter_del |NN filter_t funcp
4048f010 319ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
320ApPR |char** |get_op_descs
321ApPR |char** |get_op_names
67022846 322: FIXME discussion on p5p
a3b680e6 323pPR |const char* |get_no_modify
67022846 324: FIXME discussion on p5p
a3b680e6
AL
325pPR |U32* |get_opargs
326ApPR |PPADDR_t*|get_ppaddr
d67fec57 327: Used by CXINC, which appears to be in widespread use
82151c42 328ApR |I32 |cxinc
890ce7af 329Afp |void |deb |NN const char* pat|...
aec46f14 330Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 331Ap |void |debprofdump
4373e329 332Ap |I32 |debop |NN const OP* o
94bdecf9
JH
333Ap |I32 |debstack
334Ap |I32 |debstackptrs
13733cde 335pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
04c9e624 336Anp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 337 |NN const char* fromend|int delim|NN I32* retlen
d67fec57 338: Used in op.c, perl.c
edb2152a 339pM |void |delete_eval_scope
c5df3096
Z
340Apd |OP* |die_sv |NN SV *baseex
341Afpd |OP* |die |NULLOK const char* pat|...
67022846 342: Used in util.c
62705b21 343pr |void |die_unwind |NN SV* msv
94bdecf9 344Ap |void |dounwind |I32 cxix
67022846 345: FIXME
a9f96b3f 346pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 347: Used in pp_sys.c
5b5cf8d2 348p |bool |do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
4373e329 349Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 350: Used in pp.c
063df69c 351Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 352: Defined in doio.c, used only in pp_sys.c
4373e329 353p |bool |do_eof |NN GV* gv
8c654ff2
NC
354
355#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
bf4d1515 356pm |bool |do_exec |NN const char* cmd
8c654ff2
NC
357#else
358p |bool |do_exec |NN const char* cmd
359#endif
360
9ec7171b 361#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 362Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
363Ap |int |do_spawn |NN char* cmd
364Ap |int |do_spawn_nowait|NN char* cmd
54725af6 365#endif
94bdecf9 366#if !defined(WIN32)
4048f010 367p |bool |do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9
JH
368#endif
369p |void |do_execfree
43869a0c 370#if defined(PERL_IN_DOIO_C)
b1366aaf 371s |void |exec_failed |NN const char *cmd|int fd|int do_report
a0f2c8ec 372#endif
94bdecf9 373#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 374: Defined in doio.c, used only in pp_sys.c
7827dc65 375p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 376: Defined in doio.c, used only in pp_sys.c
7827dc65 377p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 378: Defined in doio.c, used only in pp_sys.c
7827dc65 379p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 380: Defined in doio.c, used only in pp_sys.c
7827dc65 381p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 382: Defined in doio.c, used only in pp_sys.c
7827dc65 383p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 384: Defined in doio.c, used only in pp_sys.c
7827dc65 385p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 386#endif
4048f010 387Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
388: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
389: p |OP* |do_kv
33efebe6
DM
390: used in pp.c, pp_hot.c
391pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
e4dba786 392Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 393 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
2fbb330f 394Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
395 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
396 |NN SV *svs|I32 num
4048f010
NC
397Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
398 |int as_raw|int rawmode|int rawperm \
399 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
400 |I32 num
67022846 401: Used in pp_hot.c and pp_sys.c
890ce7af 402p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 403: Used in pp_sys.c
890ce7af 404pR |OP* |do_readline
67022846 405: Defined in doio.c, used only in pp_sys.c
890ce7af
AL
406p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
407Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg
67022846 408: Defined in doio.c, used only in pp_sys.c
890ce7af 409p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 410: Defined in doio.c, used only in pp_sys.c
890ce7af 411pR |Off_t |do_tell |NN GV* gv
67022846 412: Defined in doop.c, used only in pp.c
890ce7af 413p |I32 |do_trans |NN SV* sv
67022846 414: Used in my.c and pp.c
fcb8da00 415p |UV |do_vecget |NN SV* sv|SSize_t offset|int size
67022846 416: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 417p |void |do_vecset |NN SV* sv
67022846 418: Defined in doop.c, used only in pp.c
890ce7af 419p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 420: Used in perly.y
850e8516 421p |OP* |dofile |NN OP* term|I32 force_builtin
890ce7af 422ApR |I32 |dowantarray
94bdecf9 423Ap |void |dump_all
f0e3f042 424p |void |dump_all_perl |bool justperl
94bdecf9 425Ap |void |dump_eval
9a957fbc 426Ap |void |dump_form |NN const GV* gv
890ce7af 427Ap |void |gv_dump |NN GV* gv
4048f010 428Ap |void |op_dump |NN const OP *o
9a957fbc
AL
429Ap |void |pmop_dump |NULLOK PMOP* pm
430Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 431p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 432Ap |void |dump_sub |NN const GV* gv
f0e3f042 433p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
434Apd |void |fbm_compile |NN SV* sv|U32 flags
435ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 436 |NN SV* littlestr|U32 flags
9a5e6f3c 437p |CV * |find_lexical_cv|PADOFFSET off
67022846 438: Defined in util.c, used only in perl.c
7827dc65
AL
439p |char* |find_script |NN const char *scriptname|bool dosearch \
440 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 441#if defined(PERL_IN_OP_C)
b7783a12 442s |OP* |force_list |NULLOK OP* arg
985b9e54
GG
443i |OP* |op_integerize |NN OP *o
444i |OP* |op_std_init |NN OP *o
d67fec57 445: FIXME
b7783a12
NC
446s |OP* |fold_constants |NN OP *o
447#endif
aec46f14
AL
448Afpd |char* |form |NN const char* pat|...
449Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 450Ap |void |free_tmps
43869a0c 451#if defined(PERL_IN_OP_C)
b7783a12 452s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 453#endif
94bdecf9 454#if !defined(HAS_GETENV_LEN)
67022846 455: Used in hv.c
9f6cc744 456p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 457#endif
67022846 458: Used in pp_ctl.c and pp_hot.c
005a8a35 459pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
460Ap |void |gp_free |NULLOK GV* gv
461Ap |GP* |gp_ref |NULLOK GP* gp
bb85b28a
NC
462Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
463Apmb |GV* |gv_AVadd |NULLOK GV *gv
464Apmb |GV* |gv_HVadd |NULLOK GV *gv
465Apmb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
466AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
467 |STRLEN len|I32 method
0eeb01b9 468ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 469ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 470 |U32 flags
0fe84f7c 471ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 472 |STRLEN len|U32 flags
51da40ed 473Ap |void |gv_check |NN HV* stash
46c461b5
AL
474Ap |void |gv_efullname |NN SV* sv|NN const GV* gv
475Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
476Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 477Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
478Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
479 |const U32 flags
6c53d59b
FC
480Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
481 |STRLEN len|I32 level
e6919483
BF
482Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
483Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
484 |I32 level|U32 flags
485Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
486 |STRLEN len|I32 level|U32 flags
460e5730
FC
487Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
488 |NN const char* name|STRLEN len \
489 |I32 level
d21989ed
BF
490Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
491Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
492 |I32 level|U32 flags
493Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
494 |STRLEN len|I32 level|U32 flags
eff494dd
NC
495Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
496Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
497 |I32 autoload
44130a26
BF
498ApM |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
499ApM |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
500 |U32 flags
501ApM |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 502 |const STRLEN len|U32 flags
fe9845cc 503Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
9a957fbc
AL
504Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
505Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
506Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 507: Used in scope.c
12816592 508pMox |GP * |newGP |NN GV *const gv
803f2748 509pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
c68d9564 510pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
511Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
512 |NN const char* name|STRLEN len|int multi
04ec7e59 513Ap |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
e6066781 514Ap |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 515 |U32 flags
e6066781 516Ap |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 517 |STRLEN len|U32 flags
9f616d01 518Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
9e3fb20c
FC
519px |GV * |gv_override |NN const char * const name \
520 |const STRLEN len
4c106937 521XMpd |void |gv_try_downgrade|NN GV* gv
da51bb9b
NC
522Apd |HV* |gv_stashpv |NN const char* name|I32 flags
523Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
8798655d 524Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 525Apd |void |hv_clear |NULLOK HV *hv
67022846 526: used in SAVEHINTS() and op.c
defdfed5 527ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010
NC
528Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
529Abmd |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 530 |I32 flags
4048f010
NC
531Abmd |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
532AbmdR |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
533AbmdR |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
534Abmd |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 535 |I32 lval
4048f010
NC
536Abmd |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
537Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 538 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 539 |int action|NULLOK SV *val|U32 hash
a038e571
NC
540Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
541 |I32 klen_i32|const int action|NULLOK SV *val \
542 |const U32 hash
9faf471a 543Apod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 544Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 545Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
546ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
547ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
548ApdRbm |HE* |hv_iternext |NN HV *hv
549ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
550ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
551ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
552Ap |void |hv_ksplit |NN HV *hv|IV newmax
553Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 554#if defined(PERL_IN_HV_C)
20439bc7 555s |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 556#endif
20439bc7
Z
557Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
558Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
559 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
560Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
561 |NN const char *key|U32 hash|U32 flags
562Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
563 |NN SV *key|U32 hash|U32 flags
564Xpd |struct refcounted_he *|refcounted_he_new_pvn \
565 |NULLOK struct refcounted_he *parent \
566 |NN const char *keypv|STRLEN keylen \
567 |U32 hash|NULLOK SV *value|U32 flags
568Xpd |struct refcounted_he *|refcounted_he_new_pv \
569 |NULLOK struct refcounted_he *parent \
570 |NN const char *key \
571 |U32 hash|NULLOK SV *value|U32 flags
572Xpd |struct refcounted_he *|refcounted_he_new_sv \
573 |NULLOK struct refcounted_he *parent \
574 |NN SV *key \
575 |U32 hash|NULLOK SV *value|U32 flags
576Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
577Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
4048f010
NC
578Abmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
579 |I32 klen|NULLOK SV *val|U32 hash
580Abmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
581 |U32 hash
ed6f739c 582AbmM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 583 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
584Amd |void |hv_undef |NULLOK HV *hv
585poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
e6226b18
KW
586Am |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
587AnpP |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
588Am |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
589AnpP |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
590Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
591 |bool u1|NN const char *s2|NULLOK char **pe2 \
592 |UV l2|bool u2
eda9cac1 593Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
594 |bool u1|NN const char *s2|NULLOK char **pe2 \
595 |UV l2|bool u2
eda9cac1
KW
596AMp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
597 |bool u1|NN const char *s2|NULLOK char **pe2 \
598 |UV l2|bool u2|U32 flags
1b9f127b 599AnpP |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 600#if defined(PERL_IN_DOIO_C)
0da8eb3a
NC
601sR |bool |ingroup |Gid_t testgid|bool effective
602#endif
67022846 603: Used in toke.c
4373e329 604p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
605: Used in pp_ctl.c
606po |void |init_dbargs
67022846 607: Used in mg.c
94bdecf9
JH
608p |void |init_debugger
609Ap |void |init_stacks
bfce84ec 610Ap |void |init_tm |NN struct tm *ptm
67022846 611: Used in perly.y
04c9e624 612AnpPR |char* |instr |NN const char* big|NN const char* little
67022846 613: Used in sv.c
5836e3ec 614p |bool |io_close |NN IO* io|bool not_implicit
67022846 615: Used in perly.y
2d03de9c 616pR |OP* |invert |NULLOK OP* cmd
f54cb97a 617ApR |I32 |is_lvalue_sub
777d9014 618: Used in cop.h
eebd3bc0 619XopR |I32 |was_lvalue_sub
61b19385
KW
620ADMpPR |U32 |to_uni_upper_lc|U32 c
621ADMpPR |U32 |to_uni_title_lc|U32 c
622ADMpPR |U32 |to_uni_lower_lc|U32 c
143aeb96
KW
623ADMpPR |bool |is_uni_alnum |UV c
624ADMpPR |bool |is_uni_alnumc |UV c
625ADMpPR |bool |is_uni_idfirst |UV c
626ADMpPR |bool |is_uni_alpha |UV c
61b19385
KW
627ADMpPR |bool |is_uni_ascii |UV c
628ADMpPR |bool |is_uni_blank |UV c
629ADMpPR |bool |is_uni_space |UV c
630ADMpPR |bool |is_uni_cntrl |UV c
143aeb96
KW
631ADMpPR |bool |is_uni_graph |UV c
632ADMpPR |bool |is_uni_digit |UV c
633ADMpPR |bool |is_uni_upper |UV c
634ADMpPR |bool |is_uni_lower |UV c
635ADMpPR |bool |is_uni_print |UV c
636ADMpPR |bool |is_uni_punct |UV c
61b19385 637ADMpPR |bool |is_uni_xdigit |UV c
04665d07
KW
638AMp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
639AMp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
e42bd204
KW
640iDMPR |bool |isIDFIRST_lazy |NN const char* p
641iDMPR |bool |isALNUM_lazy |NN const char* p
afc16117
KW
642#ifdef PERL_IN_UTF8_C
643sR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp
fab2782b
YO
644#endif
645#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
51910141 646EXp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 647#endif
348bf2e0
KW
648#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
649p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
650#endif
04665d07
KW
651AMp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
652AMmp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
a0270393 653AMp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|const U8 flags
143aeb96
KW
654ADMpPR |bool |is_uni_alnum_lc|UV c
655ADMpPR |bool |is_uni_alnumc_lc|UV c
61b19385 656ADMpPR |bool |is_uni_idfirst_lc|UV c
eba68aa0 657AMpR |bool |_is_uni_perl_idcont|UV c
f91dcd13 658AMpR |bool |_is_uni_perl_idstart|UV c
143aeb96 659ADMpPR |bool |is_uni_alpha_lc|UV c
61b19385
KW
660ADMpPR |bool |is_uni_ascii_lc|UV c
661ADMpPR |bool |is_uni_space_lc|UV c
662ADMpPR |bool |is_uni_blank_lc|UV c
663ADMpPR |bool |is_uni_cntrl_lc|UV c
143aeb96
KW
664ADMpPR |bool |is_uni_graph_lc|UV c
665ADMpPR |bool |is_uni_digit_lc|UV c
666ADMpPR |bool |is_uni_upper_lc|UV c
667ADMpPR |bool |is_uni_lower_lc|UV c
668ADMpPR |bool |is_uni_print_lc|UV c
669ADMpPR |bool |is_uni_punct_lc|UV c
61b19385 670ADMpPR |bool |is_uni_xdigit_lc|UV c
668b6d8d 671Anpd |bool |is_ascii_string|NN const U8 *s|STRLEN len
76848387 672AnpdD |STRLEN |is_utf8_char |NN const U8 *s
492a624f 673Anpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
668b6d8d 674Anpd |bool |is_utf8_string |NN const U8 *s|STRLEN len
8fb1bf58 675Anpdmb |bool |is_utf8_string_loc|NN const U8 *s|STRLEN len|NULLOK const U8 **ep
668b6d8d 676Anpd |bool |is_utf8_string_loclen|NN const U8 *s|STRLEN len|NULLOK const U8 **ep|NULLOK STRLEN *el
922e8cb4
KW
677AMpR |bool |_is_uni_FOO|const U8 classnum|const UV c
678AMpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p
143aeb96
KW
679ADMpR |bool |is_utf8_alnum |NN const U8 *p
680ADMpR |bool |is_utf8_alnumc |NN const U8 *p
61b19385
KW
681ADMpR |bool |is_utf8_idfirst|NN const U8 *p
682ADMpR |bool |is_utf8_xidfirst|NN const U8 *p
eba68aa0 683AMpR |bool |_is_utf8_perl_idcont|NN const U8 *p
d65654cb 684AMpR |bool |_is_utf8_perl_idstart|NN const U8 *p
61b19385
KW
685ADMpR |bool |is_utf8_idcont |NN const U8 *p
686ADMpR |bool |is_utf8_xidcont |NN const U8 *p
143aeb96 687ADMpR |bool |is_utf8_alpha |NN const U8 *p
61b19385
KW
688ADMpR |bool |is_utf8_ascii |NN const U8 *p
689ADMpR |bool |is_utf8_blank |NN const U8 *p
690ADMpR |bool |is_utf8_space |NN const U8 *p
691ADMpR |bool |is_utf8_perl_space |NN const U8 *p
692ADMpR |bool |is_utf8_perl_word |NN const U8 *p
693ADMpR |bool |is_utf8_cntrl |NN const U8 *p
143aeb96 694ADMpR |bool |is_utf8_digit |NN const U8 *p
61b19385 695ADMpR |bool |is_utf8_posix_digit |NN const U8 *p
143aeb96
KW
696ADMpR |bool |is_utf8_graph |NN const U8 *p
697ADMpR |bool |is_utf8_upper |NN const U8 *p
698ADMpR |bool |is_utf8_lower |NN const U8 *p
699ADMpR |bool |is_utf8_print |NN const U8 *p
700ADMpR |bool |is_utf8_punct |NN const U8 *p
61b19385 701ADMpR |bool |is_utf8_xdigit |NN const U8 *p
7dbf68d2 702AMpR |bool |_is_utf8_mark |NN const U8 *p
143aeb96 703ADMpR |bool |is_utf8_mark |NN const U8 *p
67022846 704: Used in perly.y
4048f010 705p |OP* |jmaybe |NN OP *o
67022846 706: Used in pp.c
4048f010 707pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 708#if defined(PERL_IN_OP_C)
540dd770 709s |void |inplace_aassign |NN OP* o
867fa1e2 710#endif
94bdecf9 711Ap |void |leave_scope |I32 base
f0e67a1d 712: Public lexer API
8eaa0acf 713AMpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
abe97742
NC
714AMpd |bool |lex_bufutf8
715AMpd |char* |lex_grow_linestr|STRLEN len
83aa740e 716AMpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
9dcc53ea 717AMpd |void |lex_stuff_pv |NN const char* pv|U32 flags
abe97742
NC
718AMpd |void |lex_stuff_sv |NN SV* sv|U32 flags
719AMpd |void |lex_unstuff |NN char* ptr
720AMpd |void |lex_read_to |NN char* ptr
721AMpd |void |lex_discard_to |NN char* ptr
722AMpd |bool |lex_next_chunk |U32 flags
723AMpd |I32 |lex_peek_unichar|U32 flags
724AMpd |I32 |lex_read_unichar|U32 flags
725AMpd |void |lex_read_space |U32 flags
28ac2b49 726: Public parser API
78cdf107
Z
727AMpd |OP* |parse_arithexpr|U32 flags
728AMpd |OP* |parse_termexpr |U32 flags
729AMpd |OP* |parse_listexpr |U32 flags
730AMpd |OP* |parse_fullexpr |U32 flags
e53d8f76 731AMpd |OP* |parse_block |U32 flags
8359b381 732AMpd |OP* |parse_barestmt |U32 flags
361d9b55 733AMpd |SV* |parse_label |U32 flags
28ac2b49 734AMpd |OP* |parse_fullstmt |U32 flags
07ffcb73 735AMpd |OP* |parse_stmtseq |U32 flags
f0e67a1d 736: Used in various files
aec46f14 737Ap |void |op_null |NN OP* o
d67fec57 738: FIXME. Used by Data::Alias
6d9a2efc 739EXp |void |op_clear |NN OP* o
4026c95a
SH
740Ap |void |op_refcnt_lock
741Ap |void |op_refcnt_unlock
43869a0c 742#if defined(PERL_IN_OP_C)
412da003 743s |OP* |listkids |NULLOK OP* o
2dd5337b 744#endif
67022846 745: Used in S_doeval in pp_ctl.c
aec46f14 746p |OP* |list |NULLOK OP* o
aec46f14
AL
747Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
748Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 749: Used in perly.y
4048f010 750p |OP* |localize |NN OP *o|I32 lex
aad570aa 751ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 752Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ccde8531 753#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
9a0dc6e4 754EMsR |char |grok_bslash_c |const char source|const bool utf8|const bool output_warning
17896a85
KW
755EMsR |bool |grok_bslash_o |NN char** s|NN UV* uv \
756 |NN const char** error_msg \
757 |const bool output_warning \
758 |const bool strict \
759 |const bool silence_non_portable \
760 |const bool utf8
761EMiR |bool |grok_bslash_x |NN char** s|NN UV* uv \
762 |NN const char** error_msg \
763 |const bool output_warning \
764 |const bool strict \
765 |const bool silence_non_portable \
766 |const bool utf8
5e0a247b
KW
767EMsPR |char*|form_short_octal_warning|NN const char * const s \
768 |const STRLEN len
db30362b 769#endif
7827dc65
AL
770Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
771Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
bfce84ec 772ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 773Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
67022846 774: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
775p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
776p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 777dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 778dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 779p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
780p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
781p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
782p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
783 |NULLOK const char *name|I32 namlen
1146e912 784p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
785p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
786p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 787p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 788p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
789p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
790p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
791p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
792p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
793p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
794p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
795p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
796p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 797p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
798p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
799p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77
DD
800:removing noreturn to silence a warning for this function resulted in no
801:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits
518a5310
SH
802#ifdef _MSC_VER
803p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
804#else
bfce84ec 805pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 806#endif
bfce84ec 807p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 808p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 809p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 810p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
811p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
812p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
813p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 814dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 815p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
816p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
817p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
818p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
819p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
820p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 821p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
822p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
823p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
824p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
825p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
826p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
827p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
828p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
829p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 830pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 831 |NN SV *meth|U32 flags \
046b0c7d 832 |U32 argc|...
94bdecf9
JH
833Ap |void |markstack_grow
834#if defined(USE_LOCALE_COLLATE)
b22e6366 835p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
67022846 836: Defined in locale.c, used only in sv.c
b22e6366 837p |char* |mem_collxfrm |NN const char* s|STRLEN len|NN STRLEN* xlen
94bdecf9 838#endif
c5df3096
Z
839Afpd |SV* |mess |NN const char* pat|...
840Apd |SV* |mess_sv |NN SV* basemsg|bool consume
841Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
842: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
843: Used in gv.c, op.c, toke.c
6d9a2efc 844EXp |void |qerror |NN SV* err
3d4dd4c7
NC
845Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
846Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 847Apd |int |mg_clear |NN SV* sv
4048f010
NC
848Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
849 |I32 klen
67022846 850: Defined in mg.c, used only in scope.c
af7df257 851pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
890ce7af 852ApdR |MAGIC* |mg_find |NULLOK const SV* sv|int type
39de7f53 853ApdR |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 854: exported for re.pm
d4431b89 855EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 856Apd |int |mg_free |NN SV* sv
d9088386 857Apd |void |mg_free_type |NN SV* sv|int how
9a957fbc 858Apd |int |mg_get |NN SV* sv
bd8446cf 859ApdD |U32 |mg_length |NN SV* sv
9a957fbc
AL
860Apd |void |mg_magical |NN SV* sv
861Apd |int |mg_set |NN SV* sv
862Ap |I32 |mg_size |NN SV* sv
9f6cc744 863Ap |void |mini_mktime |NN struct tm *ptm
d3d7d28f
FC
864AMmd |OP* |op_lvalue |NULLOK OP* o|I32 type
865poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
d164302a
GG
866p |void |finalize_optree |NN OP* o
867#if defined(PERL_IN_OP_C)
868s |void |finalize_op |NN OP* o
eedb00fa 869s |void |move_proto_attr|NN OP **proto|NN OP **attrs|NN const GV *name
d164302a 870#endif
67022846 871: Used in op.c and pp_sys.c
a79b25b7 872p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 873Ap |const char* |moreswitches |NN const char* s
4373e329 874Ap |NV |my_atof |NN const char *s
94bdecf9 875#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
4373e329 876Anp |char* |my_bcopy |NN const char* from|NN char* to|I32 len
94bdecf9
JH
877#endif
878#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
4373e329 879Anp |char* |my_bzero |NN char* loc|I32 len
94bdecf9
JH
880#endif
881Apr |void |my_exit |U32 status
882Apr |void |my_failure_exit
883Ap |I32 |my_fflush_all
884Anp |Pid_t |my_fork
885Anp |void |atfork_lock
886Anp |void |atfork_unlock
0d7d409d
DM
887Apmb |I32 |my_lstat
888pX |I32 |my_lstat_flags |NULLOK const U32 flags
94bdecf9 889#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
4373e329 890AnpP |I32 |my_memcmp |NN const char* s1|NN const char* s2|I32 len
94bdecf9
JH
891#endif
892#if !defined(HAS_MEMSET)
4373e329 893Anp |void* |my_memset |NN char* loc|I32 ch|I32 len
94bdecf9 894#endif
875ca36f 895#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
896Ap |I32 |my_pclose |NULLOK PerlIO* ptr
897Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 898#endif
c9289b7b 899Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 900Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
0d7d409d
DM
901Apmb |I32 |my_stat
902pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 903Afp |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
67022846 904: Used in pp_ctl.c
94bdecf9 905p |void |my_unexec
3d81eea6
KW
906ADMnoPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
907ADMnoPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
b22e6366
AL
908Apa |OP* |newANONLIST |NULLOK OP* o
909Apa |OP* |newANONHASH |NULLOK OP* o
bfce84ec 910Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
83f9fced
GG
911#if defined(PERL_IN_OP_C)
912i |bool |aassign_common_vars |NULLOK OP* o
913#endif
d67eb5f4
Z
914Apda |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
915Apda |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 916Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
917Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
918 |NULLOK const char* name|STRLEN len \
919 |U32 flags|NULLOK SV* sv
eb8433b7
NC
920#ifdef PERL_MAD
921Ap |OP* |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
922#else
aec46f14 923Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
eb8433b7 924#endif
94bf0465 925Apda |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
d67eb5f4
Z
926Apda |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
927Apda |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
928Apda |OP* |newLOOPEX |I32 type|NN OP* label
929Apda |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
930Apda |OP* |newNULLLIST
931Apda |OP* |newOP |I32 optype|I32 flags
f54cb97a 932Ap |void |newPROG |NN OP* o
d67eb5f4
Z
933Apda |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
934Apda |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
935Apda |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
7bff8c33
NC
936Abm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
937 |NULLOK OP* block
032a0447
FC
938p |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
939 |NN XSUBADDR_t subaddr\
940 |NN const char *const filename \
8f82b567
FC
941 |NULLOK const char *const proto \
942 |NULLOK SV **const_svp|U32 flags
77004dee
NC
943ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
944 |NN const char *const filename \
945 |NULLOK const char *const proto|U32 flags
4048f010
NC
946Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
947 |NN const char *filename
3bdcbd26 948AmdbR |AV* |newAV
f54cb97a 949Apa |OP* |newAVREF |NN OP* o
d67eb5f4 950Apda |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
2d03de9c 951Apa |OP* |newCVREF |I32 flags|NULLOK OP* o
d67eb5f4 952Apda |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 953Am |GV* |newGVgen |NN const char* pack
9cc50d5b 954Apa |GV* |newGVgen_flags |NN const char* pack|U32 flags
b22e6366 955Apa |OP* |newGVREF |I32 type|NULLOK OP* o
a3b680e6 956ApaR |OP* |newHVREF |NN OP* o
3bdcbd26 957AmdbR |HV* |newHV
4048f010 958ApaR |HV* |newHVhv |NULLOK HV *hv
85dca89a 959Apabm |IO* |newIO
d67eb5f4 960Apda |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
392d04bb 961#ifdef USE_ITHREADS
d67eb5f4 962Apda |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
392d04bb 963#endif
d67eb5f4
Z
964Apda |OP* |newPMOP |I32 type|I32 flags
965Apda |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
23f13727
SS
966Apa |SV* |newRV |NN SV *const sv
967Apda |SV* |newRV_noinc |NN SV *const sv
2b021c53 968Apda |SV* |newSV |const STRLEN len
f54cb97a 969Apa |OP* |newSVREF |NN OP* o
d67eb5f4 970Apda |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
199f858d 971pa |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
23f13727
SS
972Apda |SV* |newSViv |const IV i
973Apda |SV* |newSVuv |const UV u
974Apda |SV* |newSVnv |const NV n
975Apda |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
976Apda |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
977Apda |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
978Apda |SV* |newSVhek |NULLOK const HEK *const hek
2d03de9c 979Apda |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
9dcc53ea 980Apda |SV* |newSVpv_share |NULLOK const char* s|U32 hash
23f13727
SS
981Afpda |SV* |newSVpvf |NN const char *const pat|...
982Apa |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 983Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
23f13727 984Apda |SV* |newSVsv |NULLOK SV *const old
fe9845cc 985Apda |SV* |newSV_type |const svtype type
d67eb5f4
Z
986Apda |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
987Apda |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
988Apda |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 989 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 990 |I32 has_my
d9088386
Z
991Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
992Apd |OP* |ck_entersub_args_list|NN OP *entersubop
993Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
994Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
995po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
996 |NN SV *protosv
d9088386
Z
997Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
998Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
e8570548 999Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
f54cb97a 1000Apa |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1001Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1002 |NN SV *sv
9f6cc744 1003Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1004Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1005 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1006 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1007Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1008Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1009Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1010Apd |SV* |vnumify |NN SV *vs
1011Apd |SV* |vnormal |NN SV *vs
1012Apd |SV* |vstringify |NN SV *vs
9f6cc744 1013Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1014: Used in pp_hot.c and pp_sys.c
2d03de9c 1015p |PerlIO*|nextargv |NN GV* gv
04c9e624 1016AnpP |char* |ninstr |NN const char* big|NN const char* bigend \
2d03de9c 1017 |NN const char* little|NN const char* lend
6472dca1 1018Ap |void |op_free |NULLOK OP* arg
705fe0e5 1019Mp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1020#ifdef PERL_CORE
8be227ab
FC
1021p |void |opslab_free |NN OPSLAB *slab
1022p |void |opslab_free_nopad|NN OPSLAB *slab
1023p |void |opslab_force_free|NN OPSLAB *slab
1024#endif
67022846 1025: Used in perly.y
eb8433b7
NC
1026#ifdef PERL_MAD
1027p |OP* |package |NN OP* o
1028#else
2d03de9c 1029p |void |package |NN OP* o
eb8433b7 1030#endif
6fa4d285
DG
1031: Used in perly.y
1032p |void |package_version|NN OP* v
67022846 1033: Used in toke.c and perly.y
d6447115
NC
1034p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1035 |const U32 flags
d4d03940 1036#ifdef USE_ITHREADS
c0b8aebd 1037AMp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1038#endif
67022846 1039: Used in perly.y
1df70142 1040pR |OP* |oopsAV |NN OP* o
67022846 1041: Used in perly.y
1df70142 1042pR |OP* |oopsHV |NN OP* o
cc76b5cc 1043
1a0a2ba9 1044: peephole optimiser
666e7765 1045p |void |peep |NULLOK OP* o
1a0a2ba9 1046p |void |rpeep |NULLOK OP* o
67022846 1047: Defined in doio.c, used only in pp_hot.c
4048f010 1048dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1049
10bc17b6 1050Ap |void |reentrant_size
59bd0823 1051Ap |void |reentrant_init
10bc17b6 1052Ap |void |reentrant_free
4048f010 1053Anp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1054
7b53c8ee
NC
1055: "Very" special - can't use the O flag for this one:
1056: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1057Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1058ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1059ApdO |I32 |call_method |NN const char* methname|I32 flags
1060ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
1061ApdO |I32 |call_sv |NN SV* sv|VOL I32 flags
5290524f 1062Ap |void |despatch_signals
e4c5ccf3 1063Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1064ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1065ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1066ApdO |SV* |get_sv |NN const char *name|I32 flags
1067ApdO |AV* |get_av |NN const char *name|I32 flags
1068ApdO |HV* |get_hv |NN const char *name|I32 flags
1069ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1070Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
7b53c8ee
NC
1071ApO |int |init_i18nl10n |int printwarn
1072ApO |int |init_i18nl14n |int printwarn
1073ApO |void |new_collate |NULLOK const char* newcoll
1074ApO |void |new_ctype |NN const char* newctype
1075ApO |void |new_numeric |NULLOK const char* newcoll
94bdecf9
JH
1076Ap |void |set_numeric_local
1077Ap |void |set_numeric_radix
1078Ap |void |set_numeric_standard
7b53c8ee 1079ApdO |void |require_pv |NN const char* pv
2d03de9c
AL
1080Apd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
1081 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1082Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
1083#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
1084s |void |pidgone |Pid_t pid|int status
ca0c25f6 1085#endif
67022846 1086: Used in perly.y
d63c20f2 1087p |OP* |pmruntime |NN OP *o|NN OP *expr|bool isreg|I32 floor
43869a0c 1088#if defined(PERL_IN_OP_C)
0d86688d
NC
1089s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
1090#endif
94bdecf9 1091Ap |void |pop_scope
94bdecf9 1092Ap |void |push_scope
e4c5ccf3 1093Amb |OP* |ref |NULLOK OP* o|I32 type
43869a0c 1094#if defined(PERL_IN_OP_C)
0d86688d
NC
1095s |OP* |refkids |NULLOK OP* o|I32 type
1096#endif
097eb12c 1097Ap |void |regdump |NN const regexp* r
4048f010
NC
1098Ap |SV* |regclass_swash |NULLOK const regexp *prog \
1099 |NN const struct regnode *node|bool doinit \
1100 |NULLOK SV **listsvp|NULLOK SV **altsvp
4c9daa0a 1101#ifdef PERL_IN_REGCOMP_C
af495420 1102EMsR |SV* |_new_invlist_C_array|NN const UV* const list
a0316a6c 1103: Not used currently: EXMs |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1104#endif
49d7dfbc 1105Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1106 |NN char* strend|NN char* strbeg \
1107 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1108Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1109Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1110: FIXME - is anything in re using this now?
f0826785 1111EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* ret_x|NN REGEXP* rx
4048f010 1112Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1113#if defined(USE_ITHREADS)
49d7dfbc 1114Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1115#endif
3c13cae6 1116EXp |regexp_engine const *|current_re_engine
1593ad57 1117Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1118p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1119 |int pat_count|NULLOK OP *expr \
3c13cae6 1120 |NN const regexp_engine* eng \
1067df30 1121 |NULLOK REGEXP *old_re \
76ac488f 1122 |NULLOK bool *is_bare_re \
514a91f1 1123 |U32 rx_flags|U32 pm_flags
37acfcba 1124Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
52a21eb3
DM
1125Ap |char* |re_intuit_start|NN REGEXP * const rx \
1126 |NULLOK SV* sv \
1127 |NN const char* const strbeg \
1128 |NN char* strpos \
1129 |NN char* strend \
1130 |const U32 flags \
9f61653a 1131 |NULLOK re_scream_pos_data *data
4048f010 1132Ap |SV* |re_intuit_string|NN REGEXP *const r
ccde8531 1133#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
4d68ffa0
KW
1134EiPR |I32 |regcurly |NN const char *s \
1135 |const bool rbrace_must_be_escaped
881ffab6 1136#endif
4048f010 1137Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1138 |NN char *strend|NN char *strbeg \
1139 |SSize_t minend|NN SV *sv \
1140 |NULLOK void *data|U32 flags
8074533a 1141ApR |regnode*|regnext |NULLOK regnode* p
192b9cd1
AB
1142EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
1143 |NULLOK SV * const value|const U32 flags
1144EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
1145 |const U32 flags
1146Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1147Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1148Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1149Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1150Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1151Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1152
d67fec57 1153: FIXME - is anything in re using this now?
2fdbfb4d 1154EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1155: FIXME - is anything in re using this now?
2fdbfb4d 1156EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1157: FIXME - is anything in re using this now?
2fdbfb4d
AB
1158EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1159
d67fec57 1160: FIXME - is anything in re using this now?
49d7dfbc 1161EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1162
67022846 1163: FIXME - why the E?
32fc9b6a 1164Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o
26e1303d 1165Anp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
04c9e624 1166AnpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1167 |NN const char* little|NN const char* lend
94bdecf9 1168Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1169: Used in pp_sys.c
7827dc65 1170p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1171: Used in pp_sys.c
9f6cc744 1172p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1173Ap |Sighandler_t|rsignal_state|int i
43869a0c 1174#if defined(PERL_IN_PP_CTL_C)
9c105995
NC
1175s |void |rxres_free |NN void** rsp
1176s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
1177#endif
1178: Used in pp_hot.c
4048f010 1179p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1180#if !defined(HAS_RENAME)
67022846 1181: Used in pp_sys.c
4373e329 1182p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1183#endif
639f6c3d
NC
1184Apda |char* |savepv |NULLOK const char* pv
1185Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1186Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1187
1188: NULLOK only to suppress a compiler warning
1189Apda |char* |savesharedpvn |NULLOK const char *const pv \
1190 |const STRLEN len
9dcc53ea 1191Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1192Apda |char* |savesvpv |NN SV* sv
94bdecf9 1193Ap |void |savestack_grow
4b3c1a47 1194Ap |void |savestack_grow_cnt |I32 need
c70927a6
FC
1195Amp |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1196Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1197 |const U32 flags
94bdecf9 1198Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1199Ap |void |save_aptr |NN AV** aptr
1200Ap |AV* |save_ary |NN GV* gv
1201Ap |void |save_bool |NN bool* boolp
1202Ap |void |save_clearsv |NN SV** svp
4048f010 1203Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1204Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1205Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1206Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1207Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1208Apmb |void |save_freesv |NULLOK SV* sv
67022846 1209: Used in SAVEFREOP(), used in op.c, pp_ctl.c
ad975267 1210Apmb |void |save_freeop |NULLOK OP* o
2fd8beea 1211Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1212Ap |void |save_generic_svref|NN SV** sptr
1213Ap |void |save_generic_pvref|NN char** str
1214Ap |void |save_shared_pvref|NN char** str
aec46f14
AL
1215Ap |void |save_gp |NN GV* gv|I32 empty
1216Ap |HV* |save_hash |NN GV* gv
defdfed5 1217Ap |void |save_hints
af7df257
CS
1218Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1219Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1220Ap |void |save_hptr |NN HV** hptr
1221Ap |void |save_I16 |NN I16* intp
1222Ap |void |save_I32 |NN I32* intp
1223Ap |void |save_I8 |NN I8* bytep
1224Ap |void |save_int |NN int* intp
1225Ap |void |save_item |NN SV* item
4048f010 1226Ap |void |save_iv |NN IV *ivp
aec46f14
AL
1227Ap |void |save_list |NN SV** sarg|I32 maxsarg
1228Ap |void |save_long |NN long* longp
2fd8beea 1229Apmb |void |save_mortalizesv|NN SV* sv
3d4dd4c7 1230Ap |void |save_nogv |NN GV* gv
67022846 1231: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
ad975267 1232Apmb |void |save_op
aec46f14
AL
1233Ap |SV* |save_scalar |NN GV* gv
1234Ap |void |save_pptr |NN char** pptr
4048f010 1235Ap |void |save_vptr |NN void *ptr
94bdecf9 1236Ap |void |save_re_context
09edbca0 1237Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1238Ap |void |save_sptr |NN SV** sptr
e8eb279c 1239Xp |void |save_strlen |NN STRLEN* ptr
aec46f14 1240Ap |SV* |save_svref |NN SV** sptr
2fd8beea 1241Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1242Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1243: Used by SAVESWITCHSTACK() in pp.c
ad975267 1244Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1245 |NULLOK void *const ptr2|const int type
43869a0c 1246#if defined(PERL_IN_SCOPE_C)
be84297e
NC
1247s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
1248 |NULLOK void *const ptr2|const int type
1249#endif
67022846 1250: Used in perly.y
aec46f14 1251p |OP* |sawparens |NULLOK OP* o
d9088386 1252Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1253: Used in perly.y
aec46f14 1254p |OP* |scalar |NULLOK OP* o
43869a0c 1255#if defined(PERL_IN_OP_C)
2dd5337b
NC
1256s |OP* |scalarkids |NULLOK OP* o
1257s |OP* |scalarseq |NULLOK OP* o
1258#endif
67022846 1259: Used in pp_ctl.c
aec46f14
AL
1260p |OP* |scalarvoid |NN OP* o
1261Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1262Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1263Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1264Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
3ad73efd 1265AMpd |OP* |op_scope |NULLOK OP* o
aec46f14 1266Ap |char* |screaminstr |NN SV *bigstr|NN SV *littlestr|I32 start_shift \
9f6cc744 1267 |I32 end_shift|NN I32 *old_posp|I32 last
e2051532
PM
1268: Only used by perl.c/miniperl.c, but defined in caretx.c
1269px |void |set_caret_X
9a9bb270 1270Apd |void |setdefout |NN GV* gv
aec46f14 1271Ap |HEK* |share_hek |NN const char* str|I32 len|U32 hash
8aad04aa 1272#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1273: Used in perl.c
b6455c53
SR
1274np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1275Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1276#else
94bdecf9 1277np |Signal_t |sighandler |int sig
669f9482 1278Anp |Signal_t |csighandler |int sig
8aad04aa 1279#endif
fc16c392 1280Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1281Ap |I32 |start_subparse |I32 is_format|U32 flags
67022846 1282: Used in pp_ctl.c
aec46f14 1283p |void |sub_crush_depth|NN CV* cv
06c841cf 1284Amd |bool |sv_2bool |NN SV *const sv
9d176cd8 1285Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1286Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1287 |const I32 lref
1288Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1289#if defined(PERL_IN_SV_C)
19f6321d 1290s |bool |glob_2number |NN GV* const gv
180488f8 1291#endif
1061065f
DD
1292Amb |IV |sv_2iv |NN SV *sv
1293Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1294Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1295Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1296: Used in pp.c, pp_hot.c, sv.c
5de3775c 1297pMd |SV* |sv_2num |NN SV *const sv
1061065f
DD
1298Amb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1299Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
fe46cbda 1300Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
a901b181 1301Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
aec46f14 1302Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
1061065f
DD
1303Amb |UV |sv_2uv |NN SV *sv
1304Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
4373e329
AL
1305Apd |IV |sv_iv |NN SV* sv
1306Apd |UV |sv_uv |NN SV* sv
1307Apd |NV |sv_nv |NN SV* sv
4048f010
NC
1308Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1309Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1310Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1311Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1312#if defined(PERL_IN_SV_C)
d2bd4e7f
NC
1313sd |void |sv_add_arena |NN char *const ptr|const U32 size \
1314 |const U32 flags
1315#endif
aad570aa 1316Apd |int |sv_backoff |NN SV *const sv
12964ddd 1317Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
66ceb532
SS
1318Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1319Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1320 |NULLOK va_list *const args
2b021c53 1321Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
4048f010
NC
1322Amdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1323Amdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1324Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1325: Used only in perl.c
94bdecf9 1326pd |I32 |sv_clean_all
67022846 1327: Used only in perl.c
94bdecf9 1328pd |void |sv_clean_objs
5239d5c4 1329Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe
FC
1330#if defined(PERL_IN_SV_C)
1331s |bool |curse |NN SV * const sv|const bool check_refcnt
1332#endif
e8c9c9d4 1333Aopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1334Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1335 |const U32 flags
e8c9c9d4 1336Aopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1337Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1338 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1339#if defined(USE_LOCALE_COLLATE)
078504b2
FC
1340Amd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
1341Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1342#endif
4373e329 1343Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1344Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1345Apd |void |sv_dec_nomg |NULLOK SV *const sv
f54cb97a 1346Ap |void |sv_dump |NN SV* sv
15f169a1 1347ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1348ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1349ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1350ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1351 |const STRLEN len|U32 flags
15f169a1 1352ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1353ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1354ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1355ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1356 |U32 flags
078504b2 1357Amd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1358Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1359Apd |void |sv_free |NULLOK SV *const sv
75a9bf96 1360poMX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1361: Used only in perl.c
94bdecf9 1362pd |void |sv_free_arenas
ac1e9476 1363Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1364Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1365Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1366Apd |void |sv_inc_nomg |NULLOK SV *const sv
84335ee9
NC
1367Amdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
1368 |const STRLEN len|NN const char *const little \
1369 |const STRLEN littlelen
c0dd94a0
VP
1370Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
1371 |NN const char *const little|const STRLEN littlelen|const U32 flags
12964ddd 1372Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1373Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1374Apd |STRLEN |sv_len |NULLOK SV *const sv
1375Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1376p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1377Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1378 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1379Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1380 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1381 |const I32 namlen
96c2a8ff 1382: exported for re.pm
d4431b89 1383EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
108cb980
FC
1384ApdbamR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
1385XpaR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1386ApdR |SV* |sv_newmortal
af828c01 1387Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1388Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1389Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1390Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1391 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1392Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1393Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1394 |U32 flags
aec46f14 1395Amdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1396Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1397Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1398Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1399Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1400 |NN char* tstr|int tlen
12964ddd 1401ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
a15456de 1402pd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1403Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1404Apd |void |sv_report_used
23f13727 1405Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1406p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1407 |NULLOK HV *const stash
89e38212
SS
1408Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1409Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1410Apd |void |sv_setiv |NN SV *const sv|const IV num
89e38212 1411Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1412Apd |void |sv_setuv |NN SV *const sv|const UV num
1413Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1414Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1415Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1416Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1417Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1418 |NULLOK void *const pv
1419Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1420 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1421Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1422Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
70b71ec8 1423Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
4048f010 1424Amdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
aae9cea0 1425Amdb |void |sv_taint |NN SV* sv
89e38212 1426ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1427Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1428Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
174c73e3 1429Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1430Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1431Apd |void |sv_untaint |NN SV *const sv
aad570aa 1432Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1433Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1434Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1435 |const U32 flags
66ceb532
SS
1436Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1437 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1438 |NULLOK bool *const maybe_tainted
4bac9ae4
CS
1439Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1440 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1441 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1442Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1443 |NULLOK va_list *const args|NULLOK SV **const svargs \
1444 |const I32 svmax|NULLOK bool *const maybe_tainted
aec46f14 1445ApR |NV |str_to_version |NN SV *sv
823d1b2e 1446ApR |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
680c470c 1447Ap |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1448#ifdef PERL_IN_REGCOMP_C
a25abddc 1449EiMR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
9d501133 1450EsM |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
f1b67122 1451EiMR |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
a25abddc 1452EiMR |UV* |invlist_array |NN SV* const invlist
a25abddc 1453EsM |void |invlist_extend |NN SV* const invlist|const UV len
a25abddc 1454EiMR |UV |invlist_max |NN SV* const invlist
bb023b4f 1455EiM |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
15896d2f
KW
1456EiMR |IV* |get_invlist_previous_index_addr|NN SV* invlist
1457EiMR |IV |invlist_previous_index|NN SV* const invlist
1458EiM |void |invlist_set_previous_index|NN SV* const invlist|const IV index
a25abddc 1459EiM |void |invlist_trim |NN SV* const invlist
25e94a65 1460EiMR |SV* |invlist_clone |NN SV* const invlist
f799ce5b 1461EiMR |bool |invlist_is_iterating|NN SV* const invlist
3388db2c 1462EiMR |STRLEN*|get_invlist_iter_addr |NN SV* invlist
f3dc70d1
KW
1463EiM |void |invlist_iterinit|NN SV* invlist
1464EsMR |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
69527dbd 1465EiM |void |invlist_iterfinish|NN SV* invlist
4f3e8b0f 1466EiMR |UV |invlist_highest|NN SV* const invlist
839cfe5d
KW
1467#endif
1468#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
52ae8f7e 1469EXmM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
a0316a6c
KW
1470EXpM |void |_invlist_intersection_maybe_complement_2nd \
1471 |NULLOK SV* const a|NN SV* const b \
1472 |const bool complement_b|NN SV** i
164173a2 1473EXmM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
a0316a6c
KW
1474EXpM |void |_invlist_union_maybe_complement_2nd \
1475 |NULLOK SV* const a|NN SV* const b \
1476 |const bool complement_b|NN SV** output
3f80b571 1477EXmM |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
50b01e0c 1478EXpM |void |_invlist_invert|NN SV* const invlist
47b34d72
KW
1479EXMpR |SV* |_new_invlist |IV initial_size
1480EXMpR |SV* |_swash_to_invlist |NN SV* const swash
9d501133 1481EXMpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|const UV start|const UV end
31aa6e0b 1482EXMpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
b6a0ff33 1483EXMp |void |_invlist_populate_swatch |NN SV* const invlist|const UV start|const UV end|NN U8* swatch
d764b54e 1484#endif
7baadcd0 1485#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
83199d38 1486EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name \
5d3d13d1 1487 |NN SV* listsv|I32 minbits|I32 none \
83199d38 1488 |NULLOK SV* invlist|NULLOK U8* const flags_p
7baadcd0
KW
1489#endif
1490#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
b2b97e77 1491EXMpR |SV* |_invlist_contents|NN SV* const invlist
4c60406d 1492EiMR |bool* |get_invlist_offset_addr|NN SV* invlist
9e7f4f43
KW
1493EiMR |UV |_invlist_len |NN SV* const invlist
1494EMiR |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
1495EXpMR |IV |_invlist_search |NN SV* const invlist|const UV cp
3fdfee00 1496EXMpR |SV* |_get_swash_invlist|NN SV* const swash
fb241e71 1497EXMpR |HV* |_swash_inversion_hash |NN SV* const swash
ad3f05ad
KW
1498#endif
1499#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
1500EXMp |void |_invlist_dump |NN PerlIO *file|I32 level \
1501 |NN const char* const indent \
1502 |NN SV* const invlist
c4a5db0c 1503#endif
94bdecf9 1504Ap |void |taint_env
6fd06953 1505Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
9a957fbc 1506Apd |UV |to_utf8_case |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp \
7bee57f6 1507 |NN SV **swashp|NN const char *normal|NULLOK const char *special
0c9b0438
KW
1508Abmd |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1509AMp |UV |_to_utf8_lower_flags |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp|const bool flags|NULLOK bool* tainted_ptr
1510Abmd |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1511AMp |UV |_to_utf8_upper_flags |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp|const bool flags|NULLOK bool* tainted_ptr
1512Abmd |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1513AMp |UV |_to_utf8_title_flags |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp|const bool flags|NULLOK bool* tainted_ptr
1514Abmd |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
1515AMp |UV |_to_utf8_fold_flags|NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags|NULLOK bool* tainted_ptr
83f78d1a
FC
1516#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
1517p |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
1518 |bool pos1_is_uv|IV len_iv \
1519 |bool len_is_uv|NN STRLEN *posp \
1520 |NN STRLEN *lenp
1521#endif
94bdecf9 1522#if defined(UNLINK_ALL_VERSIONS)
6e732051 1523Ap |I32 |unlnk |NN const char* f
94bdecf9 1524#endif
aec46f14
AL
1525Apd |I32 |unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
1526 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1527 |I32 ocnt|U32 flags
1528Apd |I32 |unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
1529 |NN const char *strend|U32 flags
1530Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1531: Used in gv.c, hv.c
78197f2f 1532p |void |unshare_hek |NULLOK HEK* hek
67022846 1533: Used in perly.y
eb8433b7
NC
1534#ifdef PERL_MAD
1535p |OP * |utilize |int aver|I32 floor|NULLOK OP* version \
1536 |NN OP* idop|NULLOK OP* arg
1537#else
aec46f14 1538p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
eb8433b7 1539#endif
aec46f14
AL
1540Ap |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1541Ap |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
a3b680e6
AL
1542AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
1543ApdPR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
1544ApdPR |U8* |utf8_hop |NN const U8 *s|I32 off
4373e329 1545ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *len
fed3ba5d
NC
1546Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
1547 |STRLEN ulen
aec46f14
AL
1548ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8
1549ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len
977c1d31
KW
1550ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1551ApdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
5495102a 1552ApMD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
de69f3af 1553Amd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
4f83cdcd 1554ApdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
211dff67 1555pM |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 1556
aec46f14 1557Adp |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
010ab96b 1558ApM |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1754c1a1 1559
378516de 1560Ap |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 1561
de69f3af 1562Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
a27992cc 1563Ap |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 1564Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
378516de
KW
1565Apd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
1566Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1567Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1568ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
d67fec57 1569: Used by Data::Alias
6d9a2efc 1570EXp |void |vivify_defelem |NN SV* sv
67022846 1571: Used in pp.c
9026059d 1572pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 1573: Used in pp_sys.c
aec46f14 1574p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1575: Used in locale.c and perl.c
7827dc65 1576p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1577Ap |U32 |seed
3be8f094
TC
1578Xpno |double |drand48_r |NN perl_drand48_t *random_state
1579Xpno |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 1580: Only used in perl.c
a2098e20 1581p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 1582: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 1583p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
1584: Used in doio.c, pp_hot.c, pp_sys.c
1585p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 1586: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1587XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
1588#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
1589p |void |report_redefined_cv|NN const SV *name \
1590 |NN const CV *old_cv \
1591 |NULLOK SV * const *new_const_svp
1592#endif
c5df3096 1593Apd |void |warn_sv |NN SV *baseex
aec46f14 1594Afpd |void |warn |NN const char* pat|...
c5df3096 1595Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 1596Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1597Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1598Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1599Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
67022846 1600: FIXME
aec46f14 1601p |void |watch |NN char** addr
a377a099 1602Am |I32 |whichsig |NN const char* sig
84c7b88c
BF
1603Ap |I32 |whichsig_sv |NN SV* sigsv
1604Ap |I32 |whichsig_pv |NN const char* sig
1605Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
c8028aa6 1606: used to check for NULs in pathnames and other names
41188aa0 1607AiR |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
67022846 1608: Used in pp_ctl.c
7d0994e0 1609p |void |write_to_stderr|NN SV* msv
67022846 1610: Used in op.c
15f169a1 1611p |int |yyerror |NN const char *const s
19c62481
BF
1612p |int |yyerror_pv |NN const char *const s|U32 flags
1613p |int |yyerror_pvn |NN const char *const s|STRLEN len|U32 flags
d67fec57 1614: Used in perly.y, and by Data::Alias
6d9a2efc 1615EXp |int |yylex
28ac2b49 1616p |void |yyunlex
67022846 1617: Used in perl.c, pp_ctl.c
28ac2b49 1618p |int |yyparse |int gramtype
67022846 1619: Only used in scope.c
734c2451 1620p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
1621#ifdef PERL_CORE
1622p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
1623 |NN OPSLAB *slab
1624#endif
43869a0c 1625#if defined(PERL_IN_TOKE_C)
19c62481 1626s |int |yywarn |NN const char *const s|U32 flags
af41e527 1627#endif
94bdecf9 1628#if defined(MYMALLOC)
6e9b0e18 1629Ap |void |dump_mstats |NN const char* s
ec1aec95 1630Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1631#endif
4373e329
AL
1632Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1633Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
1634Anpa |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1635Anp |Free_t |safesysfree |Malloc_t where
d1decf2b 1636Asrnx |void |croak_memory_wrap
94bdecf9
JH
1637#if defined(PERL_GLOBAL_STRUCT)
1638Ap |struct perl_vars *|GetVars
77304e85 1639Ap |struct perl_vars*|init_global_struct
7827dc65 1640Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1641#endif
1642Ap |int |runops_standard
1643Ap |int |runops_debug
66ceb532
SS
1644Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
1645Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
1646 |NULLOK va_list *const args
2b021c53 1647Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 1648Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 1649Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
1650Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
1651Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
1652 |NULLOK va_list *const args
aad570aa 1653Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
89e38212 1654Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
1655Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
1656Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
1657Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
1658Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 1659Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 1660Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 1661ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 1662Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 1663 |STRLEN pvlim
ddc5bc0f 1664Apd |char* |pv_escape |NN SV *dsv|NN char const * const str\
ab3bbdeb
YO
1665 |const STRLEN count|const STRLEN max\
1666 |NULLOK STRLEN * const escaped\
1667 |const U32 flags
ddc5bc0f 1668Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 1669 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
1670 |NULLOK char const * const start_color\
1671 |NULLOK char const * const end_color\
ab3bbdeb 1672 |const U32 flags
aec46f14
AL
1673Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
1674Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
1675 |NULLOK va_list *args
b4390064
NC
1676Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
1677 |NULLOK GV *sv
1678Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
1679 |NULLOK GV *sv
4c31e473
NC
1680Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
1681 |NULLOK HV *sv
aec46f14 1682Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NN const MAGIC *mg|I32 nest \
94bdecf9 1683 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
1684Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
1685Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 1686Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 1687 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 1688Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 1689Ap |void |reginitcolors
cb2f1b7b
NC
1690ApdRmb |char* |sv_2pv_nolen |NN SV* sv
1691ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
1692ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
b64e5050
AL
1693AmdbR |char* |sv_pv |NN SV *sv
1694AmdbR |char* |sv_pvutf8 |NN SV *sv
1695AmdbR |char* |sv_pvbyte |NN SV *sv
1696Amdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 1697Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
7bc54cea
SS
1698ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
1699Apd |void |sv_utf8_encode |NN SV *const sv
1700ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 1701Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 1702Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
e8eb279c 1703Ap |void |tmps_grow |SSize_t n
2b021c53 1704Apd |SV* |sv_rvweaken |NN SV *const sv
67022846 1705: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 1706p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 1707Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91
DD
1708Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
1709pX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 1710 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 1711 |bool o_is_gv
50278755 1712Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 1713 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 1714p |CV* |newSTUB |NN GV *gv|bool fake
67022846 1715: Used in perly.y
46c461b5 1716p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 1717#if defined(USE_ITHREADS)
6c047da7
YST
1718ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
1719ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
aec46f14 1720Apa |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
1721ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
1722ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
1723ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
1724Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
1725 |NN CLONE_PARAMS* param
66ceb532 1726Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 1727ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 1728ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 1729ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 1730#if defined(PERL_IN_SV_C)
538f2e76
NC
1731s |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
1732 |SSize_t items|NN CLONE_PARAMS *const param
d08d57ef
NC
1733sR |SV* |sv_dup_common |NN const SV *const sstr \
1734 |NN CLONE_PARAMS *const param
1735#endif
1eb6e4ca 1736ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
1737ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
1738 |NN CLONE_PARAMS *const param
1eb6e4ca 1739Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 1740Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 1741#endif
53c1dcc0 1742Apa |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
1743ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
1744Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1745 |NN void *const newsv
1746Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 1747ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 1748Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 1749#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
1750Ap |void |sys_intern_clear
1751Ap |void |sys_intern_init
fe826663
NC
1752# if defined(USE_ITHREADS)
1753Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
1754# endif
94bdecf9
JH
1755#endif
1756
ae103e09 1757AmopP |const XOP * |custom_op_xop |NN const OP *o
4048f010
NC
1758ApR |const char * |custom_op_name |NN const OP *o
1759ApR |const char * |custom_op_desc |NN const OP *o
ae103e09 1760pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
1830b3d9
BM
1761Aop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
1762 |NN const XOP *xop
94bdecf9 1763
c48640ec
AL
1764Adp |void |sv_nosharing |NULLOK SV *sv
1765Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 1766Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 1767#ifdef NO_MATHOMS
c48640ec 1768Adpbm |void |sv_nounlocking |NULLOK SV *sv
d0647d4e
NC
1769#else
1770Adpb |void |sv_nounlocking |NULLOK SV *sv
1771#endif
62375a60 1772Adp |int |nothreadhook
0d96b528 1773p |void |init_constants
94bdecf9 1774
43869a0c 1775#if defined(PERL_IN_DOOP_C)
c395bd6c
AL
1776sR |I32 |do_trans_simple |NN SV * const sv
1777sR |I32 |do_trans_count |NN SV * const sv
1778sR |I32 |do_trans_complex |NN SV * const sv
1779sR |I32 |do_trans_simple_utf8 |NN SV * const sv
1780sR |I32 |do_trans_count_utf8 |NN SV * const sv
1781sR |I32 |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
1782#endif
1783
43869a0c 1784#if defined(PERL_IN_GV_C)
e6066781 1785s |void |gv_init_svtype |NN GV *gv|const svtype sv_type
290a1700 1786s |void |gv_magicalize_isa |NN GV *gv
90aeefb4
BF
1787s |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
1788 |NN const char **name|NN STRLEN *len \
1789 |NN const char *nambeg|STRLEN full_len \
1790 |const U32 is_utf8|const I32 add
1791s |bool|find_default_stash|NN HV **stash|NN const char *name \
1792 |STRLEN len|const U32 is_utf8|const I32 add \
1793 |svtype sv_type
930867a8 1794s |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
71c35c05
BF
1795 |STRLEN len|bool addmg \
1796 |svtype sv_type
070dc475 1797s |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
536d1a88
BF
1798s |bool|gv_is_in_main|NN const char *name|STRLEN len \
1799 |const U32 is_utf8
44a2ac75
YO
1800s |HV* |require_tie_mod|NN GV *gv|NN const char *varpv|NN SV* namesv \
1801 |NN const char *methpv|const U32 flags
94bdecf9
JH
1802#endif
1803
e0171a1a
DM
1804#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
1805po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
1806#endif
1807
43869a0c 1808#if defined(PERL_IN_HV_C)
adf6906b 1809s |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
3abe233e 1810s |void |hfreeentries |NN HV *hv
a03199ea 1811s |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
53c1dcc0 1812sa |HE* |new_he
5f66b61c 1813sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 1814sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 1815s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
4048f010 1816sR |HEK* |share_hek_flags|NN const char *str|I32 len|U32 hash|int flags
1df70142 1817rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
ec79994d 1818in |U32|ptr_hash|PTRV u
0e0ab621 1819s |struct xpvhv_aux*|hv_auxinit|NN HV *hv
4048f010
NC
1820sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
1821 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
1822 |U32 hash
1823sM |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
1824#endif
1825
43869a0c 1826#if defined(PERL_IN_MG_C)
ff44333e 1827s |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
36925d9e 1828-s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
efaf3674 1829s |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 1830 |NN SV *meth|U32 flags \
aec46f14 1831 |int n|NULLOK SV *val
251cc6a6 1832s |void |restore_magic |NULLOK const void *p
0c4d3b5e 1833s |void |unwind_handler_stack|NULLOK const void *p
d9fe7d23 1834s |void |fixup_errno_string|NN SV* sv
8772537c 1835
94bdecf9
JH
1836#endif
1837
43869a0c 1838#if defined(PERL_IN_OP_C)
5f66b61c 1839sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
aec46f14 1840sR |I32 |is_list_assignment|NULLOK const OP *o
23083432 1841s |void |forget_pmop |NN PMOP *const o
bfd0ff22 1842s |void |find_and_forget_pmops |NN OP *o
504618e9 1843s |void |cop_free |NN COP *cop
46c461b5 1844s |OP* |modkids |NULLOK OP *o|I32 type
504618e9
AL
1845s |OP* |scalarboolean |NN OP *o
1846sR |OP* |newDEFSVOP
71c4dbc3 1847sR |OP* |search_const |NN OP *o
504618e9
AL
1848sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
1849s |void |simplify_sort |NN OP *o
ce16c625 1850s |SV* |gv_ename |NN GV *gv
1ecbeecf 1851sRn |bool |scalar_mod_type|NULLOK const OP *o|I32 type
aec46f14
AL
1852s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
1853s |OP * |dup_attrlist |NN OP *o
ad0dc73b 1854s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
aec46f14 1855s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
ce16c625 1856s |void |bad_type_pv |I32 n|NN const char *t|NN const char *name|U32 flags|NN const OP *kid
7b3b0904 1857s |void |bad_type_gv |I32 n|NN const char *t|NN GV *gv|U32 flags|NN const OP *kid
eb796c7f 1858s |void |no_bareword_allowed|NN OP *o
504618e9 1859sR |OP* |no_fh_allowed|NN OP *o
ce16c625
BF
1860sR |OP* |too_few_arguments_sv|NN OP *o|NN SV* namesv|U32 flags
1861sR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
1862s |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
1863sR |OP* |too_many_arguments_sv|NN OP *o|NN SV* namesv|U32 flags
ef519e13 1864s |bool |looks_like_bool|NN const OP* o
0d863452
RH
1865s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
1866 |I32 enter_opcode|I32 leave_opcode \
1867 |PADOFFSET entertarg
1868s |OP* |ref_array_or_hash|NULLOK OP* cond
d699ecb7
FC
1869s |void |process_special_blocks |I32 floor \
1870 |NN const char *const fullname\
33fb7a6e 1871 |NN GV *const gv|NN CV *const cv
c7e45529 1872#endif
8be227ab
FC
1873Xpa |void* |Slab_Alloc |size_t sz
1874Xp |void |Slab_Free |NN void *op
1875#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 1876# if defined(PERL_CORE)
3107b51f 1877px |void |Slab_to_ro |NN OPSLAB *slab
7bbbc3c0 1878px |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 1879# endif
67022846 1880: Used in OpREFCNT_inc() in sv.c
fc97af9c 1881poxM |OP * |op_refcnt_inc |NULLOK OP *o
67022846 1882: FIXME - can be static.
fc97af9c 1883poxM |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
1884#endif
1885
43869a0c 1886#if defined(PERL_IN_PERL_C)
2f9285f8 1887s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 1888s |void |forbid_setid |const char flag|const bool suidscript
08d0d8ab 1889s |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 1890 |U32 flags
c29067d7
CH
1891s |SV* |mayberelocate |NN const char *const dir|STRLEN len \
1892 |U32 flags
50d61629 1893s |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
94bdecf9
JH
1894s |void |init_interp
1895s |void |init_ids
94bdecf9 1896s |void |init_main_stash
2cace6ac 1897s |void |init_perllib
aec46f14 1898s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
1899s |void |init_predump_symbols
1900rs |void |my_exit_jump
1901s |void |nuke_stacks
8d113837
NC
1902s |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
1903 |NN bool *suidscript
b6f82619 1904sr |void |usage
cc69b689 1905#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
ec2019ad 1906so |void |validate_suid |NN PerlIO *rsfp
ec2019ad 1907#endif
c4bc78d9 1908sr |void |minus_v
2f9285f8 1909
aec46f14 1910s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 1911rs |void |run_body |I32 oldscope
59d6f6a4 1912# ifndef PERL_IS_MINIPERL
7ffdaae6 1913s |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 1914# endif
94bdecf9
JH
1915#endif
1916
43869a0c 1917#if defined(PERL_IN_PP_C)
81745e4e 1918s |void |do_chomp |NN SV *retval|NN SV *sv|bool chomping
7332a6c4 1919s |OP* |do_delete_local
aec46f14 1920sR |SV* |refto |NN SV* sv
94bdecf9 1921#endif
43869a0c 1922#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 1923: Used in pp_hot.c
dc3c76f8 1924pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 1925 |const svtype type|NN SV ***spp
dc3c76f8 1926#endif
94bdecf9 1927
43869a0c 1928#if defined(PERL_IN_PP_PACK_C)
aec46f14
AL
1929s |I32 |unpack_rec |NN struct tempsym* symptr|NN const char *s \
1930 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
1931s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329
AL
1932s |SV* |mul128 |NN SV *sv|U8 m
1933s |I32 |measure_struct |NN struct tempsym* symptr
1934s |bool |next_symbol |NN struct tempsym* symptr
1df70142 1935sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 1936s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
1937s |const char *|group_end |NN const char *patptr|NN const char *patend \
1938 |char ender
1939sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
aec46f14
AL
1940ns |bool |need_utf8 |NN const char *pat|NN const char *patend
1941ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 1942sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
3a88beaa
NC
1943snR |char * |bytes_to_uni |NN const U8 *start|STRLEN len|NN char *dest \
1944 |const bool needs_swap
94bdecf9
JH
1945#endif
1946
43869a0c 1947#if defined(PERL_IN_PP_CTL_C)
46c461b5 1948sR |OP* |docatch |NULLOK OP *o
5db1eb8d
BF
1949sR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
1950 |U32 flags|NN OP **opstack|NN OP **oplimit
74e0ddf7 1951s |MAGIC *|doparseform |NN SV *sv
901017d6
AL
1952snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
1953sR |I32 |dopoptoeval |I32 startingblock
0d863452 1954sR |I32 |dopoptogiven |I32 startingblock
5db1eb8d 1955sR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
901017d6 1956sR |I32 |dopoptoloop |I32 startingblock
aec46f14 1957sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
0d863452 1958sR |I32 |dopoptowhen |I32 startingblock
46c461b5 1959s |void |save_lines |NULLOK AV *array|NN SV *sv
104a8185 1960s |bool |doeval |int gimme \
f45b078d 1961 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
282b29ee 1962sR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 1963#ifndef PERL_DISABLE_PMC
282b29ee 1964sR |PerlIO *|doopen_pm |NN SV *name
75c20bac 1965#endif
2ec7f6f2
FC
1966s |SV ** |adjust_stack_on_leave|NN SV **newsp|NN SV **sp|NN SV **mark|I32 gimme \
1967 |U32 flags|bool lvalue
511712dc 1968iRn |bool |path_is_searchable|NN const char *name
0bd48802 1969sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
84679df5 1970sR |PMOP* |make_matcher |NN REGEXP* re
0d863452
RH
1971sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
1972s |void |destroy_matcher|NN PMOP* matcher
be88a5c3
FC
1973s |OP* |do_smartmatch |NULLOK HV* seen_this \
1974 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
1975#endif
1976
43869a0c 1977#if defined(PERL_IN_PP_HOT_C)
fb8f4cf8 1978s |void |do_oddball |NN SV **oddkey|NN SV **firstkey
46c461b5 1979sR |SV* |method_common |NN SV* meth|NULLOK U32* hashp
94bdecf9
JH
1980#endif
1981
43869a0c 1982#if defined(PERL_IN_PP_SORT_C)
31e9e0a3
SH
1983s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
1984s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
1985s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
1986s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
1987s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
1988s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
1989s |I32 |sortcv |NN SV *const a|NN SV *const b
1990s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
1991s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
3d4dd4c7 1992s |void |qsortsvu |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t compare
f0f5dc9d
AL
1993#endif
1994
43869a0c 1995#if defined(PERL_IN_PP_SYS_C)
b464bac0 1996s |OP* |doform |NN CV *cv|NN GV *gv|NN OP *retop
94bdecf9 1997# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 1998sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 1999# endif
5cdc4e88 2000s |SV * |space_join_names_mortal|NN char *const *array
94bdecf9 2001#endif
3e0cb5de 2002p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2003 |NN SV *const sv|NN const MAGIC *const mg \
2004 |const U32 flags|U32 argc|...
94bdecf9 2005
43869a0c 2006#if defined(PERL_IN_REGCOMP_C)
09b2b2e6 2007Es |regnode*|reg |NN RExC_state_t *pRExC_state \
4048f010 2008 |I32 paren|NN I32 *flagp|U32 depth
09b2b2e6 2009Es |regnode*|reganode |NN RExC_state_t *pRExC_state|U8 op \
4048f010 2010 |U32 arg
09b2b2e6 2011Es |regnode*|regatom |NN RExC_state_t *pRExC_state \
4048f010 2012 |NN I32 *flagp|U32 depth
09b2b2e6 2013Es |regnode*|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2014 |NN I32 *flagp|I32 first|U32 depth
09b2b2e6 2015Es |STRLEN |reguni |NN const RExC_state_t *pRExC_state \
4048f010 2016 |UV uv|NN char *s
09b2b2e6 2017Es |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2018 |NN regnode* const node \
9991ebf1 2019 |NULLOK SV* const cp_list \
d2b7f31e 2020 |NULLOK SV* const runtime_defns \
9991ebf1
KW
2021 |NULLOK SV* const swash \
2022 |const bool has_user_defined_property
09b2b2e6 2023Es |regnode*|regclass |NN RExC_state_t *pRExC_state \
8316ead6 2024 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2025 |bool allow_multi_fold \
41029968
KW
2026 |const bool silence_non_portable \
2027 |NULLOK SV** ret_invlist
09b2b2e6
KW
2028Es |bool|could_it_be_a_POSIX_class|NN RExC_state_t *pRExC_state
2029Es |regnode*|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2030 |NULLOK SV ** return_invlist \
f4f5fe57 2031 |NN I32 *flagp|U32 depth \
9d1a5160 2032 |NN char * const oregcomp_parse
09b2b2e6
KW
2033Es |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2034Es |regnode*|reg_node |NN RExC_state_t *pRExC_state|U8 op
c86f7df5 2035Es |UV |reg_recode |const char value|NN SV **encp
09b2b2e6 2036Es |regnode*|regpiece |NN RExC_state_t *pRExC_state \
4048f010 2037 |NN I32 *flagp|U32 depth
09b2b2e6 2038Es |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
902994e4
KW
2039 |NULLOK regnode** nodep|NULLOK UV *valuep \
2040 |NN I32 *flagp|U32 depth|bool in_char_class \
2041 |const bool strict
09b2b2e6 2042Es |void |reginsert |NN RExC_state_t *pRExC_state \
4048f010 2043 |U8 op|NN regnode *opnd|U32 depth
09b2b2e6 2044Es |void |regtail |NN RExC_state_t *pRExC_state \
4048f010 2045 |NN regnode *p|NN const regnode *val|U32 depth
09b2b2e6 2046Es |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2047 |U32 flags
09b2b2e6 2048Es |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2049 |NN regnode *scan|NN UV *min_subtract \
f758bddf
KW
2050 |NN bool *has_exactf_sharp_s \
2051 |U32 flags|NULLOK regnode *val|U32 depth
09b2b2e6 2052EsRn |char * |regwhite |NN RExC_state_t *pRExC_state \
4048f010 2053 |NN char *p
09b2b2e6 2054EsRn |char * |regpatws |NN RExC_state_t *pRExC_state \
f32e6ab4 2055 |NN char *p|const bool recognize_comment
09b2b2e6 2056Ei |void |alloc_maybe_populate_EXACT|NN RExC_state_t *pRExC_state \
34b39fc9
KW
2057 |NN regnode *node|NN I32 *flagp|STRLEN len \
2058 |UV code_point
09b2b2e6
KW
2059Ei |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
2060Es |char * |nextchar |NN RExC_state_t *pRExC_state
2061Es |bool |reg_skipcomment|NN RExC_state_t *pRExC_state
2062Es |void |scan_commit |NN const RExC_state_t *pRExC_state \
2063 |NN struct scan_data_t *data \
2064 |NN SSize_t *minlenp \
2065 |int is_inf
ecfdcf39 2066Es |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
3420edd7 2067Es |void |ssc_anything |NN regnode_ssc *ssc
cdd87c1d
KW
2068EsR |int |ssc_is_anything|NN const regnode_ssc *ssc
2069Es |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2070 |NN regnode_ssc *ssc
fb38762f
KW
2071EsR |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
2072 |NN const regnode_ssc *ssc
1ca93ef1
KW
2073Es |void |ssc_and |NN const RExC_state_t *pRExC_state \
2074 |NN regnode_ssc *ssc \
b8f7bb16 2075 |NN const regnode_ssc *and_with
fb38762f 2076Esn |void |ssc_flags_and |NN regnode_ssc *ssc|const U8 and_with
cdd87c1d 2077Es |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2078 |NN regnode_ssc *ssc \
b8f7bb16 2079 |NN const regnode_ssc *or_with
fb38762f
KW
2080Es |SV* |get_ANYOF_cp_list_for_ssc \
2081 |NN const RExC_state_t *pRExC_state \
2082 |NN const regnode_charclass_posixl* const node
2083Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2084 |NN SV* const invlist|const bool invert_2nd
2085Ei |void |ssc_union |NN regnode_ssc *ssc \
2086 |NN SV* const invlist|const bool invert_2nd
2087Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2088 |UV const start|UV const end
2089Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2090 |UV const cp
2091Ei |void |ssc_clear_locale|NN regnode_ssc *ssc
2092Es |void |ssc_finalize |NN RExC_state_t *pRExC_state \
2093 |NN regnode_ssc *ssc
09b2b2e6 2094Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2095 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2096 |NN SSize_t *deltap|NN regnode *last \
4048f010 2097 |NULLOK struct scan_data_t *data \
09a65838 2098 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2099 |NULLOK regnode_ssc *and_withp \
a3621e74 2100 |U32 flags|U32 depth
c8a27964 2101EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2102 |NN const char* const s|const U32 n
c1d900c3 2103rs |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
09b2b2e6 2104Ei |I32 |regpposixcc |NN RExC_state_t *pRExC_state \
5a4ca00e 2105 |I32 value|const bool strict
09b2b2e6 2106Es |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2107 |NN regnode *startbranch|NN regnode *first \
2108 |NN regnode *last|NN regnode *tail \
786e8c11 2109 |U32 word_count|U32 flags|U32 depth
09b2b2e6 2110Es |void |make_trie_failtable |NN RExC_state_t *pRExC_state \
4048f010
NC
2111 |NN regnode *source|NN regnode *stclass \
2112 |U32 depth
3dab1dad 2113# ifdef DEBUGGING
337ff307 2114Es |void |regdump_intflags|NULLOK const char *lead| const U32 flags
f7819f85 2115Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
2116Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
2117 |NN const regnode *node \
786e8c11
YO
2118 |NULLOK const regnode *last \
2119 |NULLOK const regnode *plast \
2120 |NN SV* sv|I32 indent|U32 depth
3dab1dad 2121Es |void |put_byte |NN SV* sv|int c
3ae1b384 2122Es |bool |put_latin1_charclass_innards|NN SV* sv|NN char* bitmap
55eed653 2123Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2124 |NULLOK HV* widecharmap|NN AV *revcharmap\
2125 |U32 depth
55eed653 2126Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2127 |NULLOK HV* widecharmap|NN AV *revcharmap\
2128 |U32 next_alloc|U32 depth
55eed653 2129Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2130 |NULLOK HV* widecharmap|NN AV *revcharmap\
2131 |U32 next_alloc|U32 depth
09b2b2e6 2132Es |U8 |regtail_study |NN RExC_state_t *pRExC_state \
4048f010 2133 |NN regnode *p|NN const regnode *val|U32 depth
3dab1dad 2134# endif
94bdecf9
JH
2135#endif
2136
43869a0c 2137#if defined(PERL_IN_REGEXEC_C)
31c7f561 2138ERs |bool |isFOO_lc |const U8 classnum|const U8 character
3018b823 2139ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character
99a90e59 2140ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
272d35c9 2141ERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b
DM
2142 |NN const regnode *p \
2143 |NN regmatch_info *const reginfo \
2144 |I32 max \
f9176b44 2145 |int depth
f73aaa43 2146ERs |I32 |regtry |NN regmatch_info *reginfo|NN char **startposp
3db24e1e
KW
2147ERs |bool |reginclass |NULLOK regexp * const prog \
2148 |NN const regnode * const n \
2149 |NN const U8 * const p \
2150 |NN const U8 * const p_end \
635cd5d4 2151 |bool const utf8_target
92da3157
DM
2152Es |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
2153 |U32 maxopenparen
2154Es |void |regcppop |NN regexp *rex\
2155 |NN U32 *maxopenparen_p
ea3daa5d 2156ERsn |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
6c6525b8
KW
2157ERsM |SV* |core_regclass_swash|NULLOK const regexp *prog \
2158 |NN const struct regnode *node|bool doinit \
e0193e47 2159 |NULLOK SV **listsvp
f9f4320a 2160#ifdef XXX_dmq
ea3daa5d 2161ERsn |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2162 |NN const U8 *rlim
f9f4320a 2163#endif
ea3daa5d 2164ERsn |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 *lim
984e6dd1
DM
2165ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c \
2166 |NN char *s|NN const char *strend \
f9176b44 2167 |NULLOK regmatch_info *reginfo
a3b680e6 2168Es |void |to_utf8_substr |NN regexp * prog
7e0d5ad7 2169Es |bool |to_byte_substr |NN regexp * prog
4048f010
NC
2170ERs |I32 |reg_check_named_buff_matched |NN const regexp *rex \
2171 |NN const regnode *scan
07be1b83 2172# ifdef DEBUGGING
786e8c11
YO
2173Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
2174 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8
efd26800
NC
2175Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
2176 |NN const char *start|NN const char *end\
2177 |NN const char *blurb
07be1b83 2178# endif
94bdecf9
JH
2179#endif
2180
43869a0c 2181#if defined(PERL_IN_DUMP_C)
2cedf74c 2182s |CV* |deb_curcv |const I32 ix
46c461b5 2183s |void |debprof |NN const OP *o
0bd48802 2184s |UV |sequence_num |NULLOK const OP *o
4199688e 2185s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2186#endif
2187
43869a0c 2188#if defined(PERL_IN_SCOPE_C)
af7df257 2189s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2190#endif
2191
4c74a7df 2192#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2193: Used in gv.c
2b021c53 2194po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2195#endif
2196
43869a0c 2197#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2198: Used in hv.c and mg.c
5648c0ae 2199poM |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2200#endif
2201
579333ee
FC
2202#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2203pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2204 |PADOFFSET targ|NULLOK const SV *const keyname \
2205 |I32 aindex|int subscript_type
2206#endif
2207
4c74a7df 2208pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2209#if defined(PERL_IN_SV_C)
5de3775c 2210nsR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2211i |void |sv_unglob |NN SV *const sv|U32 flags
8140a7a8 2212s |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
aad570aa 2213s |void |not_a_number |NN SV *const sv
8140a7a8 2214s |void |not_incrementable |NN SV *const sv
de37a194 2215s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2216# ifdef DEBUGGING
46c461b5 2217s |void |del_sv |NN SV *p
94bdecf9
JH
2218# endif
2219# if !defined(NV_PRESERVES_UV)
47031da6 2220# ifdef DEBUGGING
5de3775c 2221s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2222# else
5de3775c 2223s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2224# endif
94bdecf9 2225# endif
66ceb532 2226sR |I32 |expect_number |NN char **const pattern
721e86b6 2227sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2228 |NN const U8 *const send|NN STRLEN *const uoffset \
2229 |NN bool *const at_end
721e86b6 2230sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2231 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
af828c01 2232s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2233 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2234 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ec49a12c
NC
2235s |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2236 |const STRLEN ulen
ac1e9476
SS
2237s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2238 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
2239s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2240 |NN const U8 *end|STRLEN endu
9df83ffd
NC
2241s |void |assert_uft8_cache_coherent|NN const char *const func \
2242 |STRLEN from_cache|STRLEN real|NN SV *const sv
66ceb532 2243sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 2244# if defined(PERL_OLD_COPY_ON_WRITE)
5302ffd4 2245sM |void |sv_release_COW |NN SV *sv|NN const char *pvx|NN SV *after
5f66b61c
AL
2246# endif
2247s |SV * |more_sv
5de3775c 2248s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
2249s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
2250 |const int dtype
2251s |void |glob_assign_ref|NN SV *const dstr|NN SV *const sstr
1eb6e4ca 2252sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
803f2748 2253s |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2254#endif
2255
ecf9cdab
NC
2256: Used in sv.c and hv.c
2257po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2258 |const size_t arena_size
2259
43869a0c 2260#if defined(PERL_IN_TOKE_C)
94bdecf9
JH
2261s |void |check_uni
2262s |void |force_next |I32 type
4048f010 2263s |char* |force_version |NN char *s|int guessing
91152fc1 2264s |char* |force_strict_version |NN char *s
46c461b5 2265s |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2266 |int allow_pack
46c461b5 2267s |SV* |tokeq |NN SV *sv
46c461b5 2268sR |char* |scan_const |NN char *start
6f613c73
KW
2269iR |SV* |get_and_check_backslash_N_name|NN const char* s \
2270 |NN const char* const e
46c461b5
AL
2271sR |char* |scan_formline |NN char *s
2272sR |char* |scan_heredoc |NN char *s
b5248d1e 2273s |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2274 |STRLEN destlen|I32 ck_uni
46c461b5
AL
2275sR |char* |scan_inputsymbol|NN char *start
2276sR |char* |scan_pat |NN char *start|I32 type
d24ca0c5 2277sR |char* |scan_str |NN char *start|int keep_quoted \
4d68ffa0 2278 |int keep_delims|int re_reparse \
e68dd03a
FC
2279 |bool deprecate_escaped_matching \
2280 |NULLOK char **delimp
46c461b5
AL
2281sR |char* |scan_subst |NN char *start
2282sR |char* |scan_trans |NN char *start
2283s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
2284 |int allow_package|NN STRLEN *slp
5fa550fb 2285s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2286 |NULLOK const char *const buf|STRLEN len
21791330 2287sR |char* |skipspace_flags|NN char *s|U32 flags
46c461b5 2288sR |char* |swallow_bom |NN U8 *s
a28af015
NC
2289#ifndef PERL_NO_UTF16_FILTER
2290s |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
81a923f4 2291s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2292#endif
c94115d8
NC
2293s |void |checkcomma |NN const char *s|NN const char *name \
2294 |NN const char *what
46c461b5 2295s |void |force_ident |NN const char *s|int kind
3f33d153 2296s |void |force_ident_maybe_lex|char pit
d9095cec 2297s |void |incline |NN const char *s
62d55b22 2298s |int |intuit_method |NN char *s|NULLOK GV *gv|NULLOK CV *cv
46c461b5
AL
2299s |int |intuit_more |NN char *s
2300s |I32 |lop |I32 f|int x|NN char *s
2301rs |void |missingterm |NULLOK char *s
15f169a1 2302s |void |no_op |NN const char *const what|NULLOK char *s
3f33d153 2303s |int |pending_ident
46c461b5
AL
2304sR |I32 |sublex_done
2305sR |I32 |sublex_push
2306sR |I32 |sublex_start
5cc814fd 2307sR |char * |filter_gets |NN SV *sv|STRLEN append
9bde8eb0 2308sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 2309sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
2310so |SV* |new_constant |NULLOK const char *s|STRLEN len \
2311 |NN const char *key|STRLEN keylen|NN SV *sv \
2312 |NULLOK SV *pv|NULLOK const char *type \
2313 |STRLEN typelen
8290c323 2314s |int |deprecate_commaless_var_list
94bdecf9 2315s |int |ao |int toketype
07f72646
BF
2316s |void|parse_ident|NN char **s|NN char **d \
2317 |NN char * const e|int allow_package \
2318 |bool is_utf8
94bdecf9 2319# if defined(PERL_CR_FILTER)
9d4ba2ae 2320s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 2321s |void |strip_return |NN SV *sv
94bdecf9 2322# endif
c445ea15 2323# if defined(DEBUGGING)
704d4215 2324s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
5d37acd6 2325sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2326# endif
94bdecf9 2327#endif
fe788d6b 2328EXMp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn
94bdecf9 2329
43869a0c 2330#if defined(PERL_IN_UNIVERSAL_C)
c8028aa6 2331s |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2332 |STRLEN len|U32 flags
94bdecf9
JH
2333#endif
2334
8ef6e574 2335#if defined(PERL_IN_LOCALE_C) && defined(USE_LOCALE)
8772537c 2336s |char* |stdize_locale |NN char* locs
7d74bb61 2337s |bool |is_cur_LC_category_utf8|int category
94bdecf9
JH
2338#endif
2339
43869a0c 2340#if defined(PERL_IN_UTIL_C)
94bdecf9 2341s |SV* |mess_alloc
c8028aa6 2342s |SV * |with_queued_errors|NN SV *ex
c5df3096 2343s |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 2344#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
0b0ab801 2345sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 2346 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
2347 |Malloc_t oldalloc|Malloc_t newalloc \
2348 |NN const char *filename|const int linenumber \
2349 |NN const char *funcname
2350#endif
94bdecf9
JH
2351#endif
2352
43869a0c 2353#if defined(PERL_IN_NUMERIC_C)
4801ca72
JH
2354sn |NV|mulexp10 |NV value|I32 exponent
2355#endif
2356
43869a0c 2357#if defined(PERL_IN_UTF8_C)
7af276bc 2358iRn |STRLEN |is_utf8_char_slow|NN const U8 *s|const STRLEN len
051a06d4 2359sRM |UV |check_locale_boundary_crossing|NN const U8* const p|const UV result|NN U8* const ustrp|NN STRLEN *lenp
26483009 2360iR |bool |is_utf8_common |NN const U8 *const p|NN SV **swash|NN const char * const swashname
b0e3252e 2361sR |SV* |swatch_get |NN SV* swash|UV start|UV span
646ca15d
JH
2362#endif
2363
55d09dc8
KW
2364AiMn |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
2365
7bc54cea 2366Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
2367Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
2368 |const I32 flags
9dcc53ea
Z
2369Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \
2370 |const I32 flags
2e000ff2 2371Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 2372Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 2373Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 2374Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
4bac9ae4
CS
2375pmb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
2376Apmd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
2377Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
4373e329 2378Ap |char* |my_atof2 |NN const char *s|NN NV* value
94bdecf9 2379Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
08ea85eb 2380Ap |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 2381#ifdef PERL_ANY_COW
67022846 2382: Used in pp_hot.c and regexec.c
7536ed57 2383pMXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 2384#endif
94bdecf9 2385
d070ff45 2386Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2387
97cb92d6 2388#if defined(USE_PERLIO)
46c461b5
AL
2389Ap |int |PerlIO_close |NULLOK PerlIO *f
2390Ap |int |PerlIO_fill |NULLOK PerlIO *f
2391Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2392Ap |int |PerlIO_eof |NULLOK PerlIO *f
2393Ap |int |PerlIO_error |NULLOK PerlIO *f
2394Ap |int |PerlIO_flush |NULLOK PerlIO *f
2395Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
b66f3475 2396Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3d4dd4c7 2397Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
b66f3475 2398 |SSize_t cnt
46c461b5 2399Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2400Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2401 |Size_t count
2402Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2403 |Size_t count
2404Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2405 |Size_t count
46c461b5
AL
2406Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2407Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
94bdecf9 2408
46c461b5
AL
2409Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2410Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b66f3475
LT
2411ApR |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
2412ApR |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2413
46c461b5
AL
2414ApR |PerlIO *|PerlIO_stdin
2415ApR |PerlIO *|PerlIO_stdout
2416ApR |PerlIO *|PerlIO_stderr
94bdecf9
JH
2417#endif /* PERLIO_LAYERS */
2418
67022846 2419: Only used in dump.c
d6721266 2420p |void |deb_stack_all
43869a0c 2421#if defined(PERL_IN_DEB_C)
b64e5050 2422s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2423 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2424#endif
2425
cc76b5cc
Z
2426: pad API
2427#ifdef PERL_MAD
2428Mnpd |void |pad_peg |NN const char* s
2429#endif
2430Apda |PADLIST*|pad_new |int flags
2431#if defined(PERL_IN_PAD_C)
2432s |PADOFFSET|pad_alloc_name|NN SV *namesv|U32 flags \
2433 |NULLOK HV *typestash|NULLOK HV *ourstash
2434#endif
2435Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 2436 |U32 flags|NULLOK HV *typestash\
cca43f78 2437 |NULLOK HV *ourstash
cc76b5cc
Z
2438Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
2439 |const U32 flags|NULLOK HV *typestash\
2440 |NULLOK HV *ourstash
2441Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 2442 |U32 flags|NULLOK HV *typestash\
cc76b5cc
Z
2443 |NULLOK HV *ourstash
2444AMpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
2445Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
43869a0c 2446#if defined(PERL_IN_PAD_C)
cc76b5cc
Z
2447sd |void |pad_check_dup |NN SV *name|U32 flags|NULLOK const HV *ourstash
2448#endif
402642c6 2449Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
2450Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
2451Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
2452ApdD |PADOFFSET|find_rundefsvoffset |
2453Apd |SV* |find_rundefsv |
c086f97a
FC
2454: Used in pp.c
2455p |SV* |find_rundefsv2 |NN CV *cv|U32 seq
cc76b5cc 2456#if defined(PERL_IN_PAD_C)
fbb889c8 2457sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc
Z
2458 |NN const CV* cv|U32 seq|int warn \
2459 |NULLOK SV** out_capture|NN SV** out_name_sv \
2460 |NN int *out_flags
73b81b14 2461#endif
dd2155a4 2462#ifdef DEBUGGING
cc76b5cc
Z
2463Apd |SV* |pad_sv |PADOFFSET po
2464Apd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
2465#endif
2466pd |void |pad_block_start|int full
cc76b5cc 2467pd |U32 |intro_my
6d5c2147 2468pd |OP * |pad_leavemy
cc76b5cc
Z
2469pd |void |pad_swipe |PADOFFSET po|bool refadjust
2470#if defined(PERL_IN_PAD_C)
2471sd |void |pad_reset
d5b1589c 2472#endif
cc76b5cc
Z
2473AMpd |void |pad_tidy |padtidy_type type
2474pd |void |pad_free |PADOFFSET po
2475pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 2476#if defined(PERL_IN_PAD_C)
dd2155a4 2477# if defined(DEBUGGING)
66a1b24b 2478sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 2479# endif
dd2155a4 2480#endif
cc76b5cc 2481Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 2482p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
2483pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
2484pdX |void |pad_push |NN PADLIST *padlist|int depth
2485ApdR |HV* |pad_compname_type|const PADOFFSET po
2486#if defined(USE_ITHREADS)
b70d5558
FC
2487pdR |PADLIST *|padlist_dup |NULLOK PADLIST *srcpad \
2488 |NN CLONE_PARAMS *param
cc76b5cc 2489#endif
7261499d
FC
2490p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
2491 |NULLOK PAD *val
cc76b5cc 2492
daad78fc 2493ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 2494pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 2495 |NULLOK U32 *db_seqp
67022846 2496: Only used in perl.c
dd28f7bb 2497p |void |free_tied_hv_pool
b4ab917c 2498#if defined(DEBUGGING)
67022846 2499: Used in mg.c
46c461b5 2500pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 2501#endif
4048f010 2502Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 2503#ifdef DEBUGGING
4048f010 2504Apod |void |hv_assert |NN HV *hv
ed760897 2505#endif
d6721266 2506
4048f010
NC
2507ApdR |SV* |hv_scalar |NN HV *hv
2508ApoR |I32* |hv_riter_p |NN HV *hv
2509ApoR |HE** |hv_eiter_p |NN HV *hv
2510Apo |void |hv_riter_set |NN HV *hv|I32 riter
2511Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
6a5b4183 2512Ap |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand
4048f010 2513Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
27a1175b
FC
2514p |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
2515 |U32 flags
2516p |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
2517 |U32 flags
67022846 2518: Used in dump.c and hv.c
4048f010 2519poM |AV** |hv_backreferences_p |NN HV *hv
764ff8a9 2520#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
09aad8f0
DM
2521poM |void |hv_kill_backrefs |NN HV *hv
2522#endif
4048f010 2523Apd |void |hv_clear_placeholders |NN HV *hv
6174b39a 2524XpoR |SSize_t*|hv_placeholders_p |NN HV *hv
0c289d13 2525ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 2526Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 2527
67022846 2528: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 2529p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d 2530
43869a0c 2531#if defined(PERL_IN_SV_C)
6c1b357c
NC
2532s |SV * |find_hash_subscript|NULLOK const HV *const hv \
2533 |NN const SV *const val
2534s |I32 |find_array_subscript|NULLOK const AV *const av \
2535 |NN const SV *const val
2536sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
2537 |NULLOK const SV *const uninit_sv|bool top
29489e7c 2538#endif
96adfaa1 2539
fe9845cc
RB
2540Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
2541Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
7a5fd60d 2542
41e4abd8 2543#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 2544: Used in sv.c
46c461b5 2545p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
2546#endif
2547
c69033f2 2548#ifdef PERL_DONT_CREATE_GVSV
bb85b28a 2549Apbm |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 2550#endif
43869a0c 2551#if defined(PERL_IN_UTIL_C)
26c7b074
NC
2552s |bool |ckwarn_common |U32 w
2553#endif
9bd8fe79
SH
2554Apo |bool |ckwarn |U32 w
2555Apo |bool |ckwarn_d |U32 w
d67fec57 2556: FIXME - exported for ByteLoader - public or private?
1242dfae 2557XEopMa |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 2558 |NN const char *const bits|STRLEN size
c69033f2 2559
ce582cee
NC
2560#ifndef SPRINTF_RETURNS_STRLEN
2561Apnod |int |my_sprintf |NN char *buffer|NN const char *pat|...
2562#endif
2563
fbbee507 2564Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198
JH
2565Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
2566
67022846 2567: Used in mg.c, sv.c
b0269e46
AB
2568px |void |my_clearenv
2569
f16dd614 2570#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
2571#ifdef PERL_GLOBAL_STRUCT_PRIVATE
2572Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
2573Apo |int |my_cxt_index |NN const char *my_cxt_key
2574#else
e3343589 2575Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 2576#endif
53d44271 2577#endif
f16dd614 2578
2ccd9aae
NC
2579: This function is an implementation detail. The public API for this is
2580: XS_VERSION_BOOTCHECK
2581Xpo |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \
e9b067d9 2582 |STRLEN xs_len
379a8907
NC
2583: This function is an implementation detail. The public API for this is
2584: XS_APIVERSION_BOOTCHECK
2585Xpo |void |xs_apiversion_bootcheck|NN SV *module|NN const char *api_p \
2586 |STRLEN api_len
e9b067d9 2587
a6cc4119 2588#ifndef HAS_STRLCAT
f46a3253 2589Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2590#endif
2591
2592#ifndef HAS_STRLCPY
f46a3253 2593Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2594#endif
2595
1dba731d 2596#ifdef PERL_MAD
43869a0c 2597#if defined(PERL_IN_DUMP_C)
3b721df9
NC
2598sf |void |xmldump_attr |I32 level|NN PerlIO *file|NN const char* pat \
2599 |...
2600#endif
2601Mfp |void |xmldump_indent |I32 level|NN PerlIO *file|NN const char* pat \
2602 |...
2603Mp |void |xmldump_vindent|I32 level|NN PerlIO *file|NN const char* pat \
2604 |NULLOK va_list *args
2605Mp |void |xmldump_all
f0e3f042 2606p |void |xmldump_all_perl |bool justperl
3b721df9 2607Mp |void |xmldump_packsubs |NN const HV* stash
f0e3f042 2608p |void |xmldump_packsubs_perl |NN const HV* stash|bool justperl
3b721df9 2609Mp |void |xmldump_sub |NN const GV* gv
3ab0c9fa 2610Mp |void |xmldump_sub_perl |NN const GV* gv|bool justperl
3b721df9
NC
2611Mp |void |xmldump_form |NN const GV* gv
2612Mp |void |xmldump_eval
2613Mp |char* |sv_catxmlsv |NN SV *dsv|NN SV *ssv
20f84293 2614Mp |char* |sv_catxmlpvn |NN SV *dsv|NN const char *pv|STRLEN len|int utf8
9dcc53ea 2615Mp |char* |sv_catxmlpv |NN SV *dsv|NN const char *pv|int utf8
3b721df9
NC
2616Mp |char* |sv_xmlpeek |NN SV* sv
2617Mp |void |do_pmop_xmldump|I32 level|NN PerlIO *file \
2618 |NULLOK const PMOP *pm
2619Mp |void |pmop_xmldump |NULLOK const PMOP* pm
2620Mp |void |do_op_xmldump |I32 level|NN PerlIO *file|NULLOK const OP *o
9f10164a 2621Mp |void |op_xmldump |NN const OP *o
eb8433b7 2622
ca7a6974
NC
2623Mp |TOKEN* |newTOKEN |I32 optype|YYSTYPE lval \
2624 |NULLOK MADPROP* madprop
4048f010
NC
2625Mp |void |token_free |NN TOKEN *tk
2626Mp |void |token_getmad |NN TOKEN *tk|NULLOK OP *o|char slot
ca7a6974
NC
2627Mp |void |op_getmad_weak |NULLOK OP* from|NULLOK OP* o|char slot
2628Mp |void |op_getmad |NULLOK OP* from|NULLOK OP* o|char slot
2629Mp |void |prepend_madprops|NULLOK MADPROP* mp|NULLOK OP* o|char slot
2630Mp |void |append_madprops|NULLOK MADPROP* tm|NULLOK OP* o|char slot
2631Mp |void |addmad |NULLOK MADPROP* tm|NULLOK MADPROP** root \
2632 |char slot
2633Mp |MADPROP*|newMADsv |char key|NN SV* sv
d503a9ba 2634Mp |MADPROP*|newMADPROP |char key|char type|NULLOK void* val \
594c10dc 2635 |I32 vlen
ca7a6974 2636Mp |void |mad_free |NULLOK MADPROP* mp
29595ff2 2637
43869a0c 2638# if defined(PERL_IN_TOKE_C)
29595ff2
NC
2639s |char* |skipspace0 |NN char *s
2640s |char* |skipspace1 |NN char *s
2641s |char* |skipspace2 |NN char *s|NULLOK SV **sv
5db06880
NC
2642s |void |start_force |int where
2643s |void |curmad |char slot|NULLOK SV *sv
29595ff2 2644# endif
5db06880 2645Mp |int |madlex
28ac2b49 2646Mp |int |madparse |int gramtype
1dba731d 2647#endif
ed140128
AD
2648#if !defined(HAS_SIGNBIT)
2649AMdnoP |int |Perl_signbit |NV f
2650#endif
f16dd614 2651
d67fec57 2652: Used by B
8b850bd5 2653XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 2654: Used by SvRX and SvRXOK
f7e71195 2655XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 2656
fa60396f
NC
2657Aop |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
2658 |NN const struct mro_alg *const which
2659Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
2660 |NN const struct mro_alg *const which \
2661 |NN SV *const data
a3e6e81e
NC
2662Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
2663Aop |void |mro_register |NN const struct mro_alg *mro
31b9005d
NC
2664Aop |void |mro_set_mro |NN struct mro_meta *const meta \
2665 |NN SV *const name
c60bad7b
NC
2666: Used in HvMROMETA(), which is public.
2667Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 2668#if defined(USE_ITHREADS)
67022846 2669: Only used in sv.c
47c9dd14
BB
2670p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
2671#endif
2672Apd |AV* |mro_get_linear_isa|NN HV* stash
43869a0c 2673#if defined(PERL_IN_MRO_C)
94d1e706 2674sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
80ebaca2
FC
2675s |void |mro_clean_isarev|NN HV * const isa \
2676 |NN const char * const name \
2677 |const STRLEN len \
3386c920
FC
2678 |NULLOK HV * const exceptions \
2679 |U32 hash|U32 flags
80ebaca2 2680s |void |mro_gather_and_rename|NN HV * const stashes \
b89cdb22 2681 |NN HV * const seen_stashes \
80ebaca2
FC
2682 |NULLOK HV *stash \
2683 |NULLOK HV *oldstash \
d7879cf0 2684 |NN SV *namesv
4befac30 2685#endif
67022846 2686: Used in hv.c, mg.c, pp.c, sv.c
4df35a07 2687pd |void |mro_isa_changed_in|NN HV* stash
47c9dd14 2688Apd |void |mro_method_changed_in |NN HV* stash
afdbe55d 2689pdx |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags
67022846 2690: Only used in perl.c
47c9dd14 2691p |void |boot_core_mro
cbec8ebe
DM
2692Apon |void |sys_init |NN int* argc|NN char*** argv
2693Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 2694Apon |void |sys_term
aebc0cbe 2695ApoM |const char *|cop_fetch_label|NN COP *const cop \
dca6062a 2696 |NULLOK STRLEN *len|NULLOK U32 *flags
8375c93e 2697: Only used in op.c and the perl compiler
aebc0cbe 2698ApoM |void|cop_store_label \
ce42d03d 2699 |NN COP *const cop|NN const char *label|STRLEN len|U32 flags
47c9dd14 2700
88e1f1a2
JV
2701xpo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
2702
f7abe70b 2703#if defined(USE_ITHREADS)
43869a0c 2704# if defined(PERL_IN_SV_C)
e4295668
NC
2705s |void |unreferenced_to_tmp_stack|NN AV *const unreferenced
2706# endif
f7abe70b
NC
2707Aanop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \
2708 |NN PerlInterpreter *const to
2709Anop |void |clone_params_del|NN CLONE_PARAMS *param
2710#endif
74e8ce34
NC
2711
2712: Used in perl.c and toke.c
2713op |void |populate_isa |NN const char *name|STRLEN len|...
2714
26ea9e12 2715: Used in keywords.c and toke.c
7d69d4a6 2716Xop |bool |feature_is_enabled|NN const char *const name \
3fff3427 2717 |STRLEN namelen
26ea9e12 2718
25fdce4a
FC
2719: Some static inline functions need predeclaration because they are used
2720: inside other static inline functions.
c47d1a66 2721#if defined(PERL_CORE) || defined (PERL_EXT)
25fdce4a
FC
2722Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \
2723 |NULLOK STRLEN *lenp
c47d1a66 2724#endif
25fdce4a 2725
b2ba7ad6 2726: ex: set ts=8 sts=4 sw=4 noet: