This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
simplify the error reporting from the #125351 fix
[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
d8bd2bed
KW
4: It is used to declare the interfaces to the functions defined by perl. All
5: non-static functions must have entries here. Static functions need not, but
6: there is benefit to declaring them here, as it generally handles the thread
7: context parameter invisibly, as well as making sure a PERL_ARGS_ASSERT_foo
8: macro is defined, which can save you debugging time.
d412580b 9:
94bdecf9
JH
10: Lines are of the form:
11: flags|return_type|function_name|arg1|arg2|...|argN
12:
13: A line may be continued on another by ending it with a backslash.
14: Leading and trailing whitespace will be ignored in each component.
15:
d8bd2bed
KW
16: The default without flags is to declare a function for internal perl-core use
17: only, not visible to XS code nor to Perl extensions. Use the A and E flags to
18: modify this. Most non-static functions should have the 'p' flag to avoid
19: namespace clashes with programs that embed perl.
20:
94bdecf9 21: flags are single letters with following meanings:
d412580b 22:
ba4591a5 23: A Available fully everywhere (usually part of the public API):
d412580b 24:
d500e60d 25: add entry to the list of exported symbols (unless x or m);
ba4591a5
KW
26: any doc entry goes in perlapi.pod rather than perlintern.pod. If no
27: documentation is furnished for this function, and M is also
28: specified, the function is not listed as part of the public API.
d212d222 29: If M isn't specified, and no documentation is furnished, the
ba4591a5 30: function is listed in perlapi as existing and being undocumented
d412580b
DM
31: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
32:
569ba91f
FC
33: If the function is only exported for use in a public
34: macro, see X.
35:
346c6a29
DM
36: a Allocates memory a la malloc/calloc. Also implies "R".
37: This should only be on functions which returns 'empty' memory
38: which has no other pointers to it, and which does not contain
39: any pointers to other things. So for example realloc() can't be
40: 'a'.
d412580b
DM
41:
42: proto.h: add __attribute__malloc__
43:
3f1866a8
KW
44: b Binary backward compatibility. This is used for functions which are
45: kept only to not have to change legacy applications that call them. If
46: there are no such legacy applications in a Perl installation for all
47: functions flagged with this, the installation can run Configure with the
48: -Accflags='-DNO_MATHOMS' parameter to not even compile them. If there
49: is a macro form of this function that provides equivalent functionality
50: (using a different implementation), also specify the 'm' flag. The 'b'
51: functions are normally moved to mathoms.c, but if circumstances dictate
52: otherwise, they can be anywhere, provided the whole function is wrapped
53: with
54: #ifndef NO_MATHOMS
55: ...
56: #endif
d412580b 57:
5ff52e3c
KW
58: Note that this flag no longer automatically adds a 'Perl_' prefix to the
59: name. Additionally specify 'p' to do that.
60:
3f1866a8
KW
61: For functions, like wrappers, whose macro shortcut doesn't call the
62: function, but which, for whatever reason, aren't considered legacy-only,
63: use the 'o' flag
64:
65: This flag effectively causes nothing to happen if the perl interpreter
66: is compiled with -DNO_MATHOMS; otherwise these happen:
d500e60d 67: add entry to the list of exported symbols;
d8bd2bed 68: create PERL_ARGS_ASSERT_foo;
3f1866a8 69: add embed.h entry (unless overridden by the 'm' flag)
d412580b
DM
70:
71: D Function is deprecated:
72:
73: proto.h: add __attribute__deprecated__
74:
6ef8d77a 75: d Function has documentation (somewhere) in the source:
d412580b
DM
76:
77: enables 'no docs for foo" warning in autodoc.pl
78:
79: E Visible to extensions included in the Perl core:
80:
81: in embed.h, change "#ifdef PERL_CORE"
82: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
83:
d212d222
KW
84: To be usable from dynamically loaded extensions, either:
85: 1) must be static to its containing file ("i" or "s" flag); or
86: 2) be combined with the "X" flag.
23fb3b56 87:
d8bd2bed 88: f Function takes a format string. If the function name =~ qr/strftime/
531b2663
DM
89: then its assumed to take a strftime-style format string as 1st arg;
90: otherwise it's assumed to be a printf style format string, varargs
91: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
92:
93: proto.h: add __attribute__format__ (or ...null_ok__)
94:
71556506
KW
95: i Static inline: function in source code has a S_ prefix:
96:
4d2e4fbc
KW
97: proto.h: function is declared as S_foo rather than foo unless the 'p'
98: flag is also given in which case 'Perl_foo' is used,
71556506 99: PERL_STATIC_INLINE is added to declaration;
4d2e4fbc 100: embed.h: "#define foo S_foo" or Perl_foo entries added
71556506 101:
d412580b
DM
102: M May change:
103:
494cc49e
KW
104: any doc entry is marked that function may change. Also used to
105: suppress making a doc entry if it would just be a placeholder.
d412580b
DM
106:
107: m Implemented as a macro:
108:
3f1866a8
KW
109: suppress proto.h entry unless 'b' also specified (actually, not
110: suppressed, but commented out)
d500e60d 111: suppress entry in the list of exported symbols
d412580b
DM
112: suppress embed.h entry
113:
114: n Has no implicit interpreter/thread context argument:
115:
116: suppress the pTHX part of "foo(pTHX...)" in proto.h;
117: In the PERL_IMPLICIT_SYS branch of embed.h, generates
118: "#define foo Perl_foo", rather than
119: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
120:
7b53c8ee
NC
121: O Has a perl_ compatibility macro.
122:
123: The really OLD name for API funcs
124:
37ccf918 125: o Has no Perl_foo or S_foo compatibility macro:
d412580b 126:
59f80a35
KW
127: This can be used when you define a macro with this entry's name that
128: doesn't call the function specified by this entry. This is typically
129: done for a function that effectively just wraps another one, and where
130: the macro form calls the underlying function directly. For these, also
131: specify the 'm' flag. Legacy-only functions should instead use 'b'.
132:
d412580b
DM
133: embed.h: suppress "#define foo Perl_foo"
134:
d8bd2bed
KW
135: P Pure function:
136:
eafb5713
KW
137: A pure function has no effects except the return value, and the return
138: value depends only on params and/or globals. This is a hint to the
139: compiler that it can optimize calls to this function out of common
140: subexpressions. Consequently if this flag is wrongly specified, it can
141: lead to subtle bugs that vary by platform, compiler, compiler version,
142: and optimization level. Also, a future commit could easily change a
143: currently-pure function without even noticing this flag. So it should
144: be used sparingly, only for functions that are unlikely to ever become
145: not pure by future commits. It should not be used for static
146: functions, as the compiler already has the information needed to make
147: the 'pure' determination and doesn't need any hint; so it doesn't add
148: value in those cases, and could be dangerous if it causes the compiler
149: to skip doing its own checks. It should not be used on functions that
150: touch SVs, as those can trigger unexpected magic. Also implies "R":
d412580b
DM
151:
152: proto.h: add __attribute__pure__
153:
154: p Function in source code has a Perl_ prefix:
155:
156: proto.h: function is declared as Perl_foo rather than foo
157: embed.h: "#define foo Perl_foo" entries added
158:
b289a0bd 159: R Return value must not be ignored (also implied by 'a' and 'P' flags):
d412580b
DM
160:
161: proto.h: add __attribute__warn_unused_result__
162:
163: r Function never returns:
164:
165: proto.h: add __attribute__noreturn__
166:
167: s Static function: function in source code has a S_ prefix:
168:
169: proto.h: function is declared as S_foo rather than foo,
170: STATIC is added to declaration;
171: embed.h: "#define foo S_foo" entries added
172:
173: U Suppress usage example in autogenerated documentation
174:
175: (currently no effect)
176:
21553840
YO
177: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
178: argument to the function calls. This means that under DEBUGGING
179: a depth argument is added to the functions, which is used for
180: example by the regex engine for debugging and trace output.
181: A non DEBUGGING build will not pass the unused argument.
182: Currently restricted to functions with at least one argument.
183:
d412580b
DM
184: X Explicitly exported:
185:
d500e60d 186: add entry to the list of exported symbols, unless x or m
d412580b 187:
569ba91f
FC
188: This is often used for private functions that are used by public
189: macros. In those cases the macros must use the long form of the
190: name (Perl_blah(aTHX_ ...)).
191:
d412580b
DM
192: x Not exported
193:
d500e60d 194: suppress entry in the list of exported symbols
d412580b 195:
1aa6ea50 196: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 197:
f54cb97a 198: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 199:
1b6737cc
AL
200: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
201: no effect on output yet. It's a notation for the maintainers to know "I have
202: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
203: which is ambiguous.
204:
94bdecf9 205: Individual flags may be separated by whitespace.
94bdecf9 206
94bdecf9 207#if defined(PERL_IMPLICIT_SYS)
7827dc65 208Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
209 |NN struct IPerlMem *ipM \
210 |NN struct IPerlMem *ipMS \
211 |NN struct IPerlMem *ipMP \
212 |NN struct IPerlEnv *ipE \
213 |NN struct IPerlStdIO *ipStd \
16bf6295 214 |NN struct IPerlLIO *ipLIO \
4048f010
NC
215 |NN struct IPerlDir *ipD \
216 |NN struct IPerlSock *ipS \
217 |NN struct IPerlProc *ipP
94bdecf9
JH
218#endif
219Anod |PerlInterpreter* |perl_alloc
4048f010
NC
220Anod |void |perl_construct |NN PerlInterpreter *my_perl
221Anod |int |perl_destruct |NN PerlInterpreter *my_perl
222Anod |void |perl_free |NN PerlInterpreter *my_perl
223Anod |int |perl_run |NN PerlInterpreter *my_perl
224Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
225 |int argc|NULLOK char** argv|NULLOK char** env
226AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 227#if defined(USE_ITHREADS)
4048f010 228Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 229# if defined(PERL_IMPLICIT_SYS)
7827dc65 230Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
231 |NN PerlInterpreter *proto_perl \
232 |UV flags \
233 |NN struct IPerlMem* ipM \
234 |NN struct IPerlMem* ipMS \
235 |NN struct IPerlMem* ipMP \
236 |NN struct IPerlEnv* ipE \
237 |NN struct IPerlStdIO* ipStd \
238 |NN struct IPerlLIO* ipLIO \
239 |NN struct IPerlDir* ipD \
240 |NN struct IPerlSock* ipS \
241 |NN struct IPerlProc* ipP
94bdecf9
JH
242# endif
243#endif
244
4373e329
AL
245Aanop |Malloc_t|malloc |MEM_SIZE nbytes
246Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 247ARnop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
248Anop |Free_t |mfree |Malloc_t where
249#if defined(MYMALLOC)
7827dc65 250npR |MEM_SIZE|malloced_size |NN void *p
64107180 251npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 252#endif
03f05cb4
LM
253#if defined(PERL_IN_MALLOC_C)
254sn |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
255#endif
94bdecf9 256
890ce7af 257AnpR |void* |get_context
9f6cc744 258Anp |void |set_context |NN void *t
94bdecf9 259
6f1401dc
DM
260XEop |bool |try_amagic_bin |int method|int flags
261XEop |bool |try_amagic_un |int method|int flags
46c461b5 262Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 263Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 264p |bool |amagic_is_enabled|int method
c3a9a790 265Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 266ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
267Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
268Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 269Apd |OP* |op_linklist |NN OP *o
2fcb4757 270Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 271: FIXME - this is only called by pp_chown. They should be merged.
890ce7af
AL
272p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
273ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 274Apd |void |av_clear |NN AV *av
c70927a6
FC
275Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
276ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
277Apd |void |av_extend |NN AV *av|SSize_t key
278p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
279 |NN SSize_t *maxp \
7261499d 280 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
281ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
282Apd |void |av_fill |NN AV *av|SSize_t fill
283ApdR |SSize_t|av_len |NN AV *av
284ApdR |AV* |av_make |SSize_t size|NN SV **strp
1f1dcfb5 285p |SV* |av_nonelem |NN AV *av|SSize_t ix
4048f010 286Apd |SV* |av_pop |NN AV *av
29a861e7 287ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 288Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 289: Used in scope.c, and by Data::Alias
4048f010
NC
290EXp |void |av_reify |NN AV *av
291ApdR |SV* |av_shift |NN AV *av
c70927a6
FC
292Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
293AidR |SSize_t|av_top_index |NN AV *av
294AmpdR |SSize_t|av_tindex |NN AV *av
4048f010 295Apd |void |av_undef |NN AV *av
29a861e7 296ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 297Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
298Apo |SV** |av_arylen_p |NN AV *av
299Apo |IV* |av_iter_p |NN AV *av
43869a0c 300#if defined(PERL_IN_AV_C)
878d132a
NC
301s |MAGIC* |get_aux_mg |NN AV *av
302#endif
d67fec57 303: Used in perly.y
4048f010 304pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 305: Used in perly.y
25f5d540 306ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
1c23e2bd 307ApR |U8 |block_gimme
d67fec57 308: Used in perly.y
25f5d540 309ApdR |int |block_start |int full
fd85fad2 310Aodp |void |blockhook_register |NN BHK *hk
d67fec57 311: Used in perl.c
94bdecf9 312p |void |boot_core_UNIVERSAL
d67fec57 313: Used in perl.c
94bdecf9 314p |void |boot_core_PerlIO
4048f010 315Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
316Apd |const PERL_CONTEXT * |caller_cx|I32 level \
317 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 318: Used in several source files
ae1951c1 319pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
ddeaf645
DD
320ApRn |U32 |cast_ulong |NV f
321ApRn |I32 |cast_i32 |NV f
322ApRn |IV |cast_iv |NV f
323ApRn |UV |cast_uv |NV f
94bdecf9 324#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 325ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 326#endif
25502127
FC
327p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
328 |NULLOK const OP *curop|bool opnext
d67fec57 329: Used in perly.y
03d05f6e 330ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 331: Used in op.c and perl.c
274ed8ae 332pM |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 333Aprd |void |croak_sv |NN SV *baseex
551405c4 334: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 335Afprd |void |croak |NULLOK const char* pat|...
c5df3096 336Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
cb077ed2
DD
337Anprd |void |croak_no_modify
338Anprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 339 |NN const char *const params
4cbe3a7d 340npr |void |croak_no_mem
3d04513d 341nprX |void |croak_popstack
4fa06845 342fnrp |void |croak_caller|NULLOK const char* pat|...
db6e00bd 343fnprx |void |noperl_die|NN const char* pat|...
073dd035
DD
344#if defined(WIN32)
345norx |void |win32_croak_not_implemented|NN const char * fname
346#endif
94bdecf9 347#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 348Afnrp |void |croak_nocontext|NULLOK const char* pat|...
e950ecba 349Afnrp |OP* |die_nocontext |NULLOK const char* pat|...
890ce7af
AL
350Afnp |void |deb_nocontext |NN const char* pat|...
351Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 352Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
353Afnp |SV* |mess_nocontext |NN const char* pat|...
354Afnp |void |warn_nocontext |NN const char* pat|...
355Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 356Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
357Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
358Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
359Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
360Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
1545ba5b
DD
361Abfnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
362Abfnp |int |printf_nocontext|NN const char *format|...
94bdecf9 363#endif
b8c38f0a
FC
364: Used in pp.c
365p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 366 |const int code|NULLOK int * const opnum
1e4b6aa1 367: Used in gv.c
8f939fab 368p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 369 |const int opnum
d67fec57 370: Used in sv.c
eedb00fa 371EMXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
372 |NULLOK const char* p|const STRLEN len \
373 |const U32 flags
67022846 374: Used in pp.c and pp_sys.c
62d55b22 375ApdR |SV* |gv_const_sv |NN GV* gv
ddeaf645
DD
376ApdRn |SV* |cv_const_sv |NULLOK const CV *const cv
377pRn |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 378Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 379Apd |void |cv_undef |NN CV* cv
b7acb0a3 380p |void |cv_undef_flags |NN CV* cv|U32 flags
de0885da 381p |void |cv_forget_slab |NULLOK CV *cv
890ce7af 382Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 383Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 384Ap |void |filter_del |NN filter_t funcp
4048f010 385ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
386ApPR |char** |get_op_descs
387ApPR |char** |get_op_names
67022846 388: FIXME discussion on p5p
a3b680e6 389pPR |const char* |get_no_modify
67022846 390: FIXME discussion on p5p
a3b680e6
AL
391pPR |U32* |get_opargs
392ApPR |PPADDR_t*|get_ppaddr
d67fec57 393: Used by CXINC, which appears to be in widespread use
82151c42 394ApR |I32 |cxinc
890ce7af 395Afp |void |deb |NN const char* pat|...
aec46f14 396Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 397Ap |void |debprofdump
dc3c1c70 398EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
e839e6ed 399EXp |SV* |multiconcat_stringify |NN const OP* o
4373e329 400Ap |I32 |debop |NN const OP* o
94bdecf9
JH
401Ap |I32 |debstack
402Ap |I32 |debstackptrs
13733cde 403pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
04c9e624 404Anp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 405 |NN const char* fromend|int delim|NN I32* retlen
ba0a4150
FC
406np |char* |delimcpy_no_escape|NN char* to|NN const char* toend \
407 |NN const char* from \
408 |NN const char* fromend|int delim \
409 |NN I32* retlen
d67fec57 410: Used in op.c, perl.c
edb2152a 411pM |void |delete_eval_scope
e950ecba
KW
412Aprd |OP* |die_sv |NN SV *baseex
413Afrpd |OP* |die |NULLOK const char* pat|...
67022846 414: Used in util.c
62705b21 415pr |void |die_unwind |NN SV* msv
94bdecf9 416Ap |void |dounwind |I32 cxix
67022846 417: FIXME
738ab09f 418pmb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 419: Used in pp_sys.c
738ab09f 420p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
1545ba5b 421Abp |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 422: Used in pp.c
063df69c 423Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 424: Defined in doio.c, used only in pp_sys.c
4373e329 425p |bool |do_eof |NN GV* gv
8c654ff2
NC
426
427#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
738ab09f 428pm |bool|do_exec |NN const char* cmd
8c654ff2 429#else
738ab09f 430p |bool|do_exec |NN const char* cmd
8c654ff2
NC
431#endif
432
9ec7171b 433#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 434Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
435Ap |int |do_spawn |NN char* cmd
436Ap |int |do_spawn_nowait|NN char* cmd
54725af6 437#endif
94bdecf9 438#if !defined(WIN32)
738ab09f 439p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9 440#endif
43869a0c 441#if defined(PERL_IN_DOIO_C)
b1366aaf 442s |void |exec_failed |NN const char *cmd|int fd|int do_report
404395d2 443s |bool |argvout_final |NN MAGIC *mg|NN IO *io|bool not_implicit
a0f2c8ec 444#endif
94bdecf9 445#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 446: Defined in doio.c, used only in pp_sys.c
7827dc65 447p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 448: Defined in doio.c, used only in pp_sys.c
7827dc65 449p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 450: Defined in doio.c, used only in pp_sys.c
7827dc65 451p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 452: Defined in doio.c, used only in pp_sys.c
7827dc65 453p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 454: Defined in doio.c, used only in pp_sys.c
7827dc65 455p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 456: Defined in doio.c, used only in pp_sys.c
7827dc65 457p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 458#endif
4048f010 459Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
460: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
461: p |OP* |do_kv
33efebe6
DM
462: used in pp.c, pp_hot.c
463pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
e4dba786 464Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 465 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
1545ba5b 466Abp |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
467 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
468 |NN SV *svs|I32 num
1cdb2692
Z
469pn |void |setfd_cloexec|int fd
470pn |void |setfd_inhexec|int fd
884fc2d3 471p |void |setfd_cloexec_for_nonsysfd|int fd
74df577f 472p |void |setfd_inhexec_for_sysfd|int fd
884fc2d3 473p |void |setfd_cloexec_or_inhexec_by_sysfdness|int fd
f9821aff 474pR |int |PerlLIO_dup_cloexec|int oldfd
884fc2d3 475p |int |PerlLIO_dup2_cloexec|int oldfd|int newfd
f9821aff
Z
476pR |int |PerlLIO_open_cloexec|NN const char *file|int flag
477pR |int |PerlLIO_open3_cloexec|NN const char *file|int flag|int perm
1cdb2692 478pnoR |int |my_mkstemp_cloexec|NN char *templte
f9821aff
Z
479#ifdef HAS_PIPE
480pR |int |PerlProc_pipe_cloexec|NN int *pipefd
481#endif
482#ifdef HAS_SOCKET
483pR |int |PerlSock_socket_cloexec|int domain|int type|int protocol
484pR |int |PerlSock_accept_cloexec|int listenfd \
485 |NULLOK struct sockaddr *addr \
486 |NULLOK Sock_size_t *addrlen
487#endif
488#if defined (HAS_SOCKETPAIR) || \
489 (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && \
490 defined(AF_INET) && defined(PF_INET))
491pR |int |PerlSock_socketpair_cloexec|int domain|int type|int protocol \
492 |NN int *pairfd
493#endif
a2b41d5c
NC
494#if defined(PERL_IN_DOIO_C)
495s |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
496 |NN PerlIO **saveofp|NN int *savefd \
497 |NN char *savetype
a6fc70e5
NC
498s |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
499 |NN char *mode|NN const char *oname \
500 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
501 |int savefd|char savetype|int writing \
7e30e49f
DIM
502 |bool was_fdopen|NULLOK const char *type \
503 |NULLOK Stat_t *statbufp
a2b41d5c 504#endif
4048f010
NC
505Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
506 |int as_raw|int rawmode|int rawperm \
507 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
508 |I32 num
4b451737 509Mp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
7e30e49f 510 |int rawmode|int rawperm|NULLOK Stat_t *statbufp
4b451737
NC
511Mp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
512 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
513 |U32 num
67022846 514: Used in pp_hot.c and pp_sys.c
890ce7af 515p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 516: Used in pp_sys.c
890ce7af 517pR |OP* |do_readline
67022846 518: Defined in doio.c, used only in pp_sys.c
890ce7af 519p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
03a22d83 520Ap |void |do_sprintf |NN SV* sv|SSize_t len|NN SV** sarg
67022846 521: Defined in doio.c, used only in pp_sys.c
890ce7af 522p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 523: Defined in doio.c, used only in pp_sys.c
890ce7af 524pR |Off_t |do_tell |NN GV* gv
67022846 525: Defined in doop.c, used only in pp.c
f0fd0980 526p |Size_t |do_trans |NN SV* sv
67022846 527: Used in my.c and pp.c
d69c4304 528p |UV |do_vecget |NN SV* sv|STRLEN offset|int size
67022846 529: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 530p |void |do_vecset |NN SV* sv
67022846 531: Defined in doop.c, used only in pp.c
890ce7af 532p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 533: Used in perly.y
850e8516 534p |OP* |dofile |NN OP* term|I32 force_builtin
1c23e2bd 535ApR |U8 |dowantarray
94bdecf9 536Ap |void |dump_all
f0e3f042 537p |void |dump_all_perl |bool justperl
94bdecf9 538Ap |void |dump_eval
9a957fbc 539Ap |void |dump_form |NN const GV* gv
3dc78631 540Ap |void |gv_dump |NULLOK GV* gv
1e85b658 541Apd |OPclass|op_class |NULLOK const OP *o
4048f010 542Ap |void |op_dump |NN const OP *o
9a957fbc
AL
543Ap |void |pmop_dump |NULLOK PMOP* pm
544Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 545p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 546Ap |void |dump_sub |NN const GV* gv
f0e3f042 547p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
548Apd |void |fbm_compile |NN SV* sv|U32 flags
549ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 550 |NN SV* littlestr|U32 flags
9a5e6f3c 551p |CV * |find_lexical_cv|PADOFFSET off
67022846 552: Defined in util.c, used only in perl.c
7827dc65
AL
553p |char* |find_script |NN const char *scriptname|bool dosearch \
554 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 555#if defined(PERL_IN_OP_C)
29e61fd9 556s |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
557i |OP* |op_integerize |NN OP *o
558i |OP* |op_std_init |NN OP *o
b46e009d 559#if defined(USE_ITHREADS)
560i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
561#endif
562i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
563 |NULLOK SV* const_meth
d67fec57 564: FIXME
7527883f 565s |OP* |fold_constants |NN OP * const o
b7783a12 566#endif
aec46f14
AL
567Afpd |char* |form |NN const char* pat|...
568Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 569Ap |void |free_tmps
43869a0c 570#if defined(PERL_IN_OP_C)
b7783a12 571s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 572#endif
94bdecf9 573#if !defined(HAS_GETENV_LEN)
67022846 574: Used in hv.c
9f6cc744 575p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 576#endif
67022846 577: Used in pp_ctl.c and pp_hot.c
005a8a35 578pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
579Ap |void |gp_free |NULLOK GV* gv
580Ap |GP* |gp_ref |NULLOK GP* gp
13c59d41 581Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
bb85b28a
NC
582Apmb |GV* |gv_AVadd |NULLOK GV *gv
583Apmb |GV* |gv_HVadd |NULLOK GV *gv
584Apmb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
585AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
586 |STRLEN len|I32 method
0eeb01b9 587ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 588ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 589 |U32 flags
0fe84f7c 590ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 591 |STRLEN len|U32 flags
51da40ed 592Ap |void |gv_check |NN HV* stash
1545ba5b 593Abp |void |gv_efullname |NN SV* sv|NN const GV* gv
46c461b5
AL
594Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
595Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 596Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
597Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
598 |const U32 flags
6c53d59b
FC
599Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
600 |STRLEN len|I32 level
e6919483
BF
601Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
602Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
603 |I32 level|U32 flags
604Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
605 |STRLEN len|I32 level|U32 flags
460e5730
FC
606Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
607 |NN const char* name|STRLEN len \
608 |I32 level
d21989ed
BF
609Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
610Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
611 |I32 level|U32 flags
612Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
613 |STRLEN len|I32 level|U32 flags
eff494dd
NC
614Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
615Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
616 |I32 autoload
44130a26
BF
617ApM |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
618ApM |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
619 |U32 flags
620ApM |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 621 |const STRLEN len|U32 flags
fe9845cc 622Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
1545ba5b 623Abp |void |gv_fullname |NN SV* sv|NN const GV* gv
9a957fbc
AL
624Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
625Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 626: Used in scope.c
12816592 627pMox |GP * |newGP |NN GV *const gv
803f2748 628pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 629poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 630pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
631Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
632 |NN const char* name|STRLEN len|int multi
04ec7e59 633Ap |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
e6066781 634Ap |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 635 |U32 flags
e6066781 636Ap |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 637 |STRLEN len|U32 flags
9f616d01 638Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
9e3fb20c
FC
639px |GV * |gv_override |NN const char * const name \
640 |const STRLEN len
4c106937 641XMpd |void |gv_try_downgrade|NN GV* gv
d8a875d9 642p |void |gv_setref |NN SV *const dstr|NN SV *const sstr
da51bb9b
NC
643Apd |HV* |gv_stashpv |NN const char* name|I32 flags
644Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
0eadbdad 645#if defined(PERL_IN_GV_C)
c6afe666 646i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
647i |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags
648i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
649 |STRLEN len|I32 level|U32 flags
0eadbdad 650#endif
8798655d 651Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 652Apd |void |hv_clear |NULLOK HV *hv
67022846 653: used in SAVEHINTS() and op.c
defdfed5 654ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010 655Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
5ff52e3c 656Abmdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 657 |I32 flags
5ff52e3c
KW
658Abmdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
659AbmdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
660AbmdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
661Abmdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 662 |I32 lval
5ff52e3c 663Abmdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
4048f010 664Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 665 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 666 |int action|NULLOK SV *val|U32 hash
a038e571
NC
667Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
668 |I32 klen_i32|const int action|NULLOK SV *val \
669 |const U32 hash
9faf471a 670Apod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 671Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 672Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
673ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
674ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
675ApdRbm |HE* |hv_iternext |NN HV *hv
676ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
677ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
678ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
679Ap |void |hv_ksplit |NN HV *hv|IV newmax
680Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 681#if defined(PERL_IN_HV_C)
20439bc7 682s |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 683#endif
20439bc7
Z
684Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
685Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
686 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
687Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
688 |NN const char *key|U32 hash|U32 flags
689Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
690 |NN SV *key|U32 hash|U32 flags
691Xpd |struct refcounted_he *|refcounted_he_new_pvn \
692 |NULLOK struct refcounted_he *parent \
693 |NN const char *keypv|STRLEN keylen \
694 |U32 hash|NULLOK SV *value|U32 flags
695Xpd |struct refcounted_he *|refcounted_he_new_pv \
696 |NULLOK struct refcounted_he *parent \
697 |NN const char *key \
698 |U32 hash|NULLOK SV *value|U32 flags
699Xpd |struct refcounted_he *|refcounted_he_new_sv \
700 |NULLOK struct refcounted_he *parent \
701 |NN SV *key \
702 |U32 hash|NULLOK SV *value|U32 flags
703Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
704Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
5ff52e3c 705Apbmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 706 |I32 klen|NULLOK SV *val|U32 hash
5ff52e3c 707Apbmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 708 |U32 hash
5ff52e3c 709ApbmM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 710 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
711Amd |void |hv_undef |NULLOK HV *hv
712poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
ca0c6e8c 713AmP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
ec2c235b 714Ainp |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
ca0c6e8c 715AmP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
ec2c235b 716Ainp |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
e6226b18
KW
717Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
718 |bool u1|NN const char *s2|NULLOK char **pe2 \
719 |UV l2|bool u2
eda9cac1 720Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
721 |bool u1|NN const char *s2|NULLOK char **pe2 \
722 |UV l2|bool u2
eda9cac1
KW
723AMp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
724 |bool u1|NN const char *s2|NULLOK char **pe2 \
725 |UV l2|bool u2|U32 flags
ec2c235b 726Ainp |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 727#if defined(PERL_IN_DOIO_C)
0da8eb3a
NC
728sR |bool |ingroup |Gid_t testgid|bool effective
729#endif
67022846 730: Used in toke.c
4373e329 731p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
732: Used in pp_ctl.c
733po |void |init_dbargs
67022846 734: Used in mg.c
94bdecf9
JH
735p |void |init_debugger
736Ap |void |init_stacks
bfce84ec 737Ap |void |init_tm |NN struct tm *ptm
67022846 738: Used in perly.y
4ee010a8 739AbmnpPR |char* |instr |NN const char* big|NN const char* little
67022846 740: Used in sv.c
96d7c888
FC
741p |bool |io_close |NN IO* io|NULLOK GV *gv \
742 |bool not_implicit|bool warn_on_fail
67022846 743: Used in perly.y
2d03de9c 744pR |OP* |invert |NULLOK OP* cmd
f54cb97a 745ApR |I32 |is_lvalue_sub
777d9014 746: Used in cop.h
eebd3bc0 747XopR |I32 |was_lvalue_sub
edc2c47a 748ApMRnP |STRLEN |_is_utf8_char_helper|NN const U8 * const s|NN const U8 * e|const U32 flags
1545ba5b
DD
749AbDMpR |U32 |to_uni_upper_lc|U32 c
750AbDMpR |U32 |to_uni_title_lc|U32 c
751AbDMpR |U32 |to_uni_lower_lc|U32 c
752AbDMpR |bool |is_uni_alnum |UV c
753AbDMpR |bool |is_uni_alnumc |UV c
754AbDMpR |bool |is_uni_idfirst |UV c
755AbDMpR |bool |is_uni_alpha |UV c
756AbDMpPR |bool |is_uni_ascii |UV c
757AbDMpPR |bool |is_uni_blank |UV c
758AbDMpPR |bool |is_uni_space |UV c
759AbDMpPR |bool |is_uni_cntrl |UV c
760AbDMpR |bool |is_uni_graph |UV c
761AbDMpR |bool |is_uni_digit |UV c
762AbDMpR |bool |is_uni_upper |UV c
763AbDMpR |bool |is_uni_lower |UV c
764AbDMpR |bool |is_uni_print |UV c
765AbDMpR |bool |is_uni_punct |UV c
766AbDMpPR |bool |is_uni_xdigit |UV c
04665d07
KW
767AMp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
768AMp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
cb57a253
KW
769AbDMpR |bool |isIDFIRST_lazy |NN const char* p
770AbDMpR |bool |isALNUM_lazy |NN const char* p
95e064d9 771p |void |init_uniprops
afc16117 772#ifdef PERL_IN_UTF8_C
eaf412bf
KW
773snR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp \
774 |const char dummy
57ff5f59 775# ifndef UV_IS_QUAD
e050c007
KW
776snR |int |is_utf8_cp_above_31_bits|NN const U8 * const s \
777 |NN const U8 * const e \
778 |const bool consider_overlongs
57ff5f59 779# endif
fab2782b
YO
780#endif
781#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
7c0ab950 782EXnp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 783#endif
348bf2e0
KW
784#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
785p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
786#endif
04665d07
KW
787AMp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
788AMmp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
31f05a37 789AMp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
1545ba5b
DD
790AbDMpR |bool |is_uni_alnum_lc|UV c
791AbDMpR |bool |is_uni_alnumc_lc|UV c
792AbDMpR |bool |is_uni_idfirst_lc|UV c
eba68aa0 793AMpR |bool |_is_uni_perl_idcont|UV c
f91dcd13 794AMpR |bool |_is_uni_perl_idstart|UV c
1545ba5b
DD
795AbDMpR |bool |is_uni_alpha_lc|UV c
796AbDMpPR |bool |is_uni_ascii_lc|UV c
797AbDMpPR |bool |is_uni_space_lc|UV c
798AbDMpPR |bool |is_uni_blank_lc|UV c
799AbDMpPR |bool |is_uni_cntrl_lc|UV c
800AbDMpR |bool |is_uni_graph_lc|UV c
801AbDMpR |bool |is_uni_digit_lc|UV c
802AbDMpR |bool |is_uni_upper_lc|UV c
803AbDMpR |bool |is_uni_lower_lc|UV c
804AbDMpR |bool |is_uni_print_lc|UV c
805AbDMpR |bool |is_uni_punct_lc|UV c
806AbDMpPR |bool |is_uni_xdigit_lc|UV c
0cbf5865 807AndmoR |bool |is_utf8_invariant_string|NN const U8* const s \
e17544a6 808 |STRLEN len
0cbf5865 809AnidR |bool |is_utf8_invariant_string_loc|NN const U8* const s \
e17544a6 810 |STRLEN len \
0cbf5865 811 |NULLOK const U8 ** ep
23a7ee81 812#ifndef EBCDIC
1d2af574 813AniR |unsigned int|_variant_byte_number|PERL_UINTMAX_T word
23a7ee81 814#endif
03c1e4ab
KW
815#if defined(PERL_CORE) || defined(PERL_EXT)
816EinR |Size_t |variant_under_utf8_count|NN const U8* const s \
817 |NN const U8* const e
818#endif
6a6f44b8 819AmnpdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len
33756530 820AmnpdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len
c9cd936b
KW
821#if defined(PERL_CORE) || defined (PERL_EXT)
822EXnidR |bool |is_utf8_non_invariant_string|NN const U8* const s \
823 |STRLEN len
824#endif
1545ba5b 825AbnpdD |STRLEN |is_utf8_char |NN const U8 *s
3cedd9d9 826Abmnpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
8ed185f9
KW
827AnidR |Size_t |isUTF8_CHAR|NN const U8 * const s0 \
828 |NN const U8 * const e
67049a5f
KW
829AnidR |Size_t |isSTRICT_UTF8_CHAR |NN const U8 * const s0 \
830 |NN const U8 * const e
c5bfbb64
KW
831AnidR |Size_t |isC9_STRICT_UTF8_CHAR |NN const U8 * const s0 \
832 |NN const U8 * const e
dd237e82 833AnmdpR |bool |is_utf8_string |NN const U8 *s|STRLEN len
cfe24c19 834AnidR |bool |is_utf8_string_flags \
f60f61fd 835 |NN const U8 *s|STRLEN len|const U32 flags
dd237e82
KW
836AnmdpR |bool |is_strict_utf8_string|NN const U8 *s|STRLEN len
837AnmdpR |bool |is_c9strict_utf8_string|NN const U8 *s|STRLEN len
9f2abfde 838Anpdmb |bool |is_utf8_string_loc \
0dc258e2 839 |NN const U8 *s|const STRLEN len|NN const U8 **ep
9f2abfde 840Andm |bool |is_utf8_string_loc_flags \
f60f61fd 841 |NN const U8 *s|STRLEN len|NN const U8 **ep \
9f2abfde
KW
842 |const U32 flags
843Andm |bool |is_strict_utf8_string_loc \
33756530 844 |NN const U8 *s|STRLEN len|NN const U8 **ep
9f2abfde 845Andm |bool |is_c9strict_utf8_string_loc \
33756530 846 |NN const U8 *s|STRLEN len|NN const U8 **ep
9f2abfde 847Anipd |bool |is_utf8_string_loclen \
f60f61fd 848 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde
KW
849 |NULLOK STRLEN *el
850Anid |bool |is_utf8_string_loclen_flags \
f60f61fd 851 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde
KW
852 |NULLOK STRLEN *el|const U32 flags
853Anid |bool |is_strict_utf8_string_loclen \
33756530 854 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde
KW
855 |NULLOK STRLEN *el
856Anid |bool |is_c9strict_utf8_string_loclen \
33756530 857 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 858 |NULLOK STRLEN *el
8bc127bf 859Amnd |bool |is_utf8_fixed_width_buf_flags \
33756530 860 |NN const U8 * const s|STRLEN len|const U32 flags
8bc127bf 861Amnd |bool |is_utf8_fixed_width_buf_loc_flags \
33756530 862 |NN const U8 * const s|STRLEN len \
8bc127bf
KW
863 |NULLOK const U8 **ep|const U32 flags
864Anid |bool |is_utf8_fixed_width_buf_loclen_flags \
33756530 865 |NN const U8 * const s|STRLEN len \
8bc127bf 866 |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags
f1c999a7
KW
867AmndP |bool |is_utf8_valid_partial_char \
868 |NN const U8 * const s|NN const U8 * const e
cfe24c19 869AnidR |bool |is_utf8_valid_partial_char_flags \
f1c999a7 870 |NN const U8 * const s|NN const U8 * const e|const U32 flags
922e8cb4 871AMpR |bool |_is_uni_FOO|const U8 classnum|const UV c
34aeb2e9
KW
872AMpR |bool |_is_utf8_FOO|U8 classnum|NN const U8 * const p \
873 |NN const char * const name \
874 |NN const char * const alternative \
875 |const bool use_utf8|const bool use_locale \
876 |NN const char * const file|const unsigned line
da8c1a98
KW
877AMpR |bool |_is_utf8_FOO_with_len|const U8 classnum|NN const U8 *p \
878 |NN const U8 * const e
cb57a253
KW
879AbDMpR |bool |is_utf8_alnum |NN const U8 *p
880AbDMpR |bool |is_utf8_alnumc |NN const U8 *p
881AbDMpR |bool |is_utf8_idfirst|NN const U8 *p
882AbDMpR |bool |is_utf8_xidfirst|NN const U8 *p
f2645549
KW
883AMpR |bool |_is_utf8_idcont|NN const U8 *p
884AMpR |bool |_is_utf8_idstart|NN const U8 *p
885AMpR |bool |_is_utf8_xidcont|NN const U8 *p
886AMpR |bool |_is_utf8_xidstart|NN const U8 *p
da8c1a98
KW
887AMpR |bool |_is_utf8_perl_idcont_with_len|NN const U8 *p \
888 |NN const U8 * const e
889AMpR |bool |_is_utf8_perl_idstart_with_len|NN const U8 *p \
890 |NN const U8 * const e
cb57a253
KW
891AbDMpR |bool |is_utf8_idcont |NN const U8 *p
892AbDMpR |bool |is_utf8_xidcont |NN const U8 *p
893AbDMpR |bool |is_utf8_alpha |NN const U8 *p
894AbDMpR |bool |is_utf8_ascii |NN const U8 *p
895AbDMpR |bool |is_utf8_blank |NN const U8 *p
896AbDMpR |bool |is_utf8_space |NN const U8 *p
897AbDMpR |bool |is_utf8_perl_space |NN const U8 *p
898AbDMpR |bool |is_utf8_perl_word |NN const U8 *p
899AbDMpR |bool |is_utf8_cntrl |NN const U8 *p
900AbDMpR |bool |is_utf8_digit |NN const U8 *p
901AbDMpR |bool |is_utf8_posix_digit |NN const U8 *p
902AbDMpR |bool |is_utf8_graph |NN const U8 *p
903AbDMpR |bool |is_utf8_upper |NN const U8 *p
904AbDMpR |bool |is_utf8_lower |NN const U8 *p
905AbDMpR |bool |is_utf8_print |NN const U8 *p
906AbDMpR |bool |is_utf8_punct |NN const U8 *p
907AbDMpR |bool |is_utf8_xdigit |NN const U8 *p
7dbf68d2 908AMpR |bool |_is_utf8_mark |NN const U8 *p
cb57a253 909AbDMpR |bool |is_utf8_mark |NN const U8 *p
be9bef63
KW
910#if defined(PERL_CORE) || defined(PERL_EXT)
911EXdpR |bool |isSCRIPT_RUN |NN const U8 *s|NN const U8 *send \
49cd0726 912 |const bool utf8_target
be9bef63 913#endif
67022846 914: Used in perly.y
4048f010 915p |OP* |jmaybe |NN OP *o
67022846 916: Used in pp.c
4048f010 917pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 918#if defined(PERL_IN_OP_C)
540dd770 919s |void |inplace_aassign |NN OP* o
867fa1e2 920#endif
94bdecf9 921Ap |void |leave_scope |I32 base
efa571ab 922p |void |notify_parser_that_changed_to_utf8
f0e67a1d 923: Public lexer API
8eaa0acf 924AMpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
abe97742
NC
925AMpd |bool |lex_bufutf8
926AMpd |char* |lex_grow_linestr|STRLEN len
83aa740e 927AMpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
9dcc53ea 928AMpd |void |lex_stuff_pv |NN const char* pv|U32 flags
abe97742
NC
929AMpd |void |lex_stuff_sv |NN SV* sv|U32 flags
930AMpd |void |lex_unstuff |NN char* ptr
931AMpd |void |lex_read_to |NN char* ptr
932AMpd |void |lex_discard_to |NN char* ptr
933AMpd |bool |lex_next_chunk |U32 flags
934AMpd |I32 |lex_peek_unichar|U32 flags
935AMpd |I32 |lex_read_unichar|U32 flags
936AMpd |void |lex_read_space |U32 flags
28ac2b49 937: Public parser API
78cdf107
Z
938AMpd |OP* |parse_arithexpr|U32 flags
939AMpd |OP* |parse_termexpr |U32 flags
940AMpd |OP* |parse_listexpr |U32 flags
941AMpd |OP* |parse_fullexpr |U32 flags
e53d8f76 942AMpd |OP* |parse_block |U32 flags
8359b381 943AMpd |OP* |parse_barestmt |U32 flags
361d9b55 944AMpd |SV* |parse_label |U32 flags
28ac2b49 945AMpd |OP* |parse_fullstmt |U32 flags
07ffcb73 946AMpd |OP* |parse_stmtseq |U32 flags
f0e67a1d 947: Used in various files
1d70cb64 948Apd |void |op_null |NN OP* o
d67fec57 949: FIXME. Used by Data::Alias
6d9a2efc 950EXp |void |op_clear |NN OP* o
4026c95a
SH
951Ap |void |op_refcnt_lock
952Ap |void |op_refcnt_unlock
3269ea41 953Apdn |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 954 |int del_count|NULLOK OP* insert
1fafe688 955#ifdef PERL_OP_PARENT
8ae26bff 956Apdn |OP* |op_parent|NN OP *o
1fafe688 957#endif
43869a0c 958#if defined(PERL_IN_OP_C)
412da003 959s |OP* |listkids |NULLOK OP* o
2dd5337b 960#endif
aec46f14 961p |OP* |list |NULLOK OP* o
aec46f14
AL
962Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
963Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 964: Used in perly.y
4048f010 965p |OP* |localize |NN OP *o|I32 lex
aad570aa 966ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 967Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ce54a8b9 968#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
e8278639
KW
969EMpRX |bool |grok_bslash_x |NN char** s \
970 |NN const char* const send \
971 |NN UV* uv \
17896a85
KW
972 |NN const char** error_msg \
973 |const bool output_warning \
974 |const bool strict \
975 |const bool silence_non_portable \
976 |const bool utf8
a55c5245 977EMpRX |char |grok_bslash_c |const char source|const bool output_warning
e8278639
KW
978EMpRX |bool |grok_bslash_o |NN char** s \
979 |NN const char* const send \
980 |NN UV* uv \
17896a85
KW
981 |NN const char** error_msg \
982 |const bool output_warning \
983 |const bool strict \
984 |const bool silence_non_portable \
985 |const bool utf8
ce54a8b9 986EMiR |char*|form_short_octal_warning|NN const char * const s \
5e0a247b 987 |const STRLEN len
cfe24c19 988EiRn |I32 |regcurly |NN const char *s
ce54a8b9 989#endif
7827dc65 990Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 991Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 992Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 993Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 994ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 995Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
73e43954 996EXpn |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 997: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
998p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
999p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 1000dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 1001dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 1002p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1003p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
1004p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
1005p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
1006 |NULLOK const char *name|I32 namlen
1146e912 1007p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
1008p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
1009p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 1010p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 1011p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 1012p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1013p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
1014p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
1015p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
1016p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
1017p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
1018p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
1019p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
1020p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 1021p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
1022p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
1023p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 1024:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
1025:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
1026:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
1027#ifdef _MSC_VER
1028p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
1029#else
bfce84ec 1030pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 1031#endif
bfce84ec 1032p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 1033p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 1034p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1035p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1036p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 1037p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec 1038p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
1f1dcfb5 1039p |int |magic_setnonelem|NN SV* sv|NN MAGIC* mg
bfce84ec 1040p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 1041dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 1042p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 1043p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1044p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
1045p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
1046p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
1047p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
1048p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 1049p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1050p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
1051p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
1052p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
1053p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
1054p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
1055p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
1056p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
1057p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 1058pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 1059 |NN SV *meth|U32 flags \
046b0c7d 1060 |U32 argc|...
ba5248fc 1061Ap |I32 * |markstack_grow
94bdecf9 1062#if defined(USE_LOCALE_COLLATE)
b22e6366 1063p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
78d57975 1064pb |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen
67022846 1065: Defined in locale.c, used only in sv.c
78d57975 1066# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
a4a439fb
KW
1067pM |char* |_mem_collxfrm |NN const char* input_string \
1068 |STRLEN len \
1069 |NN STRLEN* xlen \
1070 |bool utf8
1071# endif
94bdecf9 1072#endif
c5df3096
Z
1073Afpd |SV* |mess |NN const char* pat|...
1074Apd |SV* |mess_sv |NN SV* basemsg|bool consume
1075Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
1076: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
1077: Used in gv.c, op.c, toke.c
6d9a2efc 1078EXp |void |qerror |NN SV* err
3d4dd4c7
NC
1079Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
1080Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 1081Apd |int |mg_clear |NN SV* sv
4048f010
NC
1082Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
1083 |I32 klen
67022846 1084: Defined in mg.c, used only in scope.c
af7df257 1085pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
658db622 1086Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv
ddeaf645
DD
1087ApdRn |MAGIC* |mg_find |NULLOK const SV* sv|int type
1088ApdRn |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 1089: exported for re.pm
d4431b89 1090EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 1091Apd |int |mg_free |NN SV* sv
d9088386 1092Apd |void |mg_free_type |NN SV* sv|int how
e0d4aead 1093Apd |void |mg_freeext |NN SV* sv|int how|NULLOK const MGVTBL *vtbl
9a957fbc 1094Apd |int |mg_get |NN SV* sv
bd8446cf 1095ApdD |U32 |mg_length |NN SV* sv
ddeaf645 1096Apdn |void |mg_magical |NN SV* sv
9a957fbc
AL
1097Apd |int |mg_set |NN SV* sv
1098Ap |I32 |mg_size |NN SV* sv
ddeaf645 1099Apn |void |mini_mktime |NN struct tm *ptm
d3d7d28f
FC
1100AMmd |OP* |op_lvalue |NULLOK OP* o|I32 type
1101poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
d164302a 1102p |void |finalize_optree |NN OP* o
d2905138 1103p |void |optimize_optree|NN OP* o
d164302a 1104#if defined(PERL_IN_OP_C)
d2905138 1105s |void |optimize_op |NN OP* o
d164302a 1106s |void |finalize_op |NN OP* o
cbf83791
FC
1107s |void |move_proto_attr|NN OP **proto|NN OP **attrs \
1108 |NN const GV *name|bool curstash
d164302a 1109#endif
67022846 1110: Used in op.c and pp_sys.c
a79b25b7 1111p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 1112Ap |const char* |moreswitches |NN const char* s
4373e329 1113Ap |NV |my_atof |NN const char *s
94bdecf9
JH
1114Apr |void |my_exit |U32 status
1115Apr |void |my_failure_exit
1116Ap |I32 |my_fflush_all
1117Anp |Pid_t |my_fork
1118Anp |void |atfork_lock
1119Anp |void |atfork_unlock
0d7d409d
DM
1120Apmb |I32 |my_lstat
1121pX |I32 |my_lstat_flags |NULLOK const U32 flags
6dba01e2
KW
1122#if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
1123Exin |void * |my_memrchr |NN const char * s|const char c|const STRLEN len
1124#endif
875ca36f 1125#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
1126Ap |I32 |my_pclose |NULLOK PerlIO* ptr
1127Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 1128#endif
c9289b7b 1129Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 1130Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
0d7d409d
DM
1131Apmb |I32 |my_stat
1132pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 1133Afp |char * |my_strftime |NN const char *fmt|int sec|int min|int hour|int mday|int mon|int year|int wday|int yday|int isdst
67022846 1134: Used in pp_ctl.c
94bdecf9 1135p |void |my_unexec
3f1866a8
KW
1136AbDMnPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
1137AbDMnPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
346c6a29
DM
1138ApR |OP* |newANONLIST |NULLOK OP* o
1139ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 1140Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
1141ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
1142ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 1143Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
1144Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1145 |NULLOK const char* name|STRLEN len \
1146 |U32 flags|NULLOK SV* sv
aec46f14 1147Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29 1148ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
7896dde7 1149ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
346c6a29 1150ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
6cb4123e 1151pM |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29
DM
1152ApdR |OP* |newLOOPEX |I32 type|NN OP* label
1153ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
1154ApdR |OP* |newNULLLIST
1155ApdR |OP* |newOP |I32 optype|I32 flags
f54cb97a 1156Ap |void |newPROG |NN OP* o
346c6a29
DM
1157ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1158ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1159ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
5ff52e3c 1160Apbm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1161 |NULLOK OP* block
68cd13c6 1162pd |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
032a0447 1163 |NN XSUBADDR_t subaddr\
9a189793 1164 |NULLOK const char *const filename \
8f82b567
FC
1165 |NULLOK const char *const proto \
1166 |NULLOK SV **const_svp|U32 flags
9a189793 1167pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
77004dee
NC
1168ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
1169 |NN const char *const filename \
1170 |NULLOK const char *const proto|U32 flags
4048f010
NC
1171Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
1172 |NN const char *filename
5ff52e3c 1173ApmdbR |AV* |newAV
346c6a29
DM
1174ApR |OP* |newAVREF |NN OP* o
1175ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1176ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1177ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 1178Am |GV* |newGVgen |NN const char* pack
346c6a29
DM
1179ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags
1180ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1181ApR |OP* |newHVREF |NN OP* o
5ff52e3c 1182ApmdbR |HV* |newHV
346c6a29
DM
1183ApR |HV* |newHVhv |NULLOK HV *hv
1184ApRbm |IO* |newIO
1185ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1186AMpdRn |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1187AMpdRn |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1188AMpdRn |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1189#ifdef USE_ITHREADS
346c6a29
DM
1190ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1191#endif
1192ApdR |OP* |newPMOP |I32 type|I32 flags
1193ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
1194ApR |SV* |newRV |NN SV *const sv
1195ApdR |SV* |newRV_noinc |NN SV *const tmpRef
1196ApdR |SV* |newSV |const STRLEN len
1197ApR |OP* |newSVREF |NN OP* o
1198ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1199ApdR |OP* |newDEFSVOP
346c6a29
DM
1200pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
1201ApdR |SV* |newSViv |const IV i
1202ApdR |SV* |newSVuv |const UV u
1203ApdR |SV* |newSVnv |const NV n
1204ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
a5ba2527 1205ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len
346c6a29
DM
1206ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1207ApdR |SV* |newSVhek |NULLOK const HEK *const hek
1208ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1209ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1210AfpdR |SV* |newSVpvf |NN const char *const pat|...
1211ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1212Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
346c6a29
DM
1213ApdR |SV* |newSVsv |NULLOK SV *const old
1214ApdR |SV* |newSV_type |const svtype type
1215ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1216ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1217 |NULLOK UNOP_AUX_item *aux
7896dde7 1218ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
346c6a29 1219ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1220 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1221 |I32 has_my
346c6a29
DM
1222ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1223ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1224Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1225Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1226Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1227Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1228po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1229 |NN SV *protosv
d9088386 1230Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
71c697de 1231Apd |void |cv_get_call_checker_flags|NN CV *cv|U32 gflags|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p|NN U32 *ckflags_p
d9088386 1232Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1233Apd |void |cv_set_call_checker_flags|NN CV *cv \
1234 |NN Perl_call_checker ckfun \
71c697de 1235 |NN SV *ckobj|U32 ckflags
e8570548 1236Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
1e5c5f69 1237AMpd |void |wrap_keyword_plugin|NN Perl_keyword_plugin_t new_plugin|NN Perl_keyword_plugin_t *old_plugin_p
346c6a29 1238ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1239Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1240 |NN SV *sv
9f6cc744 1241Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1242Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1243 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1244 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1245Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1246Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1247Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1248Apd |SV* |vnumify |NN SV *vs
1249Apd |SV* |vnormal |NN SV *vs
1250Apd |SV* |vstringify |NN SV *vs
9f6cc744 1251Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1252: Used in pp_hot.c and pp_sys.c
157fb5a1 1253p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
b8070b07
KW
1254#ifdef HAS_MEMMEM
1255AdnopP |char* |ninstr |NN const char* big|NN const char* bigend \
1256 |NN const char* little|NN const char* lend
1257#else
52de5f36 1258AdnpP |char* |ninstr |NN const char* big|NN const char* bigend \
2d03de9c 1259 |NN const char* little|NN const char* lend
b8070b07 1260#endif
1d70cb64 1261Apd |void |op_free |NULLOK OP* arg
705fe0e5 1262Mp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1263#ifdef PERL_CORE
8be227ab
FC
1264p |void |opslab_free |NN OPSLAB *slab
1265p |void |opslab_free_nopad|NN OPSLAB *slab
1266p |void |opslab_force_free|NN OPSLAB *slab
1267#endif
67022846 1268: Used in perly.y
2d03de9c 1269p |void |package |NN OP* o
6fa4d285
DG
1270: Used in perly.y
1271p |void |package_version|NN OP* v
67022846 1272: Used in toke.c and perly.y
d6447115
NC
1273p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1274 |const U32 flags
d4d03940 1275#ifdef USE_ITHREADS
c0b8aebd 1276AMp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1277#endif
67022846 1278: Used in perly.y
1df70142 1279pR |OP* |oopsAV |NN OP* o
67022846 1280: Used in perly.y
1df70142 1281pR |OP* |oopsHV |NN OP* o
cc76b5cc 1282
1a0a2ba9 1283: peephole optimiser
666e7765 1284p |void |peep |NULLOK OP* o
1a0a2ba9 1285p |void |rpeep |NULLOK OP* o
67022846 1286: Defined in doio.c, used only in pp_hot.c
4048f010 1287dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1288
10bc17b6 1289Ap |void |reentrant_size
59bd0823 1290Ap |void |reentrant_init
10bc17b6 1291Ap |void |reentrant_free
4048f010 1292Anp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1293
7b53c8ee
NC
1294: "Very" special - can't use the O flag for this one:
1295: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1296Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1297ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1298ApdO |I32 |call_method |NN const char* methname|I32 flags
1299ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
8162b70e 1300ApdO |I32 |call_sv |NN SV* sv|volatile I32 flags
5290524f 1301Ap |void |despatch_signals
e4c5ccf3 1302Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1303ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1304ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1305ApdO |SV* |get_sv |NN const char *name|I32 flags
1306ApdO |AV* |get_av |NN const char *name|I32 flags
1307ApdO |HV* |get_hv |NN const char *name|I32 flags
1308ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1309Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
9aac5db8 1310Ando |const char*|Perl_setlocale|const int category|NULLOK const char* locale
f7416781
KW
1311#if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
1312Ando |const char*|Perl_langinfo|const nl_item item
1313#else
1314Ando |const char*|Perl_langinfo|const int item
1315#endif
94d52e62 1316ApOM |int |init_i18nl10n |int printwarn
1545ba5b 1317AbpOM |int |init_i18nl14n |int printwarn
ec268cc8 1318p |char* |my_strerror |const int errnum
8d8472df 1319Xpn |void |_warn_problematic_locale
5792c642 1320Xp |void |set_numeric_underlying
8d8472df 1321Xp |void |set_numeric_standard
5c1ff086 1322Xp |bool |_is_in_locale_category|const bool compiling|const int category
58e641fb 1323Apdn |void |switch_to_global_locale
b2e9ba0c 1324Apdn |bool |sync_locale
e9bc6d6b
KW
1325ApMn |void |thread_locale_init
1326ApMn |void |thread_locale_term
7b53c8ee 1327ApdO |void |require_pv |NN const char* pv
1545ba5b 1328Abpd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
2d03de9c
AL
1329 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1330Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
1331#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
1332s |void |pidgone |Pid_t pid|int status
ca0c25f6 1333#endif
67022846 1334: Used in perly.y
9b6b7be8 1335p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
5012eebe 1336 |UV flags|I32 floor
43869a0c 1337#if defined(PERL_IN_OP_C)
0d86688d
NC
1338s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
1339#endif
94bdecf9 1340Ap |void |pop_scope
94bdecf9 1341Ap |void |push_scope
5ff52e3c 1342Apmb |OP* |ref |NULLOK OP* o|I32 type
43869a0c 1343#if defined(PERL_IN_OP_C)
0d86688d
NC
1344s |OP* |refkids |NULLOK OP* o|I32 type
1345#endif
097eb12c 1346Ap |void |regdump |NN const regexp* r
768f8d98 1347ApM |SV* |regclass_swash |NULLOK const regexp *prog \
4048f010
NC
1348 |NN const struct regnode *node|bool doinit \
1349 |NULLOK SV **listsvp|NULLOK SV **altsvp
b24b43f7 1350#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
680b55f7 1351EXpR |SV* |_new_invlist_C_array|NN const UV* const list
709be747 1352EXMp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1353#endif
49d7dfbc 1354Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1355 |NN char* strend|NN char* strbeg \
1356 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1357Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1358Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1359: FIXME - is anything in re using this now?
89699a04 1360EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* dsv|NN REGEXP* ssv
4048f010 1361Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1362#if defined(USE_ITHREADS)
49d7dfbc 1363Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1364#endif
3c13cae6 1365EXp |regexp_engine const *|current_re_engine
1593ad57 1366Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1367p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1368 |int pat_count|NULLOK OP *expr \
3c13cae6 1369 |NN const regexp_engine* eng \
1067df30 1370 |NULLOK REGEXP *old_re \
76ac488f 1371 |NULLOK bool *is_bare_re \
fb1ab119 1372 |const U32 rx_flags|const U32 pm_flags
37acfcba 1373Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
52a21eb3
DM
1374Ap |char* |re_intuit_start|NN REGEXP * const rx \
1375 |NULLOK SV* sv \
1376 |NN const char* const strbeg \
1377 |NN char* strpos \
1378 |NN char* strend \
1379 |const U32 flags \
9f61653a 1380 |NULLOK re_scream_pos_data *data
4048f010
NC
1381Ap |SV* |re_intuit_string|NN REGEXP *const r
1382Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1383 |NN char *strend|NN char *strbeg \
1384 |SSize_t minend|NN SV *sv \
1385 |NULLOK void *data|U32 flags
8074533a 1386ApR |regnode*|regnext |NULLOK regnode* p
e950ecba 1387EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
192b9cd1 1388 |NULLOK SV * const value|const U32 flags
e950ecba 1389EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
192b9cd1 1390 |const U32 flags
e950ecba
KW
1391Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1392Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1393Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1394Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1395Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1396Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1397
d67fec57 1398: FIXME - is anything in re using this now?
2fdbfb4d 1399EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1400: FIXME - is anything in re using this now?
2fdbfb4d 1401EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1402: FIXME - is anything in re using this now?
2fdbfb4d
AB
1403EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1404
d67fec57 1405: FIXME - is anything in re using this now?
49d7dfbc 1406EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1407
26e1303d 1408Anp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
52de5f36 1409AdnpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1410 |NN const char* little|NN const char* lend
94bdecf9 1411Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1412: Used in pp_sys.c
7827dc65 1413p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1414: Used in pp_sys.c
9f6cc744 1415p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1416Ap |Sighandler_t|rsignal_state|int i
43869a0c 1417#if defined(PERL_IN_PP_CTL_C)
9c105995
NC
1418s |void |rxres_free |NN void** rsp
1419s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
1420#endif
1421: Used in pp_hot.c
4048f010 1422p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1423#if !defined(HAS_RENAME)
67022846 1424: Used in pp_sys.c
4373e329 1425p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1426#endif
639f6c3d
NC
1427Apda |char* |savepv |NULLOK const char* pv
1428Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1429Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1430
1431: NULLOK only to suppress a compiler warning
1432Apda |char* |savesharedpvn |NULLOK const char *const pv \
1433 |const STRLEN len
9dcc53ea 1434Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1435Apda |char* |savesvpv |NN SV* sv
94bdecf9 1436Ap |void |savestack_grow
4b3c1a47 1437Ap |void |savestack_grow_cnt |I32 need
c70927a6
FC
1438Amp |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1439Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1440 |const U32 flags
94bdecf9 1441Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1442Ap |void |save_aptr |NN AV** aptr
1443Ap |AV* |save_ary |NN GV* gv
1444Ap |void |save_bool |NN bool* boolp
1445Ap |void |save_clearsv |NN SV** svp
4048f010 1446Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1447Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1448Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1449Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1450Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1451Apmb |void |save_freesv |NULLOK SV* sv
67022846 1452: Used in SAVEFREOP(), used in op.c, pp_ctl.c
ad975267 1453Apmb |void |save_freeop |NULLOK OP* o
2fd8beea 1454Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1455Ap |void |save_generic_svref|NN SV** sptr
1456Ap |void |save_generic_pvref|NN char** str
1457Ap |void |save_shared_pvref|NN char** str
364bbfa4 1458Adp |void |save_gp |NN GV* gv|I32 empty
aec46f14 1459Ap |HV* |save_hash |NN GV* gv
defdfed5 1460Ap |void |save_hints
af7df257
CS
1461Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1462Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1463Ap |void |save_hptr |NN HV** hptr
1464Ap |void |save_I16 |NN I16* intp
1465Ap |void |save_I32 |NN I32* intp
1466Ap |void |save_I8 |NN I8* bytep
1467Ap |void |save_int |NN int* intp
1468Ap |void |save_item |NN SV* item
4048f010 1469Ap |void |save_iv |NN IV *ivp
1545ba5b
DD
1470Abp |void |save_list |NN SV** sarg|I32 maxsarg
1471Abp |void |save_long |NN long* longp
2fd8beea 1472Apmb |void |save_mortalizesv|NN SV* sv
1545ba5b 1473Abp |void |save_nogv |NN GV* gv
67022846 1474: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
ad975267 1475Apmb |void |save_op
aec46f14
AL
1476Ap |SV* |save_scalar |NN GV* gv
1477Ap |void |save_pptr |NN char** pptr
4048f010 1478Ap |void |save_vptr |NN void *ptr
94bdecf9 1479Ap |void |save_re_context
09edbca0 1480Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1481Ap |void |save_sptr |NN SV** sptr
e8eb279c 1482Xp |void |save_strlen |NN STRLEN* ptr
aec46f14 1483Ap |SV* |save_svref |NN SV** sptr
2ef9a108 1484AMpo |void |savetmps
2fd8beea 1485Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1486Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1487: Used by SAVESWITCHSTACK() in pp.c
ad975267 1488Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1489 |NULLOK void *const ptr2|const int type
43869a0c 1490#if defined(PERL_IN_SCOPE_C)
be84297e
NC
1491s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
1492 |NULLOK void *const ptr2|const int type
1493#endif
67022846 1494: Used in perly.y
aec46f14 1495p |OP* |sawparens |NULLOK OP* o
d9088386 1496Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1497: Used in perly.y
aec46f14 1498p |OP* |scalar |NULLOK OP* o
43869a0c 1499#if defined(PERL_IN_OP_C)
2dd5337b
NC
1500s |OP* |scalarkids |NULLOK OP* o
1501s |OP* |scalarseq |NULLOK OP* o
1502#endif
67022846 1503: Used in pp_ctl.c
aec46f14
AL
1504p |OP* |scalarvoid |NN OP* o
1505Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1506Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1507Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1508Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
3ad73efd 1509AMpd |OP* |op_scope |NULLOK OP* o
e2051532
PM
1510: Only used by perl.c/miniperl.c, but defined in caretx.c
1511px |void |set_caret_X
9a9bb270 1512Apd |void |setdefout |NN GV* gv
b02f3645 1513Ap |HEK* |share_hek |NN const char* str|SSize_t len|U32 hash
8aad04aa 1514#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1515: Used in perl.c
b6455c53
SR
1516np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1517Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1518#else
94bdecf9 1519np |Signal_t |sighandler |int sig
669f9482 1520Anp |Signal_t |csighandler |int sig
8aad04aa 1521#endif
fc16c392 1522Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1523Ap |I32 |start_subparse |I32 is_format|U32 flags
50333c97 1524Xp |void |init_named_cv |NN CV *cv|NN OP *nameop
67022846 1525: Used in pp_ctl.c
aec46f14 1526p |void |sub_crush_depth|NN CV* cv
1545ba5b 1527Apbmd |bool |sv_2bool |NN SV *const sv
9d176cd8 1528Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1529Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1530 |const I32 lref
1531Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1532#if defined(PERL_IN_SV_C)
19f6321d 1533s |bool |glob_2number |NN GV* const gv
180488f8 1534#endif
5ff52e3c 1535Apmb |IV |sv_2iv |NN SV *sv
1061065f 1536Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1537Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1538Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1539: Used in pp.c, pp_hot.c, sv.c
5de3775c 1540pMd |SV* |sv_2num |NN SV *const sv
5ff52e3c 1541Apmb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1061065f 1542Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
fe46cbda 1543Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
a901b181 1544Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
1545ba5b 1545Abp |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
5ff52e3c 1546Apmb |UV |sv_2uv |NN SV *sv
1061065f 1547Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
1545ba5b
DD
1548Abpd |IV |sv_iv |NN SV* sv
1549Abpd |UV |sv_uv |NN SV* sv
1550Abpd |NV |sv_nv |NN SV* sv
1551Abpd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1552Abpd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1553Abpd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1554Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1555#if defined(PERL_IN_SV_C)
d2bd4e7f
NC
1556sd |void |sv_add_arena |NN char *const ptr|const U32 size \
1557 |const U32 flags
1558#endif
fa7a1e49 1559Apdn |void |sv_backoff |NN SV *const sv
12964ddd 1560Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1561#if defined(PERL_DEBUG_READONLY_COW)
1562p |void |sv_buf_to_ro |NN SV *sv
1620d805
FC
1563# if defined(PERL_IN_SV_C)
1564s |void |sv_buf_to_rw |NN SV *sv
1565# endif
b001a0d1 1566#endif
66ceb532
SS
1567Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1568Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1569 |NULLOK va_list *const args
2b021c53 1570Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
5ff52e3c
KW
1571Apmdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1572Apmdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1573Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1574: Used only in perl.c
94bdecf9 1575pd |I32 |sv_clean_all
67022846 1576: Used only in perl.c
94bdecf9 1577pd |void |sv_clean_objs
5239d5c4 1578Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe
FC
1579#if defined(PERL_IN_SV_C)
1580s |bool |curse |NN SV * const sv|const bool check_refcnt
1581#endif
e8c9c9d4 1582Aopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1583Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1584 |const U32 flags
e8c9c9d4 1585Aopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1586Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1587 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1588#if defined(USE_LOCALE_COLLATE)
1545ba5b 1589Apbmd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
078504b2 1590Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1591#endif
4373e329 1592Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1593Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1594Apd |void |sv_dec_nomg |NULLOK SV *const sv
769b28f4 1595Ap |void |sv_dump |NULLOK SV* sv
15f169a1 1596ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1597ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1598ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1599ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1600 |const STRLEN len|U32 flags
15f169a1 1601ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1602ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1603ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1604ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1605 |U32 flags
1545ba5b 1606Apbmd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1607Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1608Apd |void |sv_free |NULLOK SV *const sv
75a9bf96 1609poMX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1610: Used only in perl.c
94bdecf9 1611pd |void |sv_free_arenas
ac1e9476 1612Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1613Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1614Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1615Apd |void |sv_inc_nomg |NULLOK SV *const sv
5ff52e3c 1616Apmdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1617 |const STRLEN len|NN const char *const little \
1618 |const STRLEN littlelen
c0dd94a0 1619Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
e7a8a8aa 1620 |NN const char *little|const STRLEN littlelen|const U32 flags
12964ddd 1621Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1622Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1623Apd |STRLEN |sv_len |NULLOK SV *const sv
1624Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1625p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1626Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1627 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1628Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1629 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1630 |const I32 namlen
ed382232 1631Ein |bool |sv_only_taint_gmagic|NN SV *sv
96c2a8ff 1632: exported for re.pm
d4431b89 1633EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
346c6a29
DM
1634ApdbmR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
1635XpR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1636ApdR |SV* |sv_newmortal
af828c01 1637Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1638Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1639Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1640Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1641 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1642Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1643Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1644 |U32 flags
5ff52e3c 1645Apmdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1646Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1647Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1648Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1649Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1650 |NN char* tstr|int tlen
12964ddd 1651ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1652Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1653Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1654Apd |void |sv_report_used
23f13727 1655Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1656p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1657 |NULLOK HV *const stash
89e38212
SS
1658Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1659Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1660Apd |void |sv_setiv |NN SV *const sv|const IV num
3d9637d6 1661Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1662Apd |void |sv_setuv |NN SV *const sv|const UV num
1663Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1664Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1665Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1666Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1667Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1668 |NULLOK void *const pv
1669Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1670 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1671Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1672Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
45661033 1673Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len
70b71ec8 1674Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
5ff52e3c
KW
1675Apmdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
1676Apmdb |void |sv_taint |NN SV* sv
89e38212 1677ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1678Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1679Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
174c73e3 1680Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1681Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1682Apd |void |sv_untaint |NN SV *const sv
aad570aa 1683Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1684Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1685Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1686 |const U32 flags
66ceb532 1687Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1688 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
66ceb532 1689 |NULLOK bool *const maybe_tainted
4bac9ae4 1690Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1691 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
4bac9ae4 1692 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1693Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1694 |NULLOK va_list *const args|NULLOK SV **const svargs \
ea4817b1 1695 |const Size_t sv_count|NULLOK bool *const maybe_tainted
aec46f14 1696ApR |NV |str_to_version |NN SV *sv
e8a64175
KW
1697EXpRM |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
1698EXpM |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1699#ifdef PERL_IN_REGCOMP_C
a25abddc 1700EiMR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
b9c1a2c5 1701EiMRn |bool |invlist_is_iterating|NN SV* const invlist
b2458342 1702#ifndef PERL_EXT_RE_BUILD
f31df0ce
KW
1703EiMRn |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
1704EiMRn |UV |invlist_max |NN SV* const invlist
bec88f1b
KW
1705EsM |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
1706EsM |void |invlist_extend |NN SV* const invlist|const UV len
96a7241d 1707EsM |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
dc3bf405 1708EiMRn |IV* |get_invlist_previous_index_addr|NN SV* invlist
1284d2c3 1709EiM |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
dc3bf405 1710EiMn |void |invlist_set_previous_index|NN SV* const invlist|const IV index
b2458342 1711EiMRn |IV |invlist_previous_index|NN SV* const invlist
f0c0c5ad 1712EiMn |void |invlist_trim |NN SV* invlist
e7d603c0 1713EiM |void |invlist_clear |NN SV* invlist
c8f84db6 1714sM |void |initialize_invlist_guts|NN SV* invlist|const Size_t initial_size
22026221 1715#endif
dc3bf405
BF
1716EiMRn |STRLEN*|get_invlist_iter_addr |NN SV* invlist
1717EiMn |void |invlist_iterinit|NN SV* invlist
1718EsMRn |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
1719EiMn |void |invlist_iterfinish|NN SV* invlist
1720EiMRn |UV |invlist_highest|NN SV* const invlist
8c75ba15
HS
1721EMRs |SV* |_make_exactf_invlist |NN RExC_state_t *pRExC_state \
1722 |NN regnode *node
bb17e326
KW
1723EsMR |SV* |invlist_contents|NN SV* const invlist \
1724 |const bool traditional_style
53fdf12a 1725EsRn |bool |new_regcurly |NN const char *s|NN const char *e
839cfe5d
KW
1726#endif
1727#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
52ae8f7e 1728EXmM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
a0316a6c
KW
1729EXpM |void |_invlist_intersection_maybe_complement_2nd \
1730 |NULLOK SV* const a|NN SV* const b \
1731 |const bool complement_b|NN SV** i
164173a2 1732EXmM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
a0316a6c
KW
1733EXpM |void |_invlist_union_maybe_complement_2nd \
1734 |NULLOK SV* const a|NN SV* const b \
1735 |const bool complement_b|NN SV** output
3f80b571 1736EXmM |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
50b01e0c 1737EXpM |void |_invlist_invert|NN SV* const invlist
47b34d72
KW
1738EXMpR |SV* |_new_invlist |IV initial_size
1739EXMpR |SV* |_swash_to_invlist |NN SV* const swash
d1e2fe7b 1740EXMpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
31aa6e0b 1741EXMpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
dc3bf405 1742EXMpn |void |_invlist_populate_swatch |NN SV* const invlist|const UV start|const UV end|NN U8* swatch
d764b54e 1743#endif
3d746163 1744#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
1bb572bb
KW
1745EMpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist
1746#endif
7baadcd0 1747#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
83199d38 1748EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name \
5d3d13d1 1749 |NN SV* listsv|I32 minbits|I32 none \
83199d38 1750 |NULLOK SV* invlist|NULLOK U8* const flags_p
7baadcd0 1751#endif
f1bcae08 1752#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
551cedb5 1753EiMRn |UV* |invlist_array |NN SV* const invlist
510ceaa0 1754EiMRn |bool |is_invlist |NN SV* const invlist
dc3bf405
BF
1755EiMRn |bool* |get_invlist_offset_addr|NN SV* invlist
1756EiMRn |UV |_invlist_len |NN SV* const invlist
1757EMiRn |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
f0858b7d 1758EXpMRn |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
3fdfee00 1759EXMpR |SV* |_get_swash_invlist|NN SV* const swash
ad3f05ad 1760#endif
77d654fb 1761#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
680b55f7 1762EXpM |SV* |_get_regclass_nonbitmap_data \
77d654fb 1763 |NULLOK const regexp *prog \
ef9bc832
KW
1764 |NN const struct regnode *node \
1765 |bool doinit \
77d654fb 1766 |NULLOK SV **listsvp \
ef9bc832 1767 |NULLOK SV **lonly_utf8_locale \
b77aba85 1768 |NULLOK SV **output_invlist
77d654fb 1769#endif
ad3f05ad
KW
1770#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
1771EXMp |void |_invlist_dump |NN PerlIO *file|I32 level \
1772 |NN const char* const indent \
1773 |NN SV* const invlist
c4a5db0c 1774#endif
94bdecf9 1775Ap |void |taint_env
6fd06953 1776Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
f9cfe106 1777EpM |char * |_byte_dump_string \
63ab03b3 1778 |NN const U8 * const start \
7e2f38b2
KW
1779 |const STRLEN len \
1780 |const bool format
b9992569 1781#if defined(PERL_IN_UTF8_C)
e050c007
KW
1782inR |int |does_utf8_overflow|NN const U8 * const s \
1783 |NN const U8 * e \
1784 |const bool consider_overlongs
d6be65ae
KW
1785inR |int |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s \
1786 |const STRLEN len
8d6204cc 1787inR |int |isFF_OVERLONG |NN const U8 * const s|const STRLEN len
806547a7 1788sMR |char * |unexpected_non_continuation_text \
7cf8d05d 1789 |NN const U8 * const s \
3cc6a05e 1790 |STRLEN print_len \
7cf8d05d
KW
1791 |const STRLEN non_cont_byte_pos \
1792 |const STRLEN expect_len
34aeb2e9
KW
1793s |void |warn_on_first_deprecated_use \
1794 |NN const char * const name \
1795 |NN const char * const alternative \
1796 |const bool use_locale \
1797 |NN const char * const file \
1798 |const unsigned line
607313a1
KW
1799s |U32 |check_and_deprecate \
1800 |NN const U8 * p \
1801 |NN const U8 ** e \
1802 |const unsigned type \
1803 |const bool use_locale \
1804 |NN const char * const file \
1805 |const unsigned line
b9992569 1806s |UV |_to_utf8_case |const UV uv1 \
a13f1de4 1807 |NULLOK const U8 *p \
b9992569 1808 |NN U8* ustrp \
c404ed8c 1809 |NN STRLEN *lenp \
8946fcd9 1810 |NN SV *invlist \
341bb5b7 1811 |NN const int * const invmap \
e39a4130 1812 |NULLOK const unsigned int * const * const aux_tables \
8946fcd9
KW
1813 |NULLOK const U8 * const aux_table_lengths \
1814 |NN const char * const normal
b9992569 1815#endif
cb57a253 1816ApbmdD |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
a239b1e2 1817AMp |UV |_to_utf8_lower_flags|NN const U8 *p|NULLOK const U8* e \
607313a1
KW
1818 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1819 |NN const char * const file|const int line
cb57a253 1820ApbmdD |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
a239b1e2 1821AMp |UV |_to_utf8_upper_flags |NN const U8 *p|NULLOK const U8 *e \
607313a1
KW
1822 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1823 |NN const char * const file|const int line
cb57a253 1824ApbmdD |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
a239b1e2 1825AMp |UV |_to_utf8_title_flags |NN const U8 *p|NULLOK const U8* e \
607313a1
KW
1826 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags \
1827 |NN const char * const file|const int line
cb57a253 1828ApbmdD |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
a239b1e2 1829AMp |UV |_to_utf8_fold_flags|NN const U8 *p|NULLOK const U8 *e \
607313a1
KW
1830 |NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags \
1831 |NN const char * const file|const int line
83f78d1a 1832#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
ddeaf645 1833pn |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
1834 |bool pos1_is_uv|IV len_iv \
1835 |bool len_is_uv|NN STRLEN *posp \
1836 |NN STRLEN *lenp
1837#endif
94bdecf9 1838#if defined(UNLINK_ALL_VERSIONS)
6e732051 1839Ap |I32 |unlnk |NN const char* f
94bdecf9 1840#endif
1545ba5b 1841Abpd |SSize_t|unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
1842 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1843 |I32 ocnt|U32 flags
e1b825c1 1844Apd |SSize_t|unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
1845 |NN const char *strend|U32 flags
1846Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1847: Used in gv.c, hv.c
78197f2f 1848p |void |unshare_hek |NULLOK HEK* hek
67022846 1849: Used in perly.y
aec46f14 1850p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
9cbfb8ab
KW
1851ApM |void |_force_out_malformed_utf8_message \
1852 |NN const U8 *const p|NN const U8 * const e|const U32 flags \
1853 |const bool die_here
73d689df
KW
1854EXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1855EXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
622f12e7 1856AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
cfe24c19
KW
1857AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
1858AipdRn |U8* |utf8_hop |NN const U8 *s|SSize_t off
1859AipdRn |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start
1860AipdRn |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end
1861AipdRn |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end
09af0336 1862ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp
fed3ba5d
NC
1863Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
1864 |STRLEN ulen
976c1b08
KW
1865AModp |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p
1866AMnp |U8* |bytes_from_utf8_loc|NN const U8 *s \
1867 |NN STRLEN *lenp \
1868 |NN bool *is_utf8p \
1869 |NULLOK const U8 ** first_unconverted
09af0336 1870ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp
977c1d31 1871ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1545ba5b
DD
1872AbpdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
1873AbpMD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
7f974d7e 1874Aopd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
4f83cdcd 1875ApdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
211dff67 1876pM |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 1877
e6a4ffc3 1878Adnop |UV |utf8n_to_uvchr |NN const U8 *s \
f9380377
KW
1879 |STRLEN curlen \
1880 |NULLOK STRLEN *retlen \
1881 |const U32 flags
e6a4ffc3 1882Adnop |UV |utf8n_to_uvchr_error|NN const U8 *s \
f9380377
KW
1883 |STRLEN curlen \
1884 |NULLOK STRLEN *retlen \
1885 |const U32 flags \
1886 |NULLOK U32 * errors
e6a4ffc3
KW
1887AMndi |UV |utf8n_to_uvchr_msgs|NN const U8 *s \
1888 |STRLEN curlen \
1889 |NULLOK STRLEN *retlen \
1890 |const U32 flags \
1891 |NULLOK U32 * errors \
1892 |NULLOK AV ** msgs
24c0e3d3 1893AMnp |UV |_utf8n_to_uvchr_msgs_helper \
e6a4ffc3 1894 |NN const U8 *s \
37657a5b
KW
1895 |STRLEN curlen \
1896 |NULLOK STRLEN *retlen \
1897 |const U32 flags \
1898 |NULLOK U32 * errors \
1899 |NULLOK AV ** msgs
2fe720e2 1900AipnR |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
378516de 1901Ap |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 1902
de69f3af 1903Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
a27992cc 1904Ap |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 1905Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
33f38593
KW
1906AdmM |U8* |uvchr_to_utf8_flags_msgs|NN U8 *d|UV uv|UV flags|NULLOK HV ** msgs
1907Apod |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|const UV flags
1908ApM |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV uv|const UV flags|NULLOK HV** msgs
378516de 1909Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1910Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1911ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
e39a4130
KW
1912EXpR |Size_t |_inverse_folds |const UV cp \
1913 |NN unsigned int * first_folds_to \
1914 |NN const unsigned int ** remaining_folds_to
d67fec57 1915: Used by Data::Alias
6d9a2efc 1916EXp |void |vivify_defelem |NN SV* sv
67022846 1917: Used in pp.c
9026059d 1918pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 1919: Used in pp_sys.c
aec46f14 1920p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1921: Used in locale.c and perl.c
7827dc65 1922p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1923Ap |U32 |seed
3be8f094
TC
1924Xpno |double |drand48_r |NN perl_drand48_t *random_state
1925Xpno |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 1926: Only used in perl.c
e950ecba 1927p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 1928: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 1929p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
1930: Used in doio.c, pp_hot.c, pp_sys.c
1931p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 1932: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1933XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
1934#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
1935p |void |report_redefined_cv|NN const SV *name \
1936 |NN const CV *old_cv \
1937 |NULLOK SV * const *new_const_svp
1938#endif
c5df3096 1939Apd |void |warn_sv |NN SV *baseex
aec46f14 1940Afpd |void |warn |NN const char* pat|...
c5df3096 1941Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 1942Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1943Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1944Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1945Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
1946#ifdef USE_C_BACKTRACE
1947pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
1948dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
1949Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
1950Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
1951#endif
67022846 1952: FIXME
aec46f14 1953p |void |watch |NN char** addr
a377a099 1954Am |I32 |whichsig |NN const char* sig
e950ecba
KW
1955Ap |I32 |whichsig_sv |NN SV* sigsv
1956Ap |I32 |whichsig_pv |NN const char* sig
1957Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
c8028aa6 1958: used to check for NULs in pathnames and other names
41188aa0 1959AiR |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
81f54ac7 1960#ifdef PERL_CORE
7cb3f959 1961inR |bool |should_warn_nl|NN const char *pv
81f54ac7 1962#endif
67022846 1963: Used in pp_ctl.c
7d0994e0 1964p |void |write_to_stderr|NN SV* msv
67022846 1965: Used in op.c
15f169a1 1966p |int |yyerror |NN const char *const s
d43328d5 1967p |void |yyquit
cc8b45bd 1968pr |void |abort_execution|NN const char * const msg|NN const char * const name
19c62481 1969p |int |yyerror_pv |NN const char *const s|U32 flags
68da2a65 1970p |int |yyerror_pvn |NULLOK const char *const s|STRLEN len|U32 flags
d67fec57 1971: Used in perly.y, and by Data::Alias
6d9a2efc 1972EXp |int |yylex
28ac2b49 1973p |void |yyunlex
67022846 1974: Used in perl.c, pp_ctl.c
28ac2b49 1975p |int |yyparse |int gramtype
67022846 1976: Only used in scope.c
734c2451 1977p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
1978#ifdef PERL_CORE
1979p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
1980 |NN OPSLAB *slab
1981#endif
43869a0c 1982#if defined(PERL_IN_TOKE_C)
19c62481 1983s |int |yywarn |NN const char *const s|U32 flags
af41e527 1984#endif
94bdecf9 1985#if defined(MYMALLOC)
6e9b0e18 1986Ap |void |dump_mstats |NN const char* s
ec1aec95 1987Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1988#endif
4373e329
AL
1989Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1990Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 1991AnpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1992Anp |Free_t |safesysfree |Malloc_t where
d1decf2b 1993Asrnx |void |croak_memory_wrap
94bdecf9
JH
1994#if defined(PERL_GLOBAL_STRUCT)
1995Ap |struct perl_vars *|GetVars
77304e85 1996Ap |struct perl_vars*|init_global_struct
7827dc65 1997Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1998#endif
1999Ap |int |runops_standard
2000Ap |int |runops_debug
66ceb532
SS
2001Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
2002Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
2003 |NULLOK va_list *const args
2b021c53 2004Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 2005Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 2006Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
2007Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
2008Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
2009 |NULLOK va_list *const args
aad570aa 2010Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
3d9637d6 2011Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
2012Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
2013Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
2014Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
2015Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 2016Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 2017Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 2018ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 2019Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 2020 |STRLEN pvlim
4420a417 2021Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
2022 |const STRLEN count|const STRLEN max\
2023 |NULLOK STRLEN * const escaped\
2024 |const U32 flags
e950ecba 2025Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 2026 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
2027 |NULLOK char const * const start_color\
2028 |NULLOK char const * const end_color\
ab3bbdeb 2029 |const U32 flags
aec46f14
AL
2030Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
2031Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
2032 |NULLOK va_list *args
b4390064
NC
2033Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
2034 |NULLOK GV *sv
2035Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
2036 |NULLOK GV *sv
4c31e473
NC
2037Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
2038 |NULLOK HV *sv
3dc78631 2039Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 2040 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
2041Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
2042Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 2043Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 2044 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 2045Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 2046Ap |void |reginitcolors
cb2f1b7b
NC
2047ApdRmb |char* |sv_2pv_nolen |NN SV* sv
2048ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
2049ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
5ff52e3c
KW
2050ApmdbR |char* |sv_pv |NN SV *sv
2051ApmdbR |char* |sv_pvutf8 |NN SV *sv
2052ApmdbR |char* |sv_pvbyte |NN SV *sv
2053Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 2054Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
7bc54cea
SS
2055ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
2056Apd |void |sv_utf8_encode |NN SV *const sv
2057ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 2058Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 2059Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 2060pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 2061Apd |SV* |sv_rvweaken |NN SV *const sv
ae2cf9f6 2062Apd |SV* |sv_rvunweaken |NN SV *const sv
d722d2af 2063AnpMd |SV* |sv_get_backrefs|NN SV *const sv
67022846 2064: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 2065p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 2066Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91 2067Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
28ef7048 2068pdX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 2069 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 2070 |bool o_is_gv
50278755 2071Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 2072 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 2073p |CV* |newSTUB |NN GV *gv|bool fake
67022846 2074: Used in perly.y
46c461b5 2075p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 2076#if defined(USE_ITHREADS)
6c047da7
YST
2077ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
2078ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
346c6a29 2079ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
2080ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
2081ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
2082ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
2083Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
2084 |NN CLONE_PARAMS* param
66ceb532 2085Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 2086ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 2087ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 2088ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 2089#if defined(PERL_IN_SV_C)
538f2e76
NC
2090s |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
2091 |SSize_t items|NN CLONE_PARAMS *const param
d08d57ef
NC
2092sR |SV* |sv_dup_common |NN const SV *const sstr \
2093 |NN CLONE_PARAMS *const param
2094#endif
1eb6e4ca 2095ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
2096ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
2097 |NN CLONE_PARAMS *const param
1eb6e4ca 2098Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 2099Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 2100#endif
346c6a29 2101ApR |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
2102ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2103Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
2104 |NN void *const newsv
2105Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 2106ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 2107Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 2108#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
2109Ap |void |sys_intern_clear
2110Ap |void |sys_intern_init
fe826663
NC
2111# if defined(USE_ITHREADS)
2112Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
2113# endif
94bdecf9
JH
2114#endif
2115
d722d2af 2116Amop |const XOP * |custom_op_xop |NN const OP *o
1545ba5b
DD
2117AbpR |const char * |custom_op_name |NN const OP *o
2118AbpR |const char * |custom_op_desc |NN const OP *o
ae103e09 2119pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
1830b3d9
BM
2120Aop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
2121 |NN const XOP *xop
94bdecf9 2122
c48640ec
AL
2123Adp |void |sv_nosharing |NULLOK SV *sv
2124Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 2125Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 2126Adpb |void |sv_nounlocking |NULLOK SV *sv
62375a60 2127Adp |int |nothreadhook
0d96b528 2128p |void |init_constants
94bdecf9 2129
43869a0c 2130#if defined(PERL_IN_DOOP_C)
f0fd0980
DM
2131sR |Size_t |do_trans_simple |NN SV * const sv
2132sR |Size_t |do_trans_count |NN SV * const sv
2133sR |Size_t |do_trans_complex |NN SV * const sv
2134sR |Size_t |do_trans_simple_utf8 |NN SV * const sv
2135sR |Size_t |do_trans_count_utf8 |NN SV * const sv
2136sR |Size_t |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
2137#endif
2138
43869a0c 2139#if defined(PERL_IN_GV_C)
e6066781 2140s |void |gv_init_svtype |NN GV *gv|const svtype sv_type
290a1700 2141s |void |gv_magicalize_isa |NN GV *gv
e950ecba 2142s |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
90aeefb4
BF
2143 |NN const char **name|NN STRLEN *len \
2144 |NN const char *nambeg|STRLEN full_len \
2145 |const U32 is_utf8|const I32 add
e950ecba 2146s |bool|find_default_stash|NN HV **stash|NN const char *name \
90aeefb4 2147 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 2148 |const svtype sv_type
e950ecba 2149s |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
1321bbe3 2150 |STRLEN len \
b3041197 2151 |const svtype sv_type
e950ecba
KW
2152s |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
2153s |bool|gv_is_in_main|NN const char *name|STRLEN len \
536d1a88 2154 |const U32 is_utf8
ee33cc1a 2155s |void |require_tie_mod|NN GV *gv|NN const char varname \
a1683482 2156 |NN const char * name|STRLEN len \
e94ea821 2157 |const U32 flags
94bdecf9
JH
2158#endif
2159
e0171a1a
DM
2160#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
2161po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
2162#endif
2163
43869a0c 2164#if defined(PERL_IN_HV_C)
adf6906b 2165s |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
b6bb1ecb 2166s |void |hv_free_entries|NN HV *hv
a03199ea 2167s |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
346c6a29 2168sR |HE* |new_he
5f66b61c 2169sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 2170sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 2171s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
b02f3645 2172sR |HEK* |share_hek_flags|NN const char *str|STRLEN len|U32 hash|int flags
1df70142 2173rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
ec79994d 2174in |U32|ptr_hash|PTRV u
0e0ab621 2175s |struct xpvhv_aux*|hv_auxinit|NN HV *hv
bea177f3 2176sn |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter
4048f010
NC
2177sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
2178 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
2179 |U32 hash
2180sM |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
2181#endif
2182
43869a0c 2183#if defined(PERL_IN_MG_C)
ff44333e 2184s |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
1be7e5f1 2185s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
efaf3674 2186s |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 2187 |NN SV *meth|U32 flags \
aec46f14 2188 |int n|NULLOK SV *val
251cc6a6 2189s |void |restore_magic |NULLOK const void *p
0c4d3b5e 2190s |void |unwind_handler_stack|NULLOK const void *p
d9fe7d23 2191s |void |fixup_errno_string|NN SV* sv
8772537c 2192
94bdecf9
JH
2193#endif
2194
43869a0c 2195#if defined(PERL_IN_OP_C)
5f66b61c 2196sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
4fec8804 2197sR |I32 |assignment_type|NULLOK const OP *o
23083432 2198s |void |forget_pmop |NN PMOP *const o
bfd0ff22 2199s |void |find_and_forget_pmops |NN OP *o
504618e9 2200s |void |cop_free |NN COP *cop
46c461b5 2201s |OP* |modkids |NULLOK OP *o|I32 type
504618e9 2202s |OP* |scalarboolean |NN OP *o
71c4dbc3 2203sR |OP* |search_const |NN OP *o
504618e9
AL
2204sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
2205s |void |simplify_sort |NN OP *o
1ecbeecf 2206sRn |bool |scalar_mod_type|NULLOK const OP *o|I32 type
aec46f14
AL
2207s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
2208s |OP * |dup_attrlist |NN OP *o
ad0dc73b 2209s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
aec46f14 2210s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
ed9feedd
DD
2211s |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
2212s |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
eb796c7f 2213s |void |no_bareword_allowed|NN OP *o
504618e9 2214sR |OP* |no_fh_allowed|NN OP *o
ce16c625
BF
2215sR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2216s |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
7896dde7
Z
2217s |bool |looks_like_bool|NN const OP* o
2218s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
2219 |I32 enter_opcode|I32 leave_opcode \
2220 |PADOFFSET entertarg
2221s |OP* |ref_array_or_hash|NULLOK OP* cond
2eaf799e 2222s |bool |process_special_blocks |I32 floor \
d699ecb7 2223 |NN const char *const fullname\
33fb7a6e 2224 |NN GV *const gv|NN CV *const cv
3969ff3f
TC
2225s |void |clear_special_blocks |NN const char *const fullname\
2226 |NN GV *const gv|NN CV *const cv
c7e45529 2227#endif
346c6a29 2228XpR |void* |Slab_Alloc |size_t sz
8be227ab
FC
2229Xp |void |Slab_Free |NN void *op
2230#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 2231# if defined(PERL_CORE)
3107b51f 2232px |void |Slab_to_ro |NN OPSLAB *slab
7bbbc3c0 2233px |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 2234# endif
67022846 2235: Used in OpREFCNT_inc() in sv.c
fc97af9c 2236poxM |OP * |op_refcnt_inc |NULLOK OP *o
67022846 2237: FIXME - can be static.
fc97af9c 2238poxM |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
2239#endif
2240
43869a0c 2241#if defined(PERL_IN_PERL_C)
2f9285f8 2242s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 2243s |void |forbid_setid |const char flag|const bool suidscript
08d0d8ab 2244s |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 2245 |U32 flags
c29067d7
CH
2246s |SV* |mayberelocate |NN const char *const dir|STRLEN len \
2247 |U32 flags
50d61629 2248s |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
94bdecf9
JH
2249s |void |init_interp
2250s |void |init_ids
94bdecf9 2251s |void |init_main_stash
2cace6ac 2252s |void |init_perllib
aec46f14 2253s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
2254s |void |init_predump_symbols
2255rs |void |my_exit_jump
2256s |void |nuke_stacks
8d113837
NC
2257s |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
2258 |NN bool *suidscript
b6f82619 2259sr |void |usage
cc69b689 2260#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
ec2019ad 2261so |void |validate_suid |NN PerlIO *rsfp
ec2019ad 2262#endif
c4bc78d9 2263sr |void |minus_v
2f9285f8 2264
aec46f14 2265s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 2266rs |void |run_body |I32 oldscope
59d6f6a4 2267# ifndef PERL_IS_MINIPERL
7ffdaae6 2268s |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 2269# endif
94bdecf9
JH
2270#endif
2271
43869a0c 2272#if defined(PERL_IN_PP_C)
f595e19f 2273s |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
7332a6c4 2274s |OP* |do_delete_local
aec46f14 2275sR |SV* |refto |NN SV* sv
94bdecf9 2276#endif
43869a0c 2277#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 2278: Used in pp_hot.c
dc3c76f8 2279pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 2280 |const svtype type|NN SV ***spp
dc3c76f8 2281#endif
94bdecf9 2282
43869a0c 2283#if defined(PERL_IN_PP_PACK_C)
e1b825c1 2284s |SSize_t|unpack_rec |NN struct tempsym* symptr|NN const char *s \
aec46f14
AL
2285 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
2286s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329 2287s |SV* |mul128 |NN SV *sv|U8 m
e1b825c1 2288s |SSize_t|measure_struct |NN struct tempsym* symptr
4373e329 2289s |bool |next_symbol |NN struct tempsym* symptr
1df70142 2290sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 2291s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
2292s |const char *|group_end |NN const char *patptr|NN const char *patend \
2293 |char ender
e1b825c1 2294sR |const char *|get_num |NN const char *patptr|NN SSize_t *lenptr
aec46f14
AL
2295ns |bool |need_utf8 |NN const char *pat|NN const char *patend
2296ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 2297sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
d21d7215 2298snR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3a88beaa 2299 |const bool needs_swap
94bdecf9
JH
2300#endif
2301
43869a0c 2302#if defined(PERL_IN_PP_CTL_C)
d7e3f70f 2303sR |OP* |docatch |Perl_ppaddr_t firstpp
5db1eb8d
BF
2304sR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
2305 |U32 flags|NN OP **opstack|NN OP **oplimit
74e0ddf7 2306s |MAGIC *|doparseform |NN SV *sv
901017d6
AL
2307snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
2308sR |I32 |dopoptoeval |I32 startingblock
7896dde7 2309sR |I32 |dopoptogivenfor|I32 startingblock
5db1eb8d 2310sR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
901017d6 2311sR |I32 |dopoptoloop |I32 startingblock
aec46f14 2312sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
7896dde7 2313sR |I32 |dopoptowhen |I32 startingblock
46c461b5 2314s |void |save_lines |NULLOK AV *array|NN SV *sv
1c23e2bd 2315s |bool |doeval_compile |U8 gimme \
f45b078d 2316 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
282b29ee 2317sR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 2318#ifndef PERL_DISABLE_PMC
282b29ee 2319sR |PerlIO *|doopen_pm |NN SV *name
75c20bac 2320#endif
511712dc 2321iRn |bool |path_is_searchable|NN const char *name
0bd48802 2322sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
7896dde7
Z
2323sR |PMOP* |make_matcher |NN REGEXP* re
2324sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
2325s |void |destroy_matcher|NN PMOP* matcher
2326s |OP* |do_smartmatch |NULLOK HV* seen_this \
2327 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
2328#endif
2329
43869a0c 2330#if defined(PERL_IN_PP_HOT_C)
fb8f4cf8 2331s |void |do_oddball |NN SV **oddkey|NN SV **firstkey
7d6c333c 2332i |HV* |opmethod_stash |NN SV* meth
94bdecf9
JH
2333#endif
2334
43869a0c 2335#if defined(PERL_IN_PP_SORT_C)
31e9e0a3
SH
2336s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
2337s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
2338s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
2339s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
2340s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
0ce92b9f 2341# ifdef USE_LOCALE_COLLATE
31e9e0a3 2342s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
0ce92b9f 2343# endif
31e9e0a3
SH
2344s |I32 |sortcv |NN SV *const a|NN SV *const b
2345s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
2346s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
f0f5dc9d
AL
2347#endif
2348
43869a0c 2349#if defined(PERL_IN_PP_SYS_C)
10223365 2350s |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
94bdecf9 2351# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 2352sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 2353# endif
d35c1b5e 2354s |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 2355#endif
3e0cb5de 2356p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2357 |NN SV *const sv|NN const MAGIC *const mg \
2358 |const U32 flags|U32 argc|...
94bdecf9 2359
8b9781c9
YO
2360#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2361Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2362 |NULLOK const RExC_state_t *pRExC_state
7b031478 2363Ep |int |re_printf |NN const char *fmt|...
8b9781c9 2364#endif
43869a0c 2365#if defined(PERL_IN_REGCOMP_C)
f55b7b26 2366Es |regnode_offset|reg |NN RExC_state_t *pRExC_state \
4048f010 2367 |I32 paren|NN I32 *flagp|U32 depth
f55b7b26 2368Es |regnode_offset|regnode_guts|NN RExC_state_t *pRExC_state \
f917fa87
KW
2369 |const U8 op \
2370 |const STRLEN extra_len \
2371 |NN const char* const name
ded2bbcb 2372Es |void |change_engine_size|NN RExC_state_t *pRExC_state|const Ptrdiff_t size
f55b7b26 2373Es |regnode_offset|reganode|NN RExC_state_t *pRExC_state|U8 op \
4048f010 2374 |U32 arg
f55b7b26 2375Es |regnode_offset|reg2Lanode|NN RExC_state_t *pRExC_state \
9990d5ab
KW
2376 |const U8 op \
2377 |const U32 arg1 \
2378 |const I32 arg2
f55b7b26 2379Es |regnode_offset|regatom |NN RExC_state_t *pRExC_state \
4048f010 2380 |NN I32 *flagp|U32 depth
f55b7b26 2381Es |regnode_offset|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2382 |NN I32 *flagp|I32 first|U32 depth
09b2b2e6 2383Es |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2384 |NN regnode* const node \
9991ebf1 2385 |NULLOK SV* const cp_list \
d2b7f31e 2386 |NULLOK SV* const runtime_defns \
1ee208c4 2387 |NULLOK SV* const only_utf8_locale_list \
9991ebf1
KW
2388 |NULLOK SV* const swash \
2389 |const bool has_user_defined_property
a6609ec9 2390Es |void |output_posix_warnings \
b7c50ab8 2391 |NN RExC_state_t *pRExC_state \
a6609ec9 2392 |NN AV* posix_warnings
a5454c46 2393Es |AV* |add_multi_match|NULLOK AV* multi_char_matches \
8f0cd35a 2394 |NN SV* multi_string \
a5454c46 2395 |const STRLEN cp_count
f55b7b26 2396Es |regnode_offset|regclass|NN RExC_state_t *pRExC_state \
8316ead6 2397 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2398 |bool allow_multi_fold \
af631a26
KW
2399 |const bool silence_non_portable \
2400 |const bool strict \
46d34d0e 2401 |bool optimizable \
25f472ce 2402 |NULLOK SV** ret_invlist
8954b91a
KW
2403Es |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
2404 |NN SV** invlist
f55b7b26 2405Ei |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \
6421685e
KW
2406 |NN I32 *flagp \
2407 |NN char * parse_start \
2408 |char ch
cfe24c19 2409EsnR |unsigned int|regex_set_precedence|const U8 my_operator
f55b7b26 2410Es |regnode_offset|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2411 |NULLOK SV ** return_invlist \
f4f5fe57 2412 |NN I32 *flagp|U32 depth \
9d1a5160 2413 |NN char * const oregcomp_parse
e40c711d 2414Es |void |set_regex_pv |NN RExC_state_t *pRExC_state|NN REGEXP *Rx
a03e9135
KW
2415#if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
2416Es |void |dump_regex_sets_structures \
2417 |NN RExC_state_t *pRExC_state \
2418 |NN AV * stack \
2419 |const IV fence|NN AV * fence_stack
2420#endif
09b2b2e6 2421Es |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
f55b7b26
KW
2422Es |regnode_offset|reg_node|NN RExC_state_t *pRExC_state|U8 op
2423Es |regnode_offset|regpiece|NN RExC_state_t *pRExC_state \
4048f010 2424 |NN I32 *flagp|U32 depth
b6d67071 2425Es |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
f55b7b26 2426 |NULLOK regnode_offset* nodep \
b6d67071
KW
2427 |NULLOK UV *code_point_p \
2428 |NULLOK int* cp_count \
2429 |NN I32 *flagp \
fe0a3646 2430 |const bool strict \
b6d67071 2431 |const U32 depth
09b2b2e6 2432Es |void |reginsert |NN RExC_state_t *pRExC_state \
a9f8f0e7
KW
2433 |const U8 op \
2434 |const regnode_offset operand \
2435 |const U32 depth
6f2a89df 2436Es |void |regtail |NN RExC_state_t * pRExC_state \
f55b7b26
KW
2437 |NN const regnode_offset p \
2438 |NN const regnode_offset val \
6f2a89df 2439 |const U32 depth
09b2b2e6 2440Es |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2441 |U32 flags
09b2b2e6 2442Es |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2443 |NN regnode *scan|NN UV *min_subtract \
fb29cc72 2444 |NN bool *unfolded_multi_char \
f758bddf 2445 |U32 flags|NULLOK regnode *val|U32 depth
dc3bf405 2446Ein |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
f400bbf0 2447Es |void |nextchar |NN RExC_state_t *pRExC_state
3e699fa0
KW
2448Es |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
2449 |NN char ** p \
2450 |const bool force_to_xmod
dc3bf405 2451Ein |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
09b2b2e6
KW
2452Es |void |scan_commit |NN const RExC_state_t *pRExC_state \
2453 |NN struct scan_data_t *data \
2454 |NN SSize_t *minlenp \
2455 |int is_inf
ecfdcf39 2456Es |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
3420edd7 2457Es |void |ssc_anything |NN regnode_ssc *ssc
dc3bf405 2458EsRn |int |ssc_is_anything|NN const regnode_ssc *ssc
cdd87c1d 2459Es |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2460 |NN regnode_ssc *ssc
dc3bf405 2461EsRn |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
fb38762f 2462 |NN const regnode_ssc *ssc
1ca93ef1
KW
2463Es |void |ssc_and |NN const RExC_state_t *pRExC_state \
2464 |NN regnode_ssc *ssc \
7dcac5f6 2465 |NN const regnode_charclass *and_with
cdd87c1d 2466Es |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2467 |NN regnode_ssc *ssc \
7dcac5f6 2468 |NN const regnode_charclass *or_with
fb38762f
KW
2469Es |SV* |get_ANYOF_cp_list_for_ssc \
2470 |NN const RExC_state_t *pRExC_state \
5c0f85ef 2471 |NN const regnode_charclass* const node
fb38762f
KW
2472Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2473 |NN SV* const invlist|const bool invert_2nd
2474Ei |void |ssc_union |NN regnode_ssc *ssc \
2475 |NN SV* const invlist|const bool invert_2nd
2476Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2477 |UV const start|UV const end
2478Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2479 |UV const cp
dc3bf405 2480Ein |void |ssc_clear_locale|NN regnode_ssc *ssc
b35552de
KW
2481Ens |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
2482 |NN const regnode_ssc * ssc
fb38762f
KW
2483Es |void |ssc_finalize |NN RExC_state_t *pRExC_state \
2484 |NN regnode_ssc *ssc
09b2b2e6 2485Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2486 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2487 |NN SSize_t *deltap|NN regnode *last \
4048f010 2488 |NULLOK struct scan_data_t *data \
09a65838 2489 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2490 |NULLOK regnode_ssc *and_withp \
a3621e74 2491 |U32 flags|U32 depth
2813d4ad 2492EsR |SV * |get_ANYOFM_contents|NN const regnode * n
c8a27964 2493EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2494 |NN const char* const s|const U32 n
c1d900c3 2495rs |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
46d34d0e
KW
2496Es |int |handle_possible_posix \
2497 |NN RExC_state_t *pRExC_state \
2498 |NN const char* const s \
2499 |NULLOK char ** updated_parse_ptr \
b7c50ab8
KW
2500 |NULLOK AV** posix_warnings \
2501 |const bool check_only
09b2b2e6 2502Es |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2503 |NN regnode *startbranch|NN regnode *first \
2504 |NN regnode *last|NN regnode *tail \
786e8c11 2505 |U32 word_count|U32 flags|U32 depth
615a2e7f
YO
2506Es |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
2507 |NN regnode *source|U32 depth
cfe24c19
KW
2508EnsR |const char *|cntrl_to_mnemonic|const U8 c
2509EnsR |int |edit_distance |NN const UV *src \
c6871b76
KW
2510 |NN const UV *tgt \
2511 |const STRLEN x \
2512 |const STRLEN y \
2513 |const SSize_t maxDistance
cef72199 2514EXp |SV * |parse_uniprop_string|NN const char * const name \
b41284b9 2515 |const Size_t name_len \
cef72199
KW
2516 |const bool to_fold \
2517 |NN bool * invert
3dab1dad 2518# ifdef DEBUGGING
7b031478 2519Ep |int |re_indentf |NN const char *fmt|U32 depth|...
e950ecba 2520Es |void |regdump_intflags|NULLOK const char *lead| const U32 flags
f7819f85 2521Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
2522Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
2523 |NN const regnode *node \
786e8c11
YO
2524 |NULLOK const regnode *last \
2525 |NULLOK const regnode *plast \
2526 |NN SV* sv|I32 indent|U32 depth
8e8a4468 2527Es |void |put_code_point |NN SV* sv|UV c
b77aba85 2528Es |bool |put_charclass_bitmap_innards|NN SV* sv \
06a83acd 2529 |NULLOK char* bitmap \
b77aba85
KW
2530 |NULLOK SV* nonbitmap_invlist \
2531 |NULLOK SV* only_utf8_locale_invlist\
753b2c6a
KW
2532 |NULLOK const regnode * const node \
2533 |const bool force_as_is_display
b77aba85
KW
2534Es |SV* |put_charclass_bitmap_innards_common \
2535 |NN SV* invlist \
2536 |NULLOK SV* posixes \
2537 |NULLOK SV* only_utf8 \
2538 |NULLOK SV* not_utf8 \
2539 |NULLOK SV* only_utf8_locale \
2540 |const bool invert
2541Es |void |put_charclass_bitmap_innards_invlist \
2542 |NN SV *sv \
2543 |NN SV* invlist
e053ac11
KW
2544Es |void |put_range |NN SV* sv|UV start|const UV end \
2545 |const bool allow_literals
55eed653 2546Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2547 |NULLOK HV* widecharmap|NN AV *revcharmap\
2548 |U32 depth
55eed653 2549Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2550 |NULLOK HV* widecharmap|NN AV *revcharmap\
2551 |U32 next_alloc|U32 depth
55eed653 2552Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2553 |NULLOK HV* widecharmap|NN AV *revcharmap\
2554 |U32 next_alloc|U32 depth
09b2b2e6 2555Es |U8 |regtail_study |NN RExC_state_t *pRExC_state \
f55b7b26 2556 |NN regnode_offset p|NN const regnode_offset val|U32 depth
3dab1dad 2557# endif
94bdecf9
JH
2558#endif
2559
34aeb2e9 2560#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
24e16d7b 2561EXRpM |bool |isFOO_lc |const U8 classnum|const U8 character
34aeb2e9 2562#endif
94749a5e
KW
2563
2564#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
2565ERp |bool |_is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *strend|const UV cp
2566#endif
2567
34aeb2e9 2568#if defined(PERL_IN_REGEXEC_C)
a78c2fa6 2569ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character|NN const U8* e
2b1f9c71
KW
2570ERns |U8 * |find_next_masked|NN U8 * s \
2571 |NN const U8 * send \
2813d4ad 2572 |const U8 byte|const U8 mask
2b1f9c71 2573ERns |U8 *|find_span_end |NN U8* s|NN const U8 * send|const U8 span_byte
070e8b2e
KW
2574ERns |U8 *|find_span_end_mask|NN U8 * s|NN const U8 * send \
2575 |const U8 span_byte|const U8 mask
99a90e59 2576ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
21553840 2577WERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b
DM
2578 |NN const regnode *p \
2579 |NN regmatch_info *const reginfo \
21553840 2580 |I32 max
63f46dab 2581ERs |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
3db24e1e
KW
2582ERs |bool |reginclass |NULLOK regexp * const prog \
2583 |NN const regnode * const n \
2584 |NN const U8 * const p \
2585 |NN const U8 * const p_end \
635cd5d4 2586 |bool const utf8_target
21553840
YO
2587WEs |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
2588 |U32 maxopenparen
2589WEs |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p
2590WEs |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p
ea3daa5d 2591ERsn |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
ea3daa5d 2592ERsn |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2593 |NN const U8 *rlim
b6c0faaf 2594ERsn |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
984e6dd1
DM
2595ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c \
2596 |NN char *s|NN const char *strend \
f9176b44 2597 |NULLOK regmatch_info *reginfo
a3b680e6 2598Es |void |to_utf8_substr |NN regexp * prog
7e0d5ad7 2599Es |bool |to_byte_substr |NN regexp * prog
dc3bf405 2600ERsn |I32 |reg_check_named_buff_matched |NN const regexp *rex \
4048f010 2601 |NN const regnode *scan
b0e24409
KW
2602EsR |bool |isGCB |const GCB_enum before \
2603 |const GCB_enum after \
2604 |NN const U8 * const strbeg \
2605 |NN const U8 * const curpos \
2606 |const bool utf8_target
2607EsR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
2608 |NN U8 ** curpos \
2609 |const bool utf8_target
6b659339
KW
2610EsR |bool |isLB |LB_enum before \
2611 |LB_enum after \
2612 |NN const U8 * const strbeg \
2613 |NN const U8 * const curpos \
2614 |NN const U8 * const strend \
2615 |const bool utf8_target
2616EsR |LB_enum|advance_one_LB |NN U8 ** curpos \
2617 |NN const U8 * const strend \
2618 |const bool utf8_target
2619EsR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
2620 |NN U8 ** curpos \
2621 |const bool utf8_target
85e5f08b
KW
2622EsR |bool |isSB |SB_enum before \
2623 |SB_enum after \
06ae2722
KW
2624 |NN const U8 * const strbeg \
2625 |NN const U8 * const curpos \
ae3bb8ea
KW
2626 |NN const U8 * const strend \
2627 |const bool utf8_target
85e5f08b 2628EsR |SB_enum|advance_one_SB |NN U8 ** curpos \
06ae2722
KW
2629 |NN const U8 * const strend \
2630 |const bool utf8_target
85e5f08b 2631EsR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
ae3bb8ea
KW
2632 |NN U8 ** curpos \
2633 |const bool utf8_target
85e5f08b
KW
2634EsR |bool |isWB |WB_enum previous \
2635 |WB_enum before \
2636 |WB_enum after \
ae3bb8ea
KW
2637 |NN const U8 * const strbeg \
2638 |NN const U8 * const curpos \
2639 |NN const U8 * const strend \
2640 |const bool utf8_target
85e5f08b 2641EsR |WB_enum|advance_one_WB |NN U8 ** curpos \
06ae2722 2642 |NN const U8 * const strend \
4370fbb5
KW
2643 |const bool utf8_target \
2644 |const bool skip_Extend_Format
85e5f08b 2645EsR |WB_enum|backup_one_WB |NN WB_enum * previous \
06ae2722
KW
2646 |NN const U8 * const strbeg \
2647 |NN U8 ** curpos \
2648 |const bool utf8_target
53362e85 2649Ein |I32 |foldEQ_latin1_s2_folded|NN const char* a|NN const char* b|I32 len
07be1b83 2650# ifdef DEBUGGING
786e8c11 2651Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
389f4c1e 2652 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
efd26800
NC
2653Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
2654 |NN const char *start|NN const char *end\
2655 |NN const char *blurb
cb41e5d6 2656
7b031478 2657Ep |int |re_exec_indentf |NN const char *fmt|U32 depth|...
07be1b83 2658# endif
94bdecf9
JH
2659#endif
2660
43869a0c 2661#if defined(PERL_IN_DUMP_C)
de5fee32 2662s |CV* |deb_curcv |I32 ix
46c461b5 2663s |void |debprof |NN const OP *o
0bd48802 2664s |UV |sequence_num |NULLOK const OP *o
4199688e 2665s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2666#endif
2667
43869a0c 2668#if defined(PERL_IN_SCOPE_C)
af7df257 2669s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2670#endif
2671
4c74a7df 2672#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2673: Used in gv.c
2b021c53 2674po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2675#endif
2676
43869a0c 2677#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2678: Used in hv.c and mg.c
5648c0ae 2679poM |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2680#endif
2681
579333ee
FC
2682#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2683pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2684 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 2685 |SSize_t aindex|int subscript_type
579333ee
FC
2686#endif
2687
4c74a7df 2688pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2689#if defined(PERL_IN_SV_C)
dd0a5f5f 2690niR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2691i |void |sv_unglob |NN SV *const sv|U32 flags
3f7602fa 2692s |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
aad570aa 2693s |void |not_a_number |NN SV *const sv
3f7602fa 2694s |void |not_incrementable |NN SV *const sv
de37a194 2695s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2696# ifdef DEBUGGING
46c461b5 2697s |void |del_sv |NN SV *p
94bdecf9
JH
2698# endif
2699# if !defined(NV_PRESERVES_UV)
47031da6 2700# ifdef DEBUGGING
5de3775c 2701s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2702# else
5de3775c 2703s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2704# endif
94bdecf9 2705# endif
6e1be2e0 2706sR |STRLEN |expect_number |NN const char **const pattern
721e86b6 2707sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2708 |NN const U8 *const send|NN STRLEN *const uoffset \
2709 |NN bool *const at_end
721e86b6 2710sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2711 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
af828c01 2712s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2713 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2714 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ec49a12c
NC
2715s |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2716 |const STRLEN ulen
ac1e9476
SS
2717s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2718 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
2719s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2720 |NN const U8 *end|STRLEN endu
9df83ffd
NC
2721s |void |assert_uft8_cache_coherent|NN const char *const func \
2722 |STRLEN from_cache|STRLEN real|NN SV *const sv
66ceb532 2723sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 2724s |SV * |more_sv
5de3775c 2725s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
2726s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
2727 |const int dtype
1eb6e4ca 2728sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
803f2748 2729s |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2730#endif
2731
ecf9cdab
NC
2732: Used in sv.c and hv.c
2733po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2734 |const size_t arena_size
2735
43869a0c 2736#if defined(PERL_IN_TOKE_C)
94bdecf9
JH
2737s |void |check_uni
2738s |void |force_next |I32 type
4048f010 2739s |char* |force_version |NN char *s|int guessing
91152fc1 2740s |char* |force_strict_version |NN char *s
46c461b5 2741s |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2742 |int allow_pack
46c461b5 2743s |SV* |tokeq |NN SV *sv
46c461b5 2744sR |char* |scan_const |NN char *start
7a7d14f3 2745sR |SV* |get_and_check_backslash_N_name|NN const char* s \
6f613c73 2746 |NN const char* const e
46c461b5
AL
2747sR |char* |scan_formline |NN char *s
2748sR |char* |scan_heredoc |NN char *s
c9470cf1 2749s |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2750 |STRLEN destlen|I32 ck_uni
46c461b5
AL
2751sR |char* |scan_inputsymbol|NN char *start
2752sR |char* |scan_pat |NN char *start|I32 type
d24ca0c5 2753sR |char* |scan_str |NN char *start|int keep_quoted \
4d68ffa0 2754 |int keep_delims|int re_reparse \
e68dd03a 2755 |NULLOK char **delimp
46c461b5
AL
2756sR |char* |scan_subst |NN char *start
2757sR |char* |scan_trans |NN char *start
2758s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
2759 |int allow_package|NN STRLEN *slp
5fa550fb 2760s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2761 |NULLOK const char *const buf|STRLEN len
21791330 2762sR |char* |skipspace_flags|NN char *s|U32 flags
46c461b5 2763sR |char* |swallow_bom |NN U8 *s
a28af015
NC
2764#ifndef PERL_NO_UTF16_FILTER
2765s |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
81a923f4 2766s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2767#endif
c94115d8
NC
2768s |void |checkcomma |NN const char *s|NN const char *name \
2769 |NN const char *what
46c461b5 2770s |void |force_ident |NN const char *s|int kind
3f33d153 2771s |void |force_ident_maybe_lex|char pit
c6875f94 2772s |void |incline |NN const char *s|NN const char *end
10c25cd9 2773s |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
c6875f94 2774s |int |intuit_more |NN char *s|NN char *e
11288bb3 2775s |I32 |lop |I32 f|U8 x|NN char *s
44918de8 2776rs |void |missingterm |NULLOK char *s|STRLEN len
15f169a1 2777s |void |no_op |NN const char *const what|NULLOK char *s
49fb8620 2778s |int |pending_ident
46c461b5
AL
2779sR |I32 |sublex_done
2780sR |I32 |sublex_push
2781sR |I32 |sublex_start
5cc814fd 2782sR |char * |filter_gets |NN SV *sv|STRLEN append
9bde8eb0 2783sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 2784sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
2785so |SV* |new_constant |NULLOK const char *s|STRLEN len \
2786 |NN const char *key|STRLEN keylen|NN SV *sv \
2787 |NULLOK SV *pv|NULLOK const char *type \
2788 |STRLEN typelen
94bdecf9 2789s |int |ao |int toketype
e950ecba 2790s |void|parse_ident|NN char **s|NN char **d \
07f72646 2791 |NN char * const e|int allow_package \
2cb35ee0
FC
2792 |bool is_utf8|bool check_dollar \
2793 |bool tick_warn
94bdecf9 2794# if defined(PERL_CR_FILTER)
9d4ba2ae 2795s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 2796s |void |strip_return |NN SV *sv
94bdecf9 2797# endif
c445ea15 2798# if defined(DEBUGGING)
704d4215 2799s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
5d37acd6 2800sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2801# endif
94bdecf9 2802#endif
5783dc51
FC
2803EXMp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn \
2804 |bool curstash
94bdecf9 2805
43869a0c 2806#if defined(PERL_IN_UNIVERSAL_C)
c8028aa6 2807s |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2808 |STRLEN len|U32 flags
94bdecf9
JH
2809#endif
2810
f7416781 2811#if defined(PERL_IN_LOCALE_C)
d36adde0 2812# ifdef USE_LOCALE
b09aaf40 2813sn |const char*|category_name |const int category
962aa53f
KW
2814s |const char*|switch_category_locale_to_template|const int switch_category|const int template_category|NULLOK const char * template_locale
2815s |void |restore_switched_locale|const int category|NULLOK const char * const original_locale
d36adde0 2816# endif
f61748ac
KW
2817# ifdef HAS_NL_LANGINFO
2818sn |const char*|my_nl_langinfo|const nl_item item|bool toggle
2819# else
2820sn |const char*|my_nl_langinfo|const int item|bool toggle
2821# endif
0b6697c5 2822inR |const char *|save_to_buffer|NULLOK const char * string \
f7416781
KW
2823 |NULLOK char **buf \
2824 |NN Size_t *buf_size \
2825 |const Size_t offset
2826# if defined(USE_LOCALE)
9f162648 2827s |char* |stdize_locale |NN char* locs
a4f00dcc
KW
2828s |void |new_collate |NULLOK const char* newcoll
2829s |void |new_ctype |NN const char* newctype
86799d2d 2830s |void |set_numeric_radix|const bool use_locale
398eeea9 2831s |void |new_numeric |NULLOK const char* newnum
e9bc6d6b
KW
2832# ifdef USE_POSIX_2008_LOCALE
2833sn |const char*|emulate_setlocale|const int category \
2834 |NULLOK const char* locale \
2835 |unsigned int index \
2836 |const bool is_index_valid
2837# endif
f7416781 2838# ifdef WIN32
b8cc575c 2839s |char* |win32_setlocale|int category|NULLOK const char* locale
f7416781
KW
2840# endif
2841# ifdef DEBUGGING
c7202dee
KW
2842s |void |print_collxfrm_input_and_return \
2843 |NN const char * const s \
2844 |NN const char * const e \
2845 |NULLOK const STRLEN * const xlen \
2846 |const bool is_utf8
9c8a6dc2
KW
2847s |void |print_bytes_for_locale |NN const char * const s \
2848 |NN const char * const e \
2849 |const bool is_utf8
a4f00dcc
KW
2850snR |char * |setlocale_debug_string |const int category \
2851 |NULLOK const char* const locale \
2852 |NULLOK const char* const retval
f7416781
KW
2853# endif
2854# endif
9f162648
JH
2855#endif
2856
a8f4b0c6
KW
2857#if defined(USE_LOCALE) \
2858 && ( defined(PERL_IN_LOCALE_C) \
2859 || defined(PERL_IN_MG_C) \
472be41b
KW
2860 || defined (PERL_EXT_POSIX) \
2861 || defined (PERL_EXT_LANGINFO))
c1284011 2862ApM |bool |_is_cur_LC_category_utf8|int category
94bdecf9
JH
2863#endif
2864
5d1187d1 2865
43869a0c 2866#if defined(PERL_IN_UTIL_C)
94bdecf9 2867s |SV* |mess_alloc
c8028aa6 2868s |SV * |with_queued_errors|NN SV *ex
c5df3096 2869s |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 2870#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
0b0ab801 2871sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 2872 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
2873 |Malloc_t oldalloc|Malloc_t newalloc \
2874 |NN const char *filename|const int linenumber \
2875 |NN const char *funcname
2876#endif
94bdecf9
JH
2877#endif
2878
6fb87544
MH
2879#if defined(PERL_MEM_LOG)
2880pn |Malloc_t |mem_log_alloc |const UV nconst|UV typesize|NN const char *type_name|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2881pn |Malloc_t |mem_log_realloc |const UV n|const UV typesize|NN const char *type_name|Malloc_t oldalloc|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2882pn |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
2883#endif
2884
43869a0c 2885#if defined(PERL_IN_UTF8_C)
bb07812e
KW
2886sR |HV * |new_msg_hv |NN const char * const message \
2887 |U32 categories \
2888 |U32 flag
ab0b796c 2889sRM |UV |check_locale_boundary_crossing \
ab0b796c
KW
2890 |NN const U8* const p \
2891 |const UV result \
2892 |NN U8* const ustrp \
2893 |NN STRLEN *lenp
34aeb2e9 2894iR |bool |is_utf8_common |NN const U8 *const p \
34aeb2e9 2895 |NULLOK SV* const invlist
da8c1a98 2896iR |bool |is_utf8_common_with_len|NN const U8 *const p \
eb1f4bb4
KW
2897 |NN const U8 *const e \
2898 |NULLOK SV* const invlist
b0e3252e 2899sR |SV* |swatch_get |NN SV* swash|UV start|UV span
95543e92
KW
2900sRM |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \
2901 |NN UV* max|NN UV* val|const bool wants_value \
2902 |NN const U8* const typestr
646ca15d
JH
2903#endif
2904
680b55f7 2905EXiMn |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
55d09dc8 2906
e03e82a0 2907Apd |void |sv_set_undef |NN SV *sv
7bc54cea 2908Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
2909Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
2910 |const I32 flags
9dcc53ea
Z
2911Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \
2912 |const I32 flags
2e000ff2 2913Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 2914Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 2915Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 2916Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
0b1d8e2d 2917Apmb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
4bac9ae4
CS
2918Apmd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
2919Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
6928bedc
KW
2920Apo |char* |my_atof2 |NN const char *orig|NN NV* value
2921Ap |char* |my_atof3 |NN const char *orig|NN NV* value|const STRLEN len
94bdecf9 2922Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
ddeaf645 2923Apn |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 2924#ifdef PERL_ANY_COW
67022846 2925: Used in pp_hot.c and regexec.c
7536ed57 2926pMXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 2927#endif
94bdecf9 2928
d070ff45 2929Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2930
97cb92d6 2931#if defined(USE_PERLIO)
46c461b5
AL
2932Ap |int |PerlIO_close |NULLOK PerlIO *f
2933Ap |int |PerlIO_fill |NULLOK PerlIO *f
2934Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2935Ap |int |PerlIO_eof |NULLOK PerlIO *f
2936Ap |int |PerlIO_error |NULLOK PerlIO *f
2937Ap |int |PerlIO_flush |NULLOK PerlIO *f
2938Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
b66f3475 2939Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3d4dd4c7 2940Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
b66f3475 2941 |SSize_t cnt
46c461b5 2942Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2943Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2944 |Size_t count
2945Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2946 |Size_t count
2947Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2948 |Size_t count
46c461b5
AL
2949Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2950Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
0ea86a10
FC
2951Xp |void |PerlIO_save_errno |NULLOK PerlIO *f
2952Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f
94bdecf9 2953
46c461b5
AL
2954Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2955Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b66f3475
LT
2956ApR |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
2957ApR |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2958
46c461b5
AL
2959ApR |PerlIO *|PerlIO_stdin
2960ApR |PerlIO *|PerlIO_stdout
2961ApR |PerlIO *|PerlIO_stderr
57630fb6 2962#endif /* USE_PERLIO */
94bdecf9 2963
67022846 2964: Only used in dump.c
d6721266 2965p |void |deb_stack_all
43869a0c 2966#if defined(PERL_IN_DEB_C)
b64e5050 2967s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2968 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2969#endif
2970
cc76b5cc 2971: pad API
346c6a29 2972ApdR |PADLIST*|pad_new |int flags
eacbb379 2973#ifdef DEBUGGING
e69651e7 2974pnX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist
eacbb379 2975#endif
cc76b5cc 2976#if defined(PERL_IN_PAD_C)
e1c02f84 2977s |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \
cc76b5cc
Z
2978 |NULLOK HV *typestash|NULLOK HV *ourstash
2979#endif
2980Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 2981 |U32 flags|NULLOK HV *typestash\
cca43f78 2982 |NULLOK HV *ourstash
cc76b5cc
Z
2983Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
2984 |const U32 flags|NULLOK HV *typestash\
2985 |NULLOK HV *ourstash
2986Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 2987 |U32 flags|NULLOK HV *typestash\
cc76b5cc
Z
2988 |NULLOK HV *ourstash
2989AMpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
2990Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
a70f21d0 2991p |void |pad_add_weakref|NN CV* func
43869a0c 2992#if defined(PERL_IN_PAD_C)
e1c02f84
FC
2993sd |void |pad_check_dup |NN PADNAME *name|U32 flags \
2994 |NULLOK const HV *ourstash
cc76b5cc 2995#endif
402642c6 2996Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
2997Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
2998Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
2999ApdD |PADOFFSET|find_rundefsvoffset |
3000Apd |SV* |find_rundefsv |
3001#if defined(PERL_IN_PAD_C)
fbb889c8 3002sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc 3003 |NN const CV* cv|U32 seq|int warn \
e1c02f84
FC
3004 |NULLOK SV** out_capture \
3005 |NN PADNAME** out_name|NN int *out_flags
73b81b14 3006#endif
dd2155a4 3007#ifdef DEBUGGING
cc76b5cc
Z
3008Apd |SV* |pad_sv |PADOFFSET po
3009Apd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
3010#endif
3011pd |void |pad_block_start|int full
25f5d540 3012Apd |U32 |intro_my
6d5c2147 3013pd |OP * |pad_leavemy
cc76b5cc
Z
3014pd |void |pad_swipe |PADOFFSET po|bool refadjust
3015#if defined(PERL_IN_PAD_C)
3016sd |void |pad_reset
d5b1589c 3017#endif
cc76b5cc
Z
3018AMpd |void |pad_tidy |padtidy_type type
3019pd |void |pad_free |PADOFFSET po
e950ecba 3020pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 3021#if defined(PERL_IN_PAD_C)
dd2155a4 3022# if defined(DEBUGGING)
66a1b24b 3023sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 3024# endif
dd2155a4 3025#endif
cc76b5cc 3026Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 3027p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
3028pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
3029pdX |void |pad_push |NN PADLIST *padlist|int depth
09d7a3ba 3030ApbdR |HV* |pad_compname_type|const PADOFFSET po
a0e9f837 3031AMpdRn |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key
9b7476d7
FC
3032Xop |void |padnamelist_free|NN PADNAMELIST *pnl
3033AMpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \
3034 |NULLOK PADNAME *val
0f94cb1f 3035Xop |void |padname_free |NN PADNAME *pn
cc76b5cc 3036#if defined(USE_ITHREADS)
0f94cb1f 3037pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param
9b7476d7
FC
3038pR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \
3039 |NN CLONE_PARAMS *param
eacbb379 3040pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \
b70d5558 3041 |NN CLONE_PARAMS *param
cc76b5cc 3042#endif
7261499d
FC
3043p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
3044 |NULLOK PAD *val
cc76b5cc 3045
daad78fc 3046ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 3047pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 3048 |NULLOK U32 *db_seqp
67022846 3049: Only used in perl.c
dd28f7bb 3050p |void |free_tied_hv_pool
b4ab917c 3051#if defined(DEBUGGING)
67022846 3052: Used in mg.c
46c461b5 3053pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 3054#endif
4048f010 3055Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 3056#ifdef DEBUGGING
4048f010 3057Apod |void |hv_assert |NN HV *hv
ed760897 3058#endif
d6721266 3059
4048f010 3060ApdR |SV* |hv_scalar |NN HV *hv
8dc9003f 3061p |void |hv_pushkv |NN HV *hv|U32 flags
1164fd15 3062ApdRM |SV* |hv_bucket_ratio|NN HV *hv
4048f010
NC
3063ApoR |I32* |hv_riter_p |NN HV *hv
3064ApoR |HE** |hv_eiter_p |NN HV *hv
3065Apo |void |hv_riter_set |NN HV *hv|I32 riter
3066Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
e950ecba 3067Ap |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand
4048f010 3068Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
27a1175b
FC
3069p |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
3070 |U32 flags
3071p |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
3072 |U32 flags
67022846 3073: Used in dump.c and hv.c
eaab5649 3074poM |AV** |hv_backreferences_p |NN HV *hv
764ff8a9 3075#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
09aad8f0
DM
3076poM |void |hv_kill_backrefs |NN HV *hv
3077#endif
4048f010 3078Apd |void |hv_clear_placeholders |NN HV *hv
6174b39a 3079XpoR |SSize_t*|hv_placeholders_p |NN HV *hv
0c289d13 3080ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 3081Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 3082
67022846 3083: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 3084p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d 3085
43869a0c 3086#if defined(PERL_IN_SV_C)
6c1b357c
NC
3087s |SV * |find_hash_subscript|NULLOK const HV *const hv \
3088 |NN const SV *const val
1b3df0e6 3089s |SSize_t|find_array_subscript|NULLOK const AV *const av \
6c1b357c
NC
3090 |NN const SV *const val
3091sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
fedf30e1
DM
3092 |NULLOK const SV *const uninit_sv|bool match \
3093 |NN const char **desc_p
29489e7c 3094#endif
96adfaa1 3095
fe9845cc
RB
3096Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
3097Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
7a5fd60d 3098
41e4abd8 3099#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 3100: Used in sv.c
46c461b5 3101p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
3102#endif
3103
c69033f2 3104#ifdef PERL_DONT_CREATE_GVSV
bb85b28a 3105Apbm |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 3106#endif
43869a0c 3107#if defined(PERL_IN_UTIL_C)
26c7b074
NC
3108s |bool |ckwarn_common |U32 w
3109#endif
ca0c6e8c
KW
3110ApoP |bool |ckwarn |U32 w
3111ApoP |bool |ckwarn_d |U32 w
d67fec57 3112: FIXME - exported for ByteLoader - public or private?
346c6a29 3113XEopMR |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 3114 |NN const char *const bits|STRLEN size
c69033f2 3115
fbbee507 3116Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198 3117Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
a4eca1d4
JH
3118#ifdef USE_QUADMATH
3119Apnd |const char* |quadmath_format_single|NN const char* format
3120Apnd |bool|quadmath_format_needed|NN const char* format
3121#endif
d9fad198 3122
67022846 3123: Used in mg.c, sv.c
b0269e46
AB
3124px |void |my_clearenv
3125
f16dd614 3126#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
3127#ifdef PERL_GLOBAL_STRUCT_PRIVATE
3128Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
3129Apo |int |my_cxt_index |NN const char *my_cxt_key
3130#else
e3343589 3131Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 3132#endif
53d44271 3133#endif
071d040c 3134#if defined(PERL_IN_UTIL_C)
672cbd15 3135so |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \
e9b067d9 3136 |STRLEN xs_len
071d040c 3137#endif
9a189793
DD
3138Xpon |I32 |xs_handshake |const U32 key|NN void * v_my_perl\
3139 |NN const char * file| ...
b01a1eea 3140Xp |void |xs_boot_epilog |const I32 ax
a6cc4119 3141#ifndef HAS_STRLCAT
f46a3253 3142Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
3143#endif
3144
3145#ifndef HAS_STRLCPY
e950ecba 3146Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
3147#endif
3148
aefb3fa0
DIM
3149#ifndef HAS_STRNLEN
3150Apnod |Size_t |my_strnlen |NN const char *str|Size_t maxlen
3151#endif
3152
2517ba99
Z
3153#ifndef HAS_MKOSTEMP
3154pno |int |my_mkostemp |NN char *templte|int flags
3155#endif
e48855bd
TC
3156#ifndef HAS_MKSTEMP
3157pno |int |my_mkstemp |NN char *templte
3158#endif
3159
ca0c6e8c 3160APpdn |bool |isinfnan |NV nv
354b74ae 3161p |bool |isinfnansv |NN SV *sv
1cd88304 3162
ed140128
AD
3163#if !defined(HAS_SIGNBIT)
3164AMdnoP |int |Perl_signbit |NV f
3165#endif
f16dd614 3166
d67fec57 3167: Used by B
8b850bd5 3168XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 3169: Used by SvRX and SvRXOK
f7e71195 3170XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 3171
fa60396f
NC
3172Aop |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
3173 |NN const struct mro_alg *const which
3174Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
3175 |NN const struct mro_alg *const which \
3176 |NN SV *const data
a3e6e81e
NC
3177Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
3178Aop |void |mro_register |NN const struct mro_alg *mro
31b9005d
NC
3179Aop |void |mro_set_mro |NN struct mro_meta *const meta \
3180 |NN SV *const name
c60bad7b
NC
3181: Used in HvMROMETA(), which is public.
3182Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 3183#if defined(USE_ITHREADS)
67022846 3184: Only used in sv.c
47c9dd14
BB
3185p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
3186#endif
3187Apd |AV* |mro_get_linear_isa|NN HV* stash
43869a0c 3188#if defined(PERL_IN_MRO_C)
94d1e706 3189sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
80ebaca2
FC
3190s |void |mro_clean_isarev|NN HV * const isa \
3191 |NN const char * const name \
3192 |const STRLEN len \
3386c920
FC
3193 |NULLOK HV * const exceptions \
3194 |U32 hash|U32 flags
80ebaca2 3195s |void |mro_gather_and_rename|NN HV * const stashes \
b89cdb22 3196 |NN HV * const seen_stashes \
80ebaca2
FC
3197 |NULLOK HV *stash \
3198 |NULLOK HV *oldstash \
d7879cf0 3199 |NN SV *namesv
4befac30 3200#endif
67022846 3201: Used in hv.c, mg.c, pp.c, sv.c
4df35a07 3202pd |void |mro_isa_changed_in|NN HV* stash
47c9dd14 3203Apd |void |mro_method_changed_in |NN HV* stash
afdbe55d 3204pdx |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags
67022846 3205: Only used in perl.c
47c9dd14 3206p |void |boot_core_mro
cbec8ebe
DM
3207Apon |void |sys_init |NN int* argc|NN char*** argv
3208Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 3209Apon |void |sys_term
aebc0cbe 3210ApoM |const char *|cop_fetch_label|NN COP *const cop \
dca6062a 3211 |NULLOK STRLEN *len|NULLOK U32 *flags
8375c93e 3212: Only used in op.c and the perl compiler
aebc0cbe 3213ApoM |void|cop_store_label \
ce42d03d 3214 |NN COP *const cop|NN const char *label|STRLEN len|U32 flags
47c9dd14 3215
88e1f1a2
JV
3216xpo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
3217
f7abe70b 3218#if defined(USE_ITHREADS)
43869a0c 3219# if defined(PERL_IN_SV_C)
e4295668
NC
3220s |void |unreferenced_to_tmp_stack|NN AV *const unreferenced
3221# endif
346c6a29 3222ARnop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \
f7abe70b
NC
3223 |NN PerlInterpreter *const to
3224Anop |void |clone_params_del|NN CLONE_PARAMS *param
3225#endif
74e8ce34
NC
3226
3227: Used in perl.c and toke.c
3228op |void |populate_isa |NN const char *name|STRLEN len|...
3229
26ea9e12 3230: Used in keywords.c and toke.c
7d69d4a6 3231Xop |bool |feature_is_enabled|NN const char *const name \
3fff3427 3232 |STRLEN namelen
26ea9e12 3233
25fdce4a
FC
3234: Some static inline functions need predeclaration because they are used
3235: inside other static inline functions.
c47d1a66 3236#if defined(PERL_CORE) || defined (PERL_EXT)
25fdce4a
FC
3237Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \
3238 |NULLOK STRLEN *lenp
c47d1a66 3239#endif
25fdce4a 3240
a73d8813 3241Ap |void |clear_defarray |NN AV* av|bool abandon
ad2de1b2 3242
e02ce34b 3243ApM |void |leave_adjust_stacks|NN SV **from_sp|NN SV **to_sp \
1c23e2bd 3244 |U8 gimme|int filter
799da9d7 3245
ed8ff0f3
DM
3246#ifndef PERL_NO_INLINE_FUNCTIONS
3247AiM |PERL_CONTEXT * |cx_pushblock|U8 type|U8 gimme|NN SV** sp|I32 saveix
3248AiM |void |cx_popblock|NN PERL_CONTEXT *cx
3249AiM |void |cx_topblock|NN PERL_CONTEXT *cx
6a7d52cc
DM
3250AiM |void |cx_pushsub |NN PERL_CONTEXT *cx|NN CV *cv \
3251 |NULLOK OP *retop|bool hasargs
a73d8813
DM
3252AiM |void |cx_popsub_common|NN PERL_CONTEXT *cx
3253AiM |void |cx_popsub_args |NN PERL_CONTEXT *cx
3254AiM |void |cx_popsub |NN PERL_CONTEXT *cx
6a7d52cc
DM
3255AiM |void |cx_pushformat |NN PERL_CONTEXT *cx|NN CV *cv \
3256 |NULLOK OP *retop|NULLOK GV *gv
3257AiM |void |cx_popformat |NN PERL_CONTEXT *cx
13febba5
DM
3258AiM |void |cx_pusheval |NN PERL_CONTEXT *cx \
3259 |NULLOK OP *retop|NULLOK SV *namesv
3260AiM |void |cx_popeval |NN PERL_CONTEXT *cx
d1b6bf72
DM
3261AiM |void |cx_pushloop_plain|NN PERL_CONTEXT *cx
3262AiM |void |cx_pushloop_for |NN PERL_CONTEXT *cx \
3263 |NN void *itervarp|NULLOK SV *itersave
3264AiM |void |cx_poploop |NN PERL_CONTEXT *cx
7896dde7
Z
3265AiM |void |cx_pushwhen |NN PERL_CONTEXT *cx
3266AiM |void |cx_popwhen |NN PERL_CONTEXT *cx
3267AiM |void |cx_pushgiven |NN PERL_CONTEXT *cx|NULLOK SV *orig_defsv
3268AiM |void |cx_popgiven |NN PERL_CONTEXT *cx
ed8ff0f3
DM
3269#endif
3270
3f6bd23a 3271#ifdef USE_DTRACE
e950ecba
KW
3272XEop |void |dtrace_probe_call |NN CV *cv|bool is_call
3273XEop |void |dtrace_probe_load |NN const char *name|bool is_loading
3274XEop |void |dtrace_probe_op |NN const OP *op
3275XEop |void |dtrace_probe_phase|enum perl_phase phase
3f6bd23a
DM
3276#endif
3277
b2ba7ad6 3278: ex: set ts=8 sts=4 sw=4 noet: