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