This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: Character class code broke MSWin32 compilation
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
8fb6968f 3: WARNING: The meanings of some flags have been changed as of v5.31.0
30628a6e 4:
8fb6968f
KW
5: This file is known to be processed by regen/embed.pl, autodoc.pl,
6: makedef.pl, Devel::PPPort, and porting/diag.t.
7:
dcd299b4
KW
8: This file contains entries for various functions and macros defined by perl.
9: Each entry includes the name, parameters, and various attributes about it.
10: In most functions listed here, the name is a short name, and the function's
11: real name is the short one, prefixed by either 'Perl_' (for publicly visible
12: functions) or 'S_' (for internal-to-a-file static ones). In many instances a
13: macro is defined that is the name in this file, and which expands to call the
14: real (full) name, with any appropriate thread context paramaters, thus hiding
15: that detail from the typical code.
16:
17: Most macros listed here are the complete full name.
18:
8fb6968f 19: All non-static functions defined by perl need to be listed in this file.
dcd299b4
KW
20: embed.pl uses the entries here to construct:
21: 1) proto.h to declare to the compiler the function interfaces; and
22: 2) embed.h to create short name macros
30628a6e 23:
dcd299b4
KW
24: Static functions internal to a file need not appear here, but there is
25: benefit to declaring them here, as it generally handles the thread context
26: parameter invisibly, as well as making sure a PERL_ARGS_ASSERT_foo macro is
27: defined, which can save you debugging time.
8fb6968f
KW
28:
29: Lines in this file are of the form:
dcd299b4 30: flags|return_type|name|arg1|arg2|...|argN
94bdecf9 31:
caf8c6bc
KW
32: 'flags' is a string of single letters. Most of the flags are meaningful only
33: to embed.pl; some only to autodoc.pl, and others only to makedef.pl. The
dcd299b4 34: comments here mostly don't include how Devel::PPPort or diag.t use them:
caf8c6bc 35:
8fb6968f
KW
36: A function taking no parameters will have no 'arg' elements.
37: A line may be continued onto the next by ending it with a backslash.
94bdecf9
JH
38: Leading and trailing whitespace will be ignored in each component.
39:
dcd299b4
KW
40: Most entries here have a macro created with the entry name. This presents
41: name space collision potentials which haven't been well thought out, but are
42: now documented here. In practice this has rarely been an issue. At least,
43: with a macro, the XS author can #undef it, unlike a function.
44:
d8bd2bed 45: The default without flags is to declare a function for internal perl-core use
dcd299b4
KW
46: only. The short name is visible only when the PERL_CORE symbol is defined.
47: On some platforms, such as Linux and Darwin, all non-static functions
caf8c6bc
KW
48: are currently externally visible. Because of this, and also for programs
49: that embed perl, most non-static functions should have the 'p' flag to avoid
50: namespace clashes.
51:
dcd299b4
KW
52: There are several advantages to using a macro instead of the full Perl_foo or
53: S_foo form: it hides the need to know if the called function requires a
54: thread context parameter or not, and the code using it is more readable
55: because of fewer parameters being visible. And if there is some bug in it
56: that gets fixed in a later release, ppport.h can be changed to automatically
57: backport the fixed version to modules. The only disadvantage khw can think
58: of is the namespace pollution one.
59:
60: Since we don't require a C compiler to support variadic macros (C99), the
61: macros can't be generated in such situations.
62:
63: WARNING: Any macro created in a header file is visible to XS code, unless
64: care is taken to wrap it within something like #ifdef PERL_CORE..#endif.
65: This has had to be done with things like MAX and MIN, but nearly everything
66: else has been created without regard to the namespace pollution problem.
67:
f0656a59
KW
68: Here's what else you need to know about using this file with regards to name
69: space pollution:
70:
71: The A flag is used to make a function and its short name visible everywhere
72: on all platforms. This should be used to make it part of Perl's
73: API contract with XS developers. The documentation for these is
74: usually placed in perlapi. If no documentation exists, that fact
75: is also noted in perlapi.
76:
77: The C flag is used instead for functions and their short names that need to
78: be accessible everywhere, typically because they are called from a
79: publicly available macro or inline function, but they are not for
80: public use by themselves. The documentation for these is placed
81: in perlintern. If no documentation exists, that fact is also
82: noted in perlintern.
83:
84: These really need the 'p' flag to avoid name space collisions.
85:
86: Some of these have been constructed so that the wrapper macro
87: names begin with an underscore to lessen the chances of a name
88: collision. However, this is contrary to the C standard, and those
89: should be changed.
90:
91: The E flag is used instead for a function and its short name that is supposed
92: to be used only in the core, and in extensions compiled with the
93: PERL_EXT symbol defined. Again, on some platforms, the function
94: will be visible everywhere, so the 'p' flag is gnerally needed.
95: Also note that an XS writer can always cheat and pretend to be an
96: extension by #defining PERL_EXT.
97:
98: The X flag is similar to the C flag in that the function (whose entry better
99: have the 'p' flag) is accessible everywhere on all platforms.
100: However the short name macro that normally gets generated is
101: suppressed outside the core. (Except it is also visible in
102: PERL_EXT extensions if the E flag is also specified.) This flag
103: is used for functions that are called from a public macro, the
104: name of which isn't derived from the function name. You'll have
105: to write the macro yourself, and from within it, refer to the
106: function in its full 'Perl_' form with any necessary thread
107: context parameter.
d8bd2bed 108:
8fb6968f
KW
109: Scattered around the perl source are lines of the form:
110:
111: =for apidoc name
112:
caf8c6bc
KW
113: followed by pod for that function. The purpose of these is to tell
114: autodoc.pl where the documentation is for a function listed in this file. It
115: uses the prototype from here and the pod from there in generating the
116: documentation in perlapi or perlintern. The entries in this file that have
dcd299b4 117: corresponding '=for apidoc' entries should have the 'd' flag set in this
caf8c6bc
KW
118: file.
119:
120: There are also lines of this form scattered around:
8fb6968f
KW
121:
122: =for apidoc flags|return_type|name|arg1|arg2|...|argN
123:
dcd299b4
KW
124: and with the same meanings as the lines in this file. These are for
125: documenting macros. The 'name' in any such line must not be the same as any
126: in this file (i.e., no redundant definitions), and one of the flags must be
127: 'm', indicating it is a macro. The lines following these are pod for the
128: respective macro. Since these are macros, the arguments need not be legal C
129: parameters. To indicate this to downstream software that inspects these
130: lines, there are a few conventions:
caf8c6bc
KW
131: type should be the entire argument name if it names a type
132: cast should be the entire argument name if it is a cast
133: SP should be the entire argument name if it is the stack pointer SP
134: block should be the entire argument name if it is a C brace-enclosed block
135:
136: The letters above are exact. For example, you have to have 't', 'y', 'p',
137: and 'e' literally. Here is an example:
138: =for apidoc Am|void|Newxc|void* ptr|int nitems|type|cast
139:
140: Additionally, an argument can be some word(s) enclosed in double quotes to
141: indicate that it has to be a string, instead of a const char * const, like this
142: =for apidoc Ama|SV*|newSVpvs|"string"
143:
dcd299b4
KW
144: If any argument or return value is not one of the above, and isn't a legal C
145: language one, the 'u' flag should be specified.
146:
caf8c6bc
KW
147: Again, autodoc uses these lines to construct perlapi. 'return_type' in these
148: lines can be empty, unlike in this file.
8fb6968f
KW
149:
150: Devel::PPPort also looks at both this file and the '=for apidoc' lines. In
151: part it is to construct lists of functions that are or are not backported.
152:
dcd299b4
KW
153: makedef.pl uses this file for constructing the export list which lists the
154: symbols that should be available on all platforms.
8fb6968f
KW
155:
156: porting/diag.t checks some things for consistency based on this file.
157:
dcd299b4 158: The remainder of these introductory comments detail all the possible flags:
d412580b 159:
dcd299b4
KW
160: A Both long and short names are accessible fully everywhere (usually part
161: of the public API). If the function is not part of the public API,
ff5af78d 162: instead use C, E, or X.
d412580b 163:
dcd299b4
KW
164: add entry to the list of symbols available on all platforms
165: unless e or m are also specified;
166: any doc entry goes in perlapi.pod rather than perlintern.pod. If
167: there isn't a doc entry, autodoc.pl lists this in perlapi as
168: existing and being undocumented; unless x is also specified, in
169: which case it simply isn't listed.
170: makes the short name defined for everywhere, not just for
171: PERL_CORE/PERL_EXT
569ba91f 172:
dcd299b4
KW
173: a Allocates memory a la malloc/calloc. Also implies "R". This flag
174: should only be on a function which returns 'empty' memory which has no
175: other pointers to it, and which does not contain any pointers to other
176: things. So for example realloc() can't be 'a'.
d412580b
DM
177:
178: proto.h: add __attribute__malloc__
179:
3f1866a8
KW
180: b Binary backward compatibility. This is used for functions which are
181: kept only to not have to change legacy applications that call them. If
182: there are no such legacy applications in a Perl installation for all
183: functions flagged with this, the installation can run Configure with the
e24a96ba
KW
184: -Accflags='-DNO_MATHOMS' parameter to not even compile them.
185:
186: Sometimes the function has been subsumed by a more general one (say, by
dcd299b4
KW
187: adding a flags parameter), and a macro exists with the original short
188: name API, and it calls the new function, bypassing this one, and the
189: original 'Perl_' form is being deprecated. In this case also specify
190: the 'M' flag.
191:
192: Without the M flag, these functions should be deprecated, and it is an
193: error to not also specify the 'D' flag.
194:
195: The 'b' functions are normally moved to mathoms.c, but if circumstances
e24a96ba
KW
196: dictate otherwise, they can be anywhere, provided the whole function is
197: wrapped with
198: #ifndef NO_MATHOMS
199: ...
200: #endif
d412580b 201:
5ff52e3c
KW
202: Note that this flag no longer automatically adds a 'Perl_' prefix to the
203: name. Additionally specify 'p' to do that.
204:
3f1866a8 205: This flag effectively causes nothing to happen if the perl interpreter
dcd299b4
KW
206: is compiled with -DNO_MATHOMS (which causes any functions with this flag
207: to not be compiled); otherwise these happen:
208: add entry to the list of symbols available on all platforms;
d8bd2bed 209: create PERL_ARGS_ASSERT_foo;
dcd299b4 210: add embed.h entry (unless overridden by the 'M' or 'o' flags)
d412580b 211:
ff5af78d
KW
212: C Intended for core use only. This indicates to XS writers that they
213: shouldn't be using this function. Devel::PPPort informs them of this,
214: for example. Some functions have to be accessible everywhere even if
215: they are not intended for public use. An example is helper functions
216: that are called from inline ones that are publicly available.
217:
218: add entry to the list of symbols available on all platforms
219: unless e or m are also specified;
220: any doc entry goes in perlintern.pod rather than perlapi.pod. If
221: there isn't a doc entry, autodoc.pl lists this in perlintern as
222: existing and being undocumented
223: makes the short name defined for everywhere, not just for
224: PERL_CORE/PERL_EXT
225:
d412580b
DM
226: D Function is deprecated:
227:
228: proto.h: add __attribute__deprecated__
8fb6968f 229: autodoc.pl adds a note to this effect in the doc entry
d412580b 230:
6ef8d77a 231: d Function has documentation (somewhere) in the source:
d412580b 232:
64b17d72
KW
233: enables 'no docs for foo" warning in autodoc.pl if the documentation
234: isn't found.
d412580b
DM
235:
236: E Visible to extensions included in the Perl core:
237:
238: in embed.h, change "#ifdef PERL_CORE"
239: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
240:
8fb6968f
KW
241: To be usable from dynamically loaded extensions, either:
242: 1) it must be static to its containing file ("i" or "s" flag); or
d212d222 243: 2) be combined with the "X" flag.
23fb3b56 244:
5af72e99 245: e Not exported
30628a6e 246:
dcd299b4 247: suppress entry in the list of symbols available on all platforms
5af72e99 248:
d8bd2bed 249: f Function takes a format string. If the function name =~ qr/strftime/
dcd299b4
KW
250: then it is assumed to take a strftime-style format string as the 1st
251: arg; otherwise it's assumed to be a printf style format string, varargs
531b2663 252: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
253:
254: proto.h: add __attribute__format__ (or ...null_ok__)
255:
2015d234
KW
256: G Suppress empty PERL_ARGS_ASSERT_foo macro. Normally such a macro is
257: generated for all entries for functions 'foo' in this file. If there is
258: a pointer argument to 'foo', it needs to be declared in this file as
259: either NN or NULLOK, and the function definition must call its
260: corresponding PERL_ARGS_ASSERT_foo macro (a porting test ensures this)
261: which asserts at runtime (under DEBUGGING builds) that NN arguments are
262: not NULL. If there aren't NN arguments, use of this macro is optional.
263: Rarely, a function will define its own PERL_ARGS_ASSERT_foo macro, and
264: in those cases, adding this flag to its entry in this file will suppress
265: the normal one. It is not possible to suppress the generated macro if
266: it isn't optional, that is, if there is at least one NN argument.
267:
268: proto.h: PERL_ARGS_ASSERT macro is not defined unless the function
269: has NN arguments
270:
dcd299b4
KW
271: h Hide any documentation. This is used when the documentation is atypical
272: of the rest of perlapi and perlintern. In other words the item is
273: documented, but just not the standard way. One reason would be if there
274: are a bunch of macros which follow a common paradigm in their naming, so
275: rather than having an entry for each slight variation, there is an
276: overarchinge one. It is also used when the documentation is in another
277: pod, such as perlguts or warnings.h. This flag is useful for downstream
278: programs, such as Devel::PPPort.
279:
280: i inline static. This is used for functions that the compiler is being
281: requested to inline. If the function is in a header file its
282: definition will be visible (unless guarded by #if..#endif) to all
283: XS code. (A typical guard will be that it is being included in a
284: particular C file(s) or in the perl core.) Therefore, all
285: non-guarded function should also have the 'p' flag specified to avoid
286: polluting the XS code name space. Otherwise an error is generated if
287: the 'S' flag is not also specified.
288:
289: proto.h: function is declared as PERL_STATIC_INLINE
290:
291: m Implemented as a macro; there is no function associated with this name,
2f4e6339
KW
292: and hence no long Perl_ or S_ name. However, if the macro name itself
293: begins with 'Perl_', autodoc.pl will show a thread context parameter
294: unless the 'T' flag is specified.
dcd299b4
KW
295:
296: suppress proto.h entry (actually, not suppressed, but commented out)
297: suppress entry in the list of exported symbols available on all platforms
298: suppress embed.h entry, as the implementation should furnish the macro
299:
300: M The implementation is furnishing its own macro instead of relying on the
301: default short name macro that simply expands to call the real name
302: function. This is used if the parameters need to be cast from what the
303: caller has, or if there is a macro that bypasses this function (whose
304: long name is being retained for backward compatibility for those who
305: call it with that name). An example is when a new function is created
306: with an extra parameter and a wrapper macro is added that has the old
307: API, but calls the new one with the exta parameter set to a default.
308:
309: This flag requires the 'p' flag to be specified, as there would be no
310: need to do this if the function weren't publicly accessible before.
311:
312: The entry is processed based on the other flags, but the:
313: embed.h entry is suppressed
d412580b 314:
0a60f600
KW
315: N The name in the entry isn't strictly a name
316:
317: Normally, the name of the function or macro must contain all \w
318: characters, and a warning is raised otherwise. This flag suppresses
8fb6968f 319: that warning, so that weird things can be documented
d412580b 320:
1fcde0e9
KW
321: n Has no arguments (used only in =for apidoc entries)
322:
323: The macro (it can't be a function) is used without any parameters nor
324: empty parentheses.
d412580b 325:
7b53c8ee
NC
326: O Has a perl_ compatibility macro.
327:
8fb6968f 328: The really OLD name for API funcs.
30628a6e 329:
8fb6968f
KW
330: autodoc.pl adds a note that the perl_ form of this function is
331: deprecated.
332:
37ccf918 333: o Has no Perl_foo or S_foo compatibility macro:
d412580b 334:
dcd299b4
KW
335: This is used for whatever reason to force the function to be called
336: with the long name. Perhaps there is a varargs issue. Use the 'M'
337: flag instead for wrapper macros, and legacy-only functions should
338: also use 'b'.
59f80a35 339:
d412580b
DM
340: embed.h: suppress "#define foo Perl_foo"
341:
8fb6968f 342: autodoc.pl adds a note that this function must be explicitly called as
dcd299b4 343: Perl_$name with an aTHX_ parameter.
8fb6968f 344:
d8bd2bed
KW
345: P Pure function:
346:
eafb5713
KW
347: A pure function has no effects except the return value, and the return
348: value depends only on params and/or globals. This is a hint to the
349: compiler that it can optimize calls to this function out of common
350: subexpressions. Consequently if this flag is wrongly specified, it can
351: lead to subtle bugs that vary by platform, compiler, compiler version,
352: and optimization level. Also, a future commit could easily change a
353: currently-pure function without even noticing this flag. So it should
354: be used sparingly, only for functions that are unlikely to ever become
355: not pure by future commits. It should not be used for static
356: functions, as the compiler already has the information needed to make
357: the 'pure' determination and doesn't need any hint; so it doesn't add
358: value in those cases, and could be dangerous if it causes the compiler
359: to skip doing its own checks. It should not be used on functions that
360: touch SVs, as those can trigger unexpected magic. Also implies "R":
d412580b
DM
361:
362: proto.h: add __attribute__pure__
363:
364: p Function in source code has a Perl_ prefix:
365:
366: proto.h: function is declared as Perl_foo rather than foo
367: embed.h: "#define foo Perl_foo" entries added
368:
b289a0bd 369: R Return value must not be ignored (also implied by 'a' and 'P' flags):
d412580b 370:
e1ebd5bb
KW
371: gcc has a bug (which they claim is a feature) in which casting the
372: result of one of these to (void) doesn't silence the warning that the
373: result is ignored.
374:
d412580b
DM
375: proto.h: add __attribute__warn_unused_result__
376:
377: r Function never returns:
378:
379: proto.h: add __attribute__noreturn__
380:
9f589e47 381: S Static function: function in source code has a S_ prefix:
d412580b
DM
382:
383: proto.h: function is declared as S_foo rather than foo,
384: STATIC is added to declaration;
385: embed.h: "#define foo S_foo" entries added
386:
8b5ff177
KW
387: s autodoc.pl adds a terminating semi-colon to the usage example in the
388: documentation.
389:
45b29440
KW
390: T Has no implicit interpreter/thread context argument:
391:
392: suppress the pTHX part of "foo(pTHX...)" in proto.h;
393: In the PERL_IMPLICIT_SYS branch of embed.h, generates
394: "#define foo Perl_foo", rather than
395: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
396:
caf8c6bc
KW
397: u The macro's (it has to be a macro) return value or parameters are
398: unorthodox, and aren't in the list above of recognized weird ones. For
3dbfa774
KW
399: example, they aren't C parameters, or the macro expands to something
400: that isn't a symbol.
401:
caf8c6bc
KW
402: For example, the expansion of STR_WITH_LEN is a comma separated pair of
403: values, so would have this flag; or some macros take preprocessor
404: tokens, so would have this flag. This flag is an indication to
405: downstream tools, such as Devel::PPPort, that this requires special
406: handling.
3dbfa774 407:
8fb6968f 408: U autodoc.pl will not output a usage example
d412580b 409:
21553840
YO
410: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
411: argument to the function calls. This means that under DEBUGGING
412: a depth argument is added to the functions, which is used for
413: example by the regex engine for debugging and trace output.
414: A non DEBUGGING build will not pass the unused argument.
415: Currently restricted to functions with at least one argument.
416:
d412580b
DM
417: X Explicitly exported:
418:
dcd299b4
KW
419: add entry to the list of symbols available on all platforms, unless e
420: or m
d412580b 421:
569ba91f
FC
422: This is often used for private functions that are used by public
423: macros. In those cases the macros must use the long form of the
424: name (Perl_blah(aTHX_ ...)).
425:
e4aeb12f 426: x Experimental, may change:
d412580b 427:
e4aeb12f 428: any doc entry is marked that it may change. Also used to suppress
dcd299b4 429: making a perlapi doc entry if it would just be a placeholder.
d412580b 430:
8fb6968f
KW
431: In this file, pointer parameters that must not be passed NULLs should be
432: prefixed with NN.
94bdecf9 433:
8fb6968f
KW
434: And, pointer parameters that may be NULL should be prefixed with NULLOK.
435: This has no effect on output yet. It's a notation for the maintainers to
436: know "I have defined whether NULL is OK or not" rather than having neither
437: NULL or NULLOK, which is ambiguous.
1b6737cc 438:
8fb6968f 439: Individual flags may be separated by non-tab whitespace.
94bdecf9 440
94bdecf9 441#if defined(PERL_IMPLICIT_SYS)
45b29440 442ATo |PerlInterpreter*|perl_alloc_using \
4048f010
NC
443 |NN struct IPerlMem *ipM \
444 |NN struct IPerlMem *ipMS \
445 |NN struct IPerlMem *ipMP \
446 |NN struct IPerlEnv *ipE \
447 |NN struct IPerlStdIO *ipStd \
16bf6295 448 |NN struct IPerlLIO *ipLIO \
4048f010
NC
449 |NN struct IPerlDir *ipD \
450 |NN struct IPerlSock *ipS \
451 |NN struct IPerlProc *ipP
94bdecf9 452#endif
45b29440
KW
453ATod |PerlInterpreter* |perl_alloc
454ATod |void |perl_construct |NN PerlInterpreter *my_perl
455ATod |int |perl_destruct |NN PerlInterpreter *my_perl
456ATod |void |perl_free |NN PerlInterpreter *my_perl
457ATod |int |perl_run |NN PerlInterpreter *my_perl
458ATod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65 459 |int argc|NULLOK char** argv|NULLOK char** env
45b29440 460ATpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 461#if defined(USE_ITHREADS)
45b29440 462ATod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 463# if defined(PERL_IMPLICIT_SYS)
45b29440 464ATo |PerlInterpreter*|perl_clone_using \
589df73b
SH
465 |NN PerlInterpreter *proto_perl \
466 |UV flags \
467 |NN struct IPerlMem* ipM \
468 |NN struct IPerlMem* ipMS \
469 |NN struct IPerlMem* ipMP \
470 |NN struct IPerlEnv* ipE \
471 |NN struct IPerlStdIO* ipStd \
472 |NN struct IPerlLIO* ipLIO \
473 |NN struct IPerlDir* ipD \
474 |NN struct IPerlSock* ipS \
475 |NN struct IPerlProc* ipP
94bdecf9
JH
476# endif
477#endif
478
7dfc378e
KW
479AaTophd |Malloc_t|malloc |MEM_SIZE nbytes
480AaTophd |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
481ARTophd |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
45b29440 482ATop |Free_t |mfree |Malloc_t where
94bdecf9 483#if defined(MYMALLOC)
45b29440
KW
484TpR |MEM_SIZE|malloced_size |NN void *p
485TpR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 486#endif
03f05cb4 487#if defined(PERL_IN_MALLOC_C)
9f589e47 488ST |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
03f05cb4 489#endif
94bdecf9 490
45b29440
KW
491ATpR |void* |get_context
492ATp |void |set_context |NN void *t
94bdecf9 493
6f1401dc
DM
494XEop |bool |try_amagic_bin |int method|int flags
495XEop |bool |try_amagic_un |int method|int flags
46c461b5 496Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 497Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 498p |bool |amagic_is_enabled|int method
c3a9a790 499Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 500ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
501Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
502Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 503Apd |OP* |op_linklist |NN OP *o
2fcb4757 504Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 505: FIXME - this is only called by pp_chown. They should be merged.
890ce7af 506p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
e4aeb12f 507Apx |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 508Apd |void |av_clear |NN AV *av
c70927a6
FC
509Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
510ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
511Apd |void |av_extend |NN AV *av|SSize_t key
512p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
513 |NN SSize_t *maxp \
7261499d 514 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
515ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
516Apd |void |av_fill |NN AV *av|SSize_t fill
517ApdR |SSize_t|av_len |NN AV *av
518ApdR |AV* |av_make |SSize_t size|NN SV **strp
1f1dcfb5 519p |SV* |av_nonelem |NN AV *av|SSize_t ix
4048f010 520Apd |SV* |av_pop |NN AV *av
e4aeb12f 521Apdoex |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 522Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 523: Used in scope.c, and by Data::Alias
4048f010
NC
524EXp |void |av_reify |NN AV *av
525ApdR |SV* |av_shift |NN AV *av
c70927a6 526Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
c9182d9c 527AidRp |SSize_t|av_top_index |NN AV *av
ef9e3b4d 528AmdR |SSize_t|av_tindex |NN AV *av
4048f010 529Apd |void |av_undef |NN AV *av
e4aeb12f 530Apdoex |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 531Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
532Apo |SV** |av_arylen_p |NN AV *av
533Apo |IV* |av_iter_p |NN AV *av
43869a0c 534#if defined(PERL_IN_AV_C)
9f589e47 535S |MAGIC* |get_aux_mg |NN AV *av
878d132a 536#endif
d67fec57 537: Used in perly.y
4048f010 538pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 539: Used in perly.y
25f5d540 540ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
1c23e2bd 541ApR |U8 |block_gimme
d67fec57 542: Used in perly.y
25f5d540 543ApdR |int |block_start |int full
e4aeb12f 544Aodxp |void |blockhook_register |NN BHK *hk
d67fec57 545: Used in perl.c
94bdecf9 546p |void |boot_core_UNIVERSAL
d67fec57 547: Used in perl.c
94bdecf9 548p |void |boot_core_PerlIO
4048f010 549Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
550Apd |const PERL_CONTEXT * |caller_cx|I32 level \
551 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 552: Used in several source files
ae1951c1 553pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
45b29440
KW
554ApRT |U32 |cast_ulong |NV f
555ApRT |I32 |cast_i32 |NV f
556ApRT |IV |cast_iv |NV f
557ApRT |UV |cast_uv |NV f
94bdecf9 558#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 559ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 560#endif
25502127
FC
561p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
562 |NULLOK const OP *curop|bool opnext
d67fec57 563: Used in perly.y
03d05f6e 564ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 565: Used in op.c and perl.c
e4aeb12f 566px |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 567Aprd |void |croak_sv |NN SV *baseex
551405c4 568: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 569Afprd |void |croak |NULLOK const char* pat|...
c5df3096 570Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
45b29440
KW
571ATprd |void |croak_no_modify
572ATprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 573 |NN const char *const params
45b29440
KW
574Tpr |void |croak_no_mem
575TprX |void |croak_popstack
576fTrp |void |croak_caller|NULLOK const char* pat|...
5af72e99 577fTpre |void |noperl_die|NN const char* pat|...
073dd035 578#if defined(WIN32)
5af72e99 579Tore |void |win32_croak_not_implemented|NN const char * fname
073dd035 580#endif
94bdecf9 581#if defined(PERL_IMPLICIT_CONTEXT)
45b29440
KW
582AfTrp |void |croak_nocontext|NULLOK const char* pat|...
583AfTrp |OP* |die_nocontext |NULLOK const char* pat|...
584AfTp |void |deb_nocontext |NN const char* pat|...
585AfTp |char* |form_nocontext |NN const char* pat|...
586ATp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
587AfTp |SV* |mess_nocontext |NN const char* pat|...
588AfTp |void |warn_nocontext |NN const char* pat|...
589AfTp |void |warner_nocontext|U32 err|NN const char* pat|...
590AfTp |SV* |newSVpvf_nocontext|NN const char *const pat|...
591AfTp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
592AfTp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
593AfTp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
594AfTp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
57f51a64
KW
595AbfTpD |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
596AbfTpD |int |printf_nocontext|NN const char *format|...
94bdecf9 597#endif
b8c38f0a 598: Used in pp.c
c1a02cca 599pd |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 600 |const int code|NULLOK int * const opnum
1e4b6aa1 601: Used in gv.c
8f939fab 602p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 603 |const int opnum
d67fec57 604: Used in sv.c
e4aeb12f 605ExXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
606 |NULLOK const char* p|const STRLEN len \
607 |const U32 flags
67022846 608: Used in pp.c and pp_sys.c
62d55b22 609ApdR |SV* |gv_const_sv |NN GV* gv
45b29440
KW
610ApdRT |SV* |cv_const_sv |NULLOK const CV *const cv
611pRT |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 612Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 613Apd |void |cv_undef |NN CV* cv
b7acb0a3 614p |void |cv_undef_flags |NN CV* cv|U32 flags
c1a02cca 615pd |void |cv_forget_slab |NULLOK CV *cv
890ce7af 616Ap |void |cx_dump |NN PERL_CONTEXT* cx
74804ad1
KW
617AiMp |GV * |CvGV |NN CV *sv
618AiMTp |I32 * |CvDEPTH |NN const CV * const sv
0f292d69 619Aphd |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 620Ap |void |filter_del |NN filter_t funcp
0f292d69 621ApRhd |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
622ApPR |char** |get_op_descs
623ApPR |char** |get_op_names
67022846 624: FIXME discussion on p5p
a3b680e6 625pPR |const char* |get_no_modify
67022846 626: FIXME discussion on p5p
a3b680e6
AL
627pPR |U32* |get_opargs
628ApPR |PPADDR_t*|get_ppaddr
d67fec57 629: Used by CXINC, which appears to be in widespread use
82151c42 630ApR |I32 |cxinc
890ce7af 631Afp |void |deb |NN const char* pat|...
aec46f14 632Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 633Ap |void |debprofdump
dc3c1c70 634EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
e839e6ed 635EXp |SV* |multiconcat_stringify |NN const OP* o
4373e329 636Ap |I32 |debop |NN const OP* o
94bdecf9
JH
637Ap |I32 |debstack
638Ap |I32 |debstackptrs
13733cde 639pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
45b29440 640ATp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 641 |NN const char* fromend|int delim|NN I32* retlen
45b29440 642Tp |char* |delimcpy_no_escape|NN char* to|NN const char* toend \
ba0a4150
FC
643 |NN const char* from \
644 |NN const char* fromend|int delim \
645 |NN I32* retlen
d67fec57 646: Used in op.c, perl.c
e4aeb12f 647px |void |delete_eval_scope
e950ecba
KW
648Aprd |OP* |die_sv |NN SV *baseex
649Afrpd |OP* |die |NULLOK const char* pat|...
67022846 650: Used in util.c
62705b21 651pr |void |die_unwind |NN SV* msv
94bdecf9 652Ap |void |dounwind |I32 cxix
67022846 653: FIXME
b719801d 654pMb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 655: Used in pp_sys.c
738ab09f 656p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
57f51a64 657AbpD |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 658: Used in pp.c
063df69c 659Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 660: Defined in doio.c, used only in pp_sys.c
4373e329 661p |bool |do_eof |NN GV* gv
8c654ff2
NC
662
663#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
5178f485 664pM |bool|do_exec |NN const char* cmd
8c654ff2 665#else
738ab09f 666p |bool|do_exec |NN const char* cmd
8c654ff2
NC
667#endif
668
9ec7171b 669#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 670Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
671Ap |int |do_spawn |NN char* cmd
672Ap |int |do_spawn_nowait|NN char* cmd
54725af6 673#endif
94bdecf9 674#if !defined(WIN32)
738ab09f 675p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9 676#endif
43869a0c 677#if defined(PERL_IN_DOIO_C)
9f589e47
KW
678S |void |exec_failed |NN const char *cmd|int fd|int do_report
679S |bool |argvout_final |NN MAGIC *mg|NN IO *io|bool not_implicit
a0f2c8ec 680#endif
94bdecf9 681#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 682: Defined in doio.c, used only in pp_sys.c
7827dc65 683p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 684: Defined in doio.c, used only in pp_sys.c
7827dc65 685p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 686: Defined in doio.c, used only in pp_sys.c
7827dc65 687p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 688: Defined in doio.c, used only in pp_sys.c
7827dc65 689p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 690: Defined in doio.c, used only in pp_sys.c
7827dc65 691p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 692: Defined in doio.c, used only in pp_sys.c
7827dc65 693p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 694#endif
4048f010 695Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
696: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
697: p |OP* |do_kv
33efebe6
DM
698: used in pp.c, pp_hot.c
699pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
b719801d 700ApMb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 701 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
57f51a64 702AbpD |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
703 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
704 |NN SV *svs|I32 num
45b29440
KW
705pT |void |setfd_cloexec|int fd
706pT |void |setfd_inhexec|int fd
884fc2d3 707p |void |setfd_cloexec_for_nonsysfd|int fd
74df577f 708p |void |setfd_inhexec_for_sysfd|int fd
884fc2d3 709p |void |setfd_cloexec_or_inhexec_by_sysfdness|int fd
f9821aff 710pR |int |PerlLIO_dup_cloexec|int oldfd
884fc2d3 711p |int |PerlLIO_dup2_cloexec|int oldfd|int newfd
f9821aff
Z
712pR |int |PerlLIO_open_cloexec|NN const char *file|int flag
713pR |int |PerlLIO_open3_cloexec|NN const char *file|int flag|int perm
45b29440 714pToR |int |my_mkstemp_cloexec|NN char *templte
ae73d7ec 715pToR |int |my_mkostemp_cloexec|NN char *templte|int flags
f9821aff
Z
716#ifdef HAS_PIPE
717pR |int |PerlProc_pipe_cloexec|NN int *pipefd
718#endif
719#ifdef HAS_SOCKET
720pR |int |PerlSock_socket_cloexec|int domain|int type|int protocol
721pR |int |PerlSock_accept_cloexec|int listenfd \
722 |NULLOK struct sockaddr *addr \
723 |NULLOK Sock_size_t *addrlen
724#endif
725#if defined (HAS_SOCKETPAIR) || \
726 (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && \
727 defined(AF_INET) && defined(PF_INET))
728pR |int |PerlSock_socketpair_cloexec|int domain|int type|int protocol \
729 |NN int *pairfd
730#endif
a2b41d5c 731#if defined(PERL_IN_DOIO_C)
9f589e47 732S |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
a2b41d5c
NC
733 |NN PerlIO **saveofp|NN int *savefd \
734 |NN char *savetype
9f589e47 735S |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
a6fc70e5
NC
736 |NN char *mode|NN const char *oname \
737 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
738 |int savefd|char savetype|int writing \
7e30e49f
DIM
739 |bool was_fdopen|NULLOK const char *type \
740 |NULLOK Stat_t *statbufp
a2b41d5c 741#endif
4048f010
NC
742Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
743 |int as_raw|int rawmode|int rawperm \
744 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
745 |I32 num
e4aeb12f 746xp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
7e30e49f 747 |int rawmode|int rawperm|NULLOK Stat_t *statbufp
e4aeb12f 748xp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
4b451737
NC
749 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
750 |U32 num
67022846 751: Used in pp_hot.c and pp_sys.c
890ce7af 752p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 753: Used in pp_sys.c
890ce7af 754pR |OP* |do_readline
67022846 755: Defined in doio.c, used only in pp_sys.c
890ce7af 756p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
03a22d83 757Ap |void |do_sprintf |NN SV* sv|SSize_t len|NN SV** sarg
67022846 758: Defined in doio.c, used only in pp_sys.c
890ce7af 759p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 760: Defined in doio.c, used only in pp_sys.c
890ce7af 761pR |Off_t |do_tell |NN GV* gv
67022846 762: Defined in doop.c, used only in pp.c
f0fd0980 763p |Size_t |do_trans |NN SV* sv
67022846 764: Used in my.c and pp.c
d69c4304 765p |UV |do_vecget |NN SV* sv|STRLEN offset|int size
67022846 766: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 767p |void |do_vecset |NN SV* sv
67022846 768: Defined in doop.c, used only in pp.c
890ce7af 769p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 770: Used in perly.y
850e8516 771p |OP* |dofile |NN OP* term|I32 force_builtin
1c23e2bd 772ApR |U8 |dowantarray
c1a02cca 773Adp |void |dump_all
f0e3f042 774p |void |dump_all_perl |bool justperl
94bdecf9 775Ap |void |dump_eval
9a957fbc 776Ap |void |dump_form |NN const GV* gv
3dc78631 777Ap |void |gv_dump |NULLOK GV* gv
1e85b658 778Apd |OPclass|op_class |NULLOK const OP *o
c1a02cca 779Apd |void |op_dump |NN const OP *o
9a957fbc 780Ap |void |pmop_dump |NULLOK PMOP* pm
c1a02cca 781Apd |void |dump_packsubs |NN const HV* stash
f0e3f042 782p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 783Ap |void |dump_sub |NN const GV* gv
f0e3f042 784p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
785Apd |void |fbm_compile |NN SV* sv|U32 flags
786ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 787 |NN SV* littlestr|U32 flags
9a5e6f3c 788p |CV * |find_lexical_cv|PADOFFSET off
67022846 789: Defined in util.c, used only in perl.c
7827dc65
AL
790p |char* |find_script |NN const char *scriptname|bool dosearch \
791 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 792#if defined(PERL_IN_OP_C)
9f589e47 793S |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
794i |OP* |op_integerize |NN OP *o
795i |OP* |op_std_init |NN OP *o
b46e009d 796#if defined(USE_ITHREADS)
797i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
798#endif
799i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
800 |NULLOK SV* const_meth
d67fec57 801: FIXME
9f589e47 802S |OP* |fold_constants |NN OP * const o
c1a02cca 803Sd |OP* |traverse_op_tree|NN OP* top|NN OP* o
b7783a12 804#endif
aec46f14
AL
805Afpd |char* |form |NN const char* pat|...
806Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 807Ap |void |free_tmps
43869a0c 808#if defined(PERL_IN_OP_C)
0f194c83 809S |void |gen_constant_list|NULLOK OP* o
0da8eb3a 810#endif
94bdecf9 811#if !defined(HAS_GETENV_LEN)
67022846 812: Used in hv.c
9f6cc744 813p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 814#endif
67022846 815: Used in pp_ctl.c and pp_hot.c
5af72e99 816poe |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
817Ap |void |gp_free |NULLOK GV* gv
818Ap |GP* |gp_ref |NULLOK GP* gp
13c59d41 819Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
b719801d
KW
820ApMb |GV* |gv_AVadd |NULLOK GV *gv
821ApMb |GV* |gv_HVadd |NULLOK GV *gv
822ApMb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
823AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
824 |STRLEN len|I32 method
0eeb01b9 825ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 826ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 827 |U32 flags
0fe84f7c 828ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 829 |STRLEN len|U32 flags
51da40ed 830Ap |void |gv_check |NN HV* stash
57f51a64 831AbpD |void |gv_efullname |NN SV* sv|NN const GV* gv
b719801d 832ApMb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
46c461b5 833Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 834Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
835Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
836 |const U32 flags
6c53d59b
FC
837Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
838 |STRLEN len|I32 level
e6919483
BF
839Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
840Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
841 |I32 level|U32 flags
842Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
843 |STRLEN len|I32 level|U32 flags
460e5730
FC
844Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
845 |NN const char* name|STRLEN len \
846 |I32 level
d21989ed
BF
847Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
848Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
849 |I32 level|U32 flags
850Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
851 |STRLEN len|I32 level|U32 flags
b719801d 852ApdMb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
eff494dd
NC
853Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
854 |I32 autoload
e4aeb12f
KW
855Apx |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
856Apx |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
44130a26 857 |U32 flags
e4aeb12f 858Apx |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 859 |const STRLEN len|U32 flags
fe9845cc 860Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
57f51a64 861AbpD |void |gv_fullname |NN SV* sv|NN const GV* gv
b719801d 862ApMb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
9a957fbc 863Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 864: Used in scope.c
e4aeb12f 865pxoe |GP * |newGP |NN GV *const gv
803f2748 866pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 867poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 868pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
869Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
870 |NN const char* name|STRLEN len|int multi
c1a02cca
KW
871Apd |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
872Apd |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 873 |U32 flags
c1a02cca 874Apd |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 875 |STRLEN len|U32 flags
9f616d01 876Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
5af72e99 877pe |GV * |gv_override |NN const char * const name \
9e3fb20c 878 |const STRLEN len
e4aeb12f 879Xxpd |void |gv_try_downgrade|NN GV* gv
d8a875d9 880p |void |gv_setref |NN SV *const dstr|NN SV *const sstr
da51bb9b
NC
881Apd |HV* |gv_stashpv |NN const char* name|I32 flags
882Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
0eadbdad 883#if defined(PERL_IN_GV_C)
c6afe666 884i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
2015d234 885iG |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags
c6afe666 886i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
887 |STRLEN len|I32 level|U32 flags
0eadbdad 888#endif
8798655d 889Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 890Apd |void |hv_clear |NULLOK HV *hv
67022846 891: used in SAVEHINTS() and op.c
defdfed5 892ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010 893Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
b719801d 894AbMdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 895 |I32 flags
b719801d
KW
896AbMdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
897AbMdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
898AbMdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
899AbMdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 900 |I32 lval
b719801d 901AbMdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
4048f010 902Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 903 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 904 |int action|NULLOK SV *val|U32 hash
a038e571
NC
905Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
906 |I32 klen_i32|const int action|NULLOK SV *val \
907 |const U32 hash
632239c3 908Apod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 909Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 910Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
911ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
912ApdR |SV* |hv_iterkeysv |NN HE* entry
b719801d 913ApdRbM |HE* |hv_iternext |NN HV *hv
4048f010 914ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
e4aeb12f 915ApxdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
4048f010
NC
916ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
917Ap |void |hv_ksplit |NN HV *hv|IV newmax
b719801d 918ApdbM |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 919#if defined(PERL_IN_HV_C)
9f589e47 920S |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 921#endif
20439bc7
Z
922Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
923Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
924 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
925Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
926 |NN const char *key|U32 hash|U32 flags
927Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
928 |NN SV *key|U32 hash|U32 flags
929Xpd |struct refcounted_he *|refcounted_he_new_pvn \
930 |NULLOK struct refcounted_he *parent \
931 |NN const char *keypv|STRLEN keylen \
932 |U32 hash|NULLOK SV *value|U32 flags
933Xpd |struct refcounted_he *|refcounted_he_new_pv \
934 |NULLOK struct refcounted_he *parent \
935 |NN const char *key \
936 |U32 hash|NULLOK SV *value|U32 flags
937Xpd |struct refcounted_he *|refcounted_he_new_sv \
938 |NULLOK struct refcounted_he *parent \
939 |NN SV *key \
940 |U32 hash|NULLOK SV *value|U32 flags
941Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
942Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
b719801d 943ApbMd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 944 |I32 klen|NULLOK SV *val|U32 hash
b719801d 945ApbMd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 946 |U32 hash
b719801d 947ApbMx |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 948 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
949Amd |void |hv_undef |NULLOK HV *hv
950poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
c1a02cca 951AdmP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
c8abed4a 952AdiTp |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
c1a02cca
KW
953AdmP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
954AiTpd |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
e6226b18
KW
955Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
956 |bool u1|NN const char *s2|NULLOK char **pe2 \
957 |UV l2|bool u2
eda9cac1 958Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
959 |bool u1|NN const char *s2|NULLOK char **pe2 \
960 |UV l2|bool u2
09232555 961Cp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
eda9cac1
KW
962 |bool u1|NN const char *s2|NULLOK char **pe2 \
963 |UV l2|bool u2|U32 flags
45b29440 964AiTp |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 965#if defined(PERL_IN_DOIO_C)
9f589e47 966SR |bool |ingroup |Gid_t testgid|bool effective
0da8eb3a 967#endif
67022846 968: Used in toke.c
4373e329 969p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
970: Used in pp_ctl.c
971po |void |init_dbargs
67022846 972: Used in mg.c
94bdecf9
JH
973p |void |init_debugger
974Ap |void |init_stacks
bfce84ec 975Ap |void |init_tm |NN struct tm *ptm
67022846 976: Used in perly.y
fa39cb42 977AbMTpPRd|char* |instr |NN const char* big|NN const char* little
67022846 978: Used in sv.c
96d7c888
FC
979p |bool |io_close |NN IO* io|NULLOK GV *gv \
980 |bool not_implicit|bool warn_on_fail
67022846 981: Used in perly.y
2d03de9c 982pR |OP* |invert |NULLOK OP* cmd
f54cb97a 983ApR |I32 |is_lvalue_sub
777d9014 984: Used in cop.h
eebd3bc0 985XopR |I32 |was_lvalue_sub
1376b35c 986CpRTP |STRLEN |is_utf8_char_helper|NN const U8 * const s|NN const U8 * e|const U32 flags
09232555
KW
987Cp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
988Cp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
95e064d9 989p |void |init_uniprops
afc16117 990#ifdef PERL_IN_UTF8_C
9f589e47 991STR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp \
eaf412bf 992 |const char dummy
57ff5f59 993# ifndef UV_IS_QUAD
9f589e47 994STR |int |is_utf8_cp_above_31_bits|NN const U8 * const s \
e050c007
KW
995 |NN const U8 * const e \
996 |const bool consider_overlongs
57ff5f59 997# endif
fab2782b
YO
998#endif
999#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
45b29440 1000EXTp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 1001#endif
348bf2e0
KW
1002#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
1003p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
1004#endif
09232555 1005Cp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
5178f485 1006Cm |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
09232555 1007Cp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
09232555
KW
1008CpR |bool |_is_uni_perl_idcont|UV c
1009CpR |bool |_is_uni_perl_idstart|UV c
45b29440 1010ATdmoR |bool |is_utf8_invariant_string|NN const U8* const s \
e17544a6 1011 |STRLEN len
c9182d9c 1012ATidRp |bool |is_utf8_invariant_string_loc|NN const U8* const s \
e17544a6 1013 |STRLEN len \
0cbf5865 1014 |NULLOK const U8 ** ep
23a7ee81 1015#ifndef EBCDIC
73f0a2eb 1016CTiRp |unsigned int|variant_byte_number|PERL_UINTMAX_T word
23a7ee81 1017#endif
03c1e4ab 1018#if defined(PERL_CORE) || defined(PERL_EXT)
c1a02cca 1019EiTRd |Size_t |variant_under_utf8_count|NN const U8* const s \
03c1e4ab
KW
1020 |NN const U8* const e
1021#endif
ef9e3b4d
KW
1022AmTdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len
1023AmTdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len
c9cd936b 1024#if defined(PERL_CORE) || defined (PERL_EXT)
86a87e17 1025EXTidRp |bool |is_utf8_non_invariant_string|NN const U8* const s \
c9cd936b
KW
1026 |STRLEN len
1027#endif
45b29440 1028AbTpdD |STRLEN |is_utf8_char |NN const U8 *s
b719801d 1029AbMTpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
c9182d9c 1030ATidRp |Size_t |isUTF8_CHAR|NN const U8 * const s0 \
8ed185f9 1031 |NN const U8 * const e
c9182d9c 1032ATidRp |Size_t |isSTRICT_UTF8_CHAR |NN const U8 * const s0 \
67049a5f 1033 |NN const U8 * const e
c9182d9c 1034ATidRp |Size_t |isC9_STRICT_UTF8_CHAR |NN const U8 * const s0 \
c5bfbb64 1035 |NN const U8 * const e
ef9e3b4d 1036ATmdR |bool |is_utf8_string |NN const U8 *s|STRLEN len
c9182d9c 1037ATidRp |bool |is_utf8_string_flags \
f60f61fd 1038 |NN const U8 *s|STRLEN len|const U32 flags
ef9e3b4d
KW
1039ATmdR |bool |is_strict_utf8_string|NN const U8 *s|STRLEN len
1040ATmdR |bool |is_c9strict_utf8_string|NN const U8 *s|STRLEN len
b719801d 1041ATpdMb |bool |is_utf8_string_loc \
0dc258e2 1042 |NN const U8 *s|const STRLEN len|NN const U8 **ep
45b29440 1043ATdm |bool |is_utf8_string_loc_flags \
f60f61fd 1044 |NN const U8 *s|STRLEN len|NN const U8 **ep \
9f2abfde 1045 |const U32 flags
45b29440 1046ATdm |bool |is_strict_utf8_string_loc \
33756530 1047 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 1048ATdm |bool |is_c9strict_utf8_string_loc \
33756530 1049 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 1050ATipd |bool |is_utf8_string_loclen \
f60f61fd 1051 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1052 |NULLOK STRLEN *el
c9182d9c 1053ATidp |bool |is_utf8_string_loclen_flags \
f60f61fd 1054 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1055 |NULLOK STRLEN *el|const U32 flags
c9182d9c 1056ATidp |bool |is_strict_utf8_string_loclen \
33756530 1057 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1058 |NULLOK STRLEN *el
c9182d9c 1059ATidp |bool |is_c9strict_utf8_string_loclen \
33756530 1060 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1061 |NULLOK STRLEN *el
45b29440 1062AmTd |bool |is_utf8_fixed_width_buf_flags \
33756530 1063 |NN const U8 * const s|STRLEN len|const U32 flags
45b29440 1064AmTd |bool |is_utf8_fixed_width_buf_loc_flags \
33756530 1065 |NN const U8 * const s|STRLEN len \
8bc127bf 1066 |NULLOK const U8 **ep|const U32 flags
c9182d9c 1067ATidp |bool |is_utf8_fixed_width_buf_loclen_flags \
33756530 1068 |NN const U8 * const s|STRLEN len \
8bc127bf 1069 |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags
45b29440 1070AmTdP |bool |is_utf8_valid_partial_char \
f1c999a7 1071 |NN const U8 * const s|NN const U8 * const e
c9182d9c 1072ATidRp |bool |is_utf8_valid_partial_char_flags \
f1c999a7 1073 |NN const U8 * const s|NN const U8 * const e|const U32 flags
dd1a3ba7
KW
1074CpR |bool |_is_uni_FOO|const U8 classnum|const UV c
1075CpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p \
da8c1a98 1076 |NN const U8 * const e
dd1a3ba7
KW
1077CpR |bool |_is_utf8_perl_idcont|NN const U8 *p|NN const U8 * const e
1078CpR |bool |_is_utf8_perl_idstart|NN const U8 *p|NN const U8 * const e
1079
be9bef63
KW
1080#if defined(PERL_CORE) || defined(PERL_EXT)
1081EXdpR |bool |isSCRIPT_RUN |NN const U8 *s|NN const U8 *send \
49cd0726 1082 |const bool utf8_target
be9bef63 1083#endif
67022846 1084: Used in perly.y
4048f010 1085p |OP* |jmaybe |NN OP *o
67022846 1086: Used in pp.c
4048f010 1087pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 1088#if defined(PERL_IN_OP_C)
9f589e47 1089S |void |inplace_aassign |NN OP* o
867fa1e2 1090#endif
94bdecf9 1091Ap |void |leave_scope |I32 base
efa571ab 1092p |void |notify_parser_that_changed_to_utf8
f0e67a1d 1093: Public lexer API
e4aeb12f
KW
1094Axpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
1095Axpd |bool |lex_bufutf8
1096Axpd |char* |lex_grow_linestr|STRLEN len
1097Axpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
1098Axpd |void |lex_stuff_pv |NN const char* pv|U32 flags
1099Axpd |void |lex_stuff_sv |NN SV* sv|U32 flags
1100Axpd |void |lex_unstuff |NN char* ptr
1101Axpd |void |lex_read_to |NN char* ptr
1102Axpd |void |lex_discard_to |NN char* ptr
1103Axpd |bool |lex_next_chunk |U32 flags
1104Axpd |I32 |lex_peek_unichar|U32 flags
1105Axpd |I32 |lex_read_unichar|U32 flags
1106Axpd |void |lex_read_space |U32 flags
28ac2b49 1107: Public parser API
e4aeb12f
KW
1108Axpd |OP* |parse_arithexpr|U32 flags
1109Axpd |OP* |parse_termexpr |U32 flags
1110Axpd |OP* |parse_listexpr |U32 flags
1111Axpd |OP* |parse_fullexpr |U32 flags
1112Axpd |OP* |parse_block |U32 flags
1113Axpd |OP* |parse_barestmt |U32 flags
1114Axpd |SV* |parse_label |U32 flags
1115Axpd |OP* |parse_fullstmt |U32 flags
1116Axpd |OP* |parse_stmtseq |U32 flags
996b0cb8 1117Axpd |OP* |parse_subsignature|U32 flags
f0e67a1d 1118: Used in various files
1d70cb64 1119Apd |void |op_null |NN OP* o
d67fec57 1120: FIXME. Used by Data::Alias
6d9a2efc 1121EXp |void |op_clear |NN OP* o
4026c95a
SH
1122Ap |void |op_refcnt_lock
1123Ap |void |op_refcnt_unlock
45b29440 1124ApdT |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 1125 |int del_count|NULLOK OP* insert
45b29440 1126ApdT |OP* |op_parent|NN OP *o
43869a0c 1127#if defined(PERL_IN_OP_C)
9f589e47 1128S |OP* |listkids |NULLOK OP* o
2dd5337b 1129#endif
aec46f14 1130p |OP* |list |NULLOK OP* o
aec46f14
AL
1131Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
1132Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 1133: Used in perly.y
4048f010 1134p |OP* |localize |NN OP *o|I32 lex
aad570aa 1135ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 1136Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ce54a8b9 1137#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
09f3c061 1138EpRX |bool |grok_bslash_x |NN char** s \
e8278639
KW
1139 |NN const char* const send \
1140 |NN UV* uv \
17896a85
KW
1141 |NN const char** error_msg \
1142 |const bool output_warning \
1143 |const bool strict \
1144 |const bool silence_non_portable \
1145 |const bool utf8
09f3c061
KW
1146EpRX |char |grok_bslash_c |const char source|const bool output_warning
1147EpRX |bool |grok_bslash_o |NN char** s \
e8278639
KW
1148 |NN const char* const send \
1149 |NN UV* uv \
17896a85
KW
1150 |NN const char** error_msg \
1151 |const bool output_warning \
1152 |const bool strict \
1153 |const bool silence_non_portable \
1154 |const bool utf8
09f3c061 1155EiR |char*|form_short_octal_warning|NN const char * const s \
5e0a247b 1156 |const STRLEN len
45b29440 1157EiRT |I32 |regcurly |NN const char *s
ce54a8b9 1158#endif
7827dc65 1159Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 1160Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 1161Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 1162Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 1163ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 1164Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
c1a02cca 1165EXpdT |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 1166: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
1167p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
1168p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 1169dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 1170dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 1171p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1172p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
1173p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
1174p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
1175 |NULLOK const char *name|I32 namlen
1146e912 1176p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
1177p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
1178p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 1179p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 1180p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 1181p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1182p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
1183p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
1184p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
1185p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
1186p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
1187p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
1188p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
1189p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 1190p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
1191p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
1192p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 1193:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
1194:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
1195:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
1196#ifdef _MSC_VER
1197p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
1198#else
bfce84ec 1199pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 1200#endif
bfce84ec 1201p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 1202p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 1203p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1204p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1205p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 1206p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec 1207p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
1f1dcfb5 1208p |int |magic_setnonelem|NN SV* sv|NN MAGIC* mg
bfce84ec 1209p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 1210dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 1211p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 1212p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1213p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
1214p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
1215p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
1216p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
1217p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 1218p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1219p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
1220p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
1221p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
1222p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
1223p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
1224p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
1225p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
1226p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 1227pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 1228 |NN SV *meth|U32 flags \
046b0c7d 1229 |U32 argc|...
ba5248fc 1230Ap |I32 * |markstack_grow
94bdecf9 1231#if defined(USE_LOCALE_COLLATE)
b22e6366 1232p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
57f51a64 1233pbD |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen
67022846 1234: Defined in locale.c, used only in sv.c
78d57975 1235# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
09232555 1236p |char* |_mem_collxfrm |NN const char* input_string \
a4a439fb
KW
1237 |STRLEN len \
1238 |NN STRLEN* xlen \
1239 |bool utf8
1240# endif
94bdecf9 1241#endif
c5df3096
Z
1242Afpd |SV* |mess |NN const char* pat|...
1243Apd |SV* |mess_sv |NN SV* basemsg|bool consume
1244Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
1245: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
1246: Used in gv.c, op.c, toke.c
6d9a2efc 1247EXp |void |qerror |NN SV* err
3d4dd4c7
NC
1248Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
1249Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 1250Apd |int |mg_clear |NN SV* sv
4048f010
NC
1251Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
1252 |I32 klen
67022846 1253: Defined in mg.c, used only in scope.c
af7df257 1254pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
658db622 1255Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv
45b29440
KW
1256ApdRT |MAGIC* |mg_find |NULLOK const SV* sv|int type
1257ApdRT |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 1258: exported for re.pm
d4431b89 1259EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 1260Apd |int |mg_free |NN SV* sv
d9088386 1261Apd |void |mg_free_type |NN SV* sv|int how
e0d4aead 1262Apd |void |mg_freeext |NN SV* sv|int how|NULLOK const MGVTBL *vtbl
9a957fbc 1263Apd |int |mg_get |NN SV* sv
bd8446cf 1264ApdD |U32 |mg_length |NN SV* sv
45b29440 1265ApdT |void |mg_magical |NN SV* sv
9a957fbc
AL
1266Apd |int |mg_set |NN SV* sv
1267Ap |I32 |mg_size |NN SV* sv
45b29440 1268ApT |void |mini_mktime |NN struct tm *ptm
e4aeb12f 1269Axmd |OP* |op_lvalue |NULLOK OP* o|I32 type
d3d7d28f 1270poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
c1a02cca
KW
1271pd |void |finalize_optree |NN OP* o
1272pd |void |optimize_optree|NN OP* o
d164302a 1273#if defined(PERL_IN_OP_C)
9f589e47
KW
1274S |void |optimize_op |NN OP* o
1275S |void |finalize_op |NN OP* o
1276S |void |move_proto_attr|NN OP **proto|NN OP **attrs \
cbf83791 1277 |NN const GV *name|bool curstash
d164302a 1278#endif
67022846 1279: Used in op.c and pp_sys.c
a79b25b7 1280p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 1281Ap |const char* |moreswitches |NN const char* s
4373e329 1282Ap |NV |my_atof |NN const char *s
c1a02cca 1283ATdpR |NV |my_strtod |NN const char * const s|NULLOK char ** e
72eff736 1284Aprd |void |my_exit |U32 status
94bdecf9
JH
1285Apr |void |my_failure_exit
1286Ap |I32 |my_fflush_all
45b29440
KW
1287ATp |Pid_t |my_fork
1288ATp |void |atfork_lock
1289ATp |void |atfork_unlock
b719801d 1290ApMb |I32 |my_lstat
0d7d409d 1291pX |I32 |my_lstat_flags |NULLOK const U32 flags
6dba01e2 1292#if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
5af72e99 1293EeiT |void * |my_memrchr |NN const char * s|const char c|const STRLEN len
6dba01e2 1294#endif
875ca36f 1295#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
1296Ap |I32 |my_pclose |NULLOK PerlIO* ptr
1297Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 1298#endif
c9289b7b 1299Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
df641d45 1300Apd |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
b719801d 1301ApMb |I32 |my_stat
0d7d409d 1302pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 1303Afp |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 1304: Used in pp_ctl.c
94bdecf9 1305p |void |my_unexec
09232555
KW
1306CbDTPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
1307CbDTPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
346c6a29
DM
1308ApR |OP* |newANONLIST |NULLOK OP* o
1309ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 1310Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
1311ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
1312ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 1313Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
1314Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1315 |NULLOK const char* name|STRLEN len \
1316 |U32 flags|NULLOK SV* sv
aec46f14 1317Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29 1318ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
7896dde7 1319ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
346c6a29 1320ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
e4aeb12f 1321px |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29
DM
1322ApdR |OP* |newLOOPEX |I32 type|NN OP* label
1323ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
1324ApdR |OP* |newNULLLIST
1325ApdR |OP* |newOP |I32 optype|I32 flags
f54cb97a 1326Ap |void |newPROG |NN OP* o
346c6a29
DM
1327ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1328ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1329ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
b719801d 1330ApbM |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1331 |NULLOK OP* block
68cd13c6 1332pd |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
032a0447 1333 |NN XSUBADDR_t subaddr\
9a189793 1334 |NULLOK const char *const filename \
8f82b567
FC
1335 |NULLOK const char *const proto \
1336 |NULLOK SV **const_svp|U32 flags
9a189793 1337pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
e4aeb12f 1338Apx |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
77004dee
NC
1339 |NN const char *const filename \
1340 |NULLOK const char *const proto|U32 flags
44170c9a 1341ApdU |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
4048f010 1342 |NN const char *filename
b719801d 1343ApMdbR |AV* |newAV
346c6a29
DM
1344ApR |OP* |newAVREF |NN OP* o
1345ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1346ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1347ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 1348Am |GV* |newGVgen |NN const char* pack
346c6a29
DM
1349ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags
1350ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1351ApR |OP* |newHVREF |NN OP* o
b719801d 1352ApMdbR |HV* |newHV
346c6a29 1353ApR |HV* |newHVhv |NULLOK HV *hv
b719801d 1354ApRbM |IO* |newIO
346c6a29 1355ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
e4aeb12f
KW
1356AxpdRT |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1357AxpdRT |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1358AxpdRT |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1359#ifdef USE_ITHREADS
346c6a29
DM
1360ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1361#endif
1362ApdR |OP* |newPMOP |I32 type|I32 flags
1363ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
1364ApR |SV* |newRV |NN SV *const sv
1365ApdR |SV* |newRV_noinc |NN SV *const tmpRef
1366ApdR |SV* |newSV |const STRLEN len
1367ApR |OP* |newSVREF |NN OP* o
1368ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1369ApdR |OP* |newDEFSVOP
346c6a29
DM
1370pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
1371ApdR |SV* |newSViv |const IV i
1372ApdR |SV* |newSVuv |const UV u
1373ApdR |SV* |newSVnv |const NV n
1374ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
a5ba2527 1375ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len
346c6a29
DM
1376ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1377ApdR |SV* |newSVhek |NULLOK const HEK *const hek
1378ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1379ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1380AfpdR |SV* |newSVpvf |NN const char *const pat|...
1381ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1382Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
b719801d 1383ApMbdR |SV* |newSVsv |NULLOK SV *const old
ef9e3b4d 1384AmdR |SV* |newSVsv_nomg |NULLOK SV *const old
238f2c13 1385ApR |SV* |newSVsv_flags |NULLOK SV *const old|I32 flags
346c6a29
DM
1386ApdR |SV* |newSV_type |const svtype type
1387ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1388ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1389 |NULLOK UNOP_AUX_item *aux
7896dde7 1390ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
346c6a29 1391ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1392 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1393 |I32 has_my
346c6a29
DM
1394ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1395ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1396Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1397Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1398Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1399Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1400po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1401 |NN SV *protosv
d9088386 1402Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
71c697de 1403Apd |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 1404Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1405Apd |void |cv_set_call_checker_flags|NN CV *cv \
1406 |NN Perl_call_checker ckfun \
71c697de 1407 |NN SV *ckobj|U32 ckflags
e8570548 1408Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
e4aeb12f 1409Axpd |void |wrap_keyword_plugin|NN Perl_keyword_plugin_t new_plugin|NN Perl_keyword_plugin_t *old_plugin_p
346c6a29 1410ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1411Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1412 |NN SV *sv
9f6cc744 1413Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1414Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1415 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1416 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1417Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1418Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1419Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1420Apd |SV* |vnumify |NN SV *vs
1421Apd |SV* |vnormal |NN SV *vs
1422Apd |SV* |vstringify |NN SV *vs
9f6cc744 1423Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1424: Used in pp_hot.c and pp_sys.c
157fb5a1 1425p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
54c193ae 1426AdMTpP |char* |ninstr |NN const char* big|NN const char* bigend \
b8070b07 1427 |NN const char* little|NN const char* lend
1d70cb64 1428Apd |void |op_free |NULLOK OP* arg
e4aeb12f 1429xp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1430#ifdef PERL_CORE
8be227ab
FC
1431p |void |opslab_free |NN OPSLAB *slab
1432p |void |opslab_free_nopad|NN OPSLAB *slab
1433p |void |opslab_force_free|NN OPSLAB *slab
1434#endif
67022846 1435: Used in perly.y
2d03de9c 1436p |void |package |NN OP* o
6fa4d285
DG
1437: Used in perly.y
1438p |void |package_version|NN OP* v
67022846 1439: Used in toke.c and perly.y
d6447115
NC
1440p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1441 |const U32 flags
d4d03940 1442#ifdef USE_ITHREADS
c1a02cca 1443Adxp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1444#endif
67022846 1445: Used in perly.y
1df70142 1446pR |OP* |oopsAV |NN OP* o
67022846 1447: Used in perly.y
1df70142 1448pR |OP* |oopsHV |NN OP* o
cc76b5cc 1449
1a0a2ba9 1450: peephole optimiser
666e7765 1451p |void |peep |NULLOK OP* o
1a0a2ba9 1452p |void |rpeep |NULLOK OP* o
67022846 1453: Defined in doio.c, used only in pp_hot.c
e4aeb12f 1454dopx |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1455
10bc17b6 1456Ap |void |reentrant_size
59bd0823 1457Ap |void |reentrant_init
10bc17b6 1458Ap |void |reentrant_free
45b29440 1459ATp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1460
7b53c8ee
NC
1461: "Very" special - can't use the O flag for this one:
1462: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1463Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1464ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1465ApdO |I32 |call_method |NN const char* methname|I32 flags
1466ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
8162b70e 1467ApdO |I32 |call_sv |NN SV* sv|volatile I32 flags
5290524f 1468Ap |void |despatch_signals
e4c5ccf3 1469Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1470ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1471ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1472ApdO |SV* |get_sv |NN const char *name|I32 flags
1473ApdO |AV* |get_av |NN const char *name|I32 flags
1474ApdO |HV* |get_hv |NN const char *name|I32 flags
1475ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1476Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
45b29440 1477ATdo |const char*|Perl_setlocale|const int category|NULLOK const char* locale
f7416781 1478#if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
45b29440 1479ATdo |const char*|Perl_langinfo|const nl_item item
f7416781 1480#else
45b29440 1481ATdo |const char*|Perl_langinfo|const int item
f7416781 1482#endif
09232555
KW
1483CpO |int |init_i18nl10n |int printwarn
1484CbpOD |int |init_i18nl14n |int printwarn
ec268cc8 1485p |char* |my_strerror |const int errnum
45b29440 1486XpT |void |_warn_problematic_locale
5792c642 1487Xp |void |set_numeric_underlying
8d8472df 1488Xp |void |set_numeric_standard
5c1ff086 1489Xp |bool |_is_in_locale_category|const bool compiling|const int category
45b29440
KW
1490ApdT |void |switch_to_global_locale
1491ApdT |bool |sync_locale
e4aeb12f
KW
1492ApxT |void |thread_locale_init
1493ApxT |void |thread_locale_term
7b53c8ee 1494ApdO |void |require_pv |NN const char* pv
4352fcf7 1495AbpdM |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
2d03de9c
AL
1496 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1497Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef 1498#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
9f589e47 1499S |void |pidgone |Pid_t pid|int status
ca0c25f6 1500#endif
67022846 1501: Used in perly.y
9b6b7be8 1502p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
5012eebe 1503 |UV flags|I32 floor
43869a0c 1504#if defined(PERL_IN_OP_C)
9f589e47 1505S |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
0d86688d 1506#endif
94bdecf9 1507Ap |void |pop_scope
94bdecf9 1508Ap |void |push_scope
700d83cb 1509#if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
b719801d 1510ApMb |OP* |ref |NULLOK OP* o|I32 type
700d83cb 1511#endif
43869a0c 1512#if defined(PERL_IN_OP_C)
9f589e47 1513S |OP* |refkids |NULLOK OP* o|I32 type
0d86688d 1514#endif
097eb12c 1515Ap |void |regdump |NN const regexp* r
bdef45de 1516CiTop |struct regexp *|ReANY |NN const REGEXP * const re
b24b43f7 1517#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
680b55f7 1518EXpR |SV* |_new_invlist_C_array|NN const UV* const list
09f3c061 1519EXp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1520#endif
49d7dfbc 1521Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1522 |NN char* strend|NN char* strbeg \
1523 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1524Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1525Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1526: FIXME - is anything in re using this now?
89699a04 1527EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* dsv|NN REGEXP* ssv
4048f010 1528Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1529#if defined(USE_ITHREADS)
49d7dfbc 1530Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1531#endif
3c13cae6 1532EXp |regexp_engine const *|current_re_engine
1593ad57 1533Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1534p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1535 |int pat_count|NULLOK OP *expr \
3c13cae6 1536 |NN const regexp_engine* eng \
1067df30 1537 |NULLOK REGEXP *old_re \
76ac488f 1538 |NULLOK bool *is_bare_re \
fb1ab119 1539 |const U32 rx_flags|const U32 pm_flags
37acfcba 1540Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
09232555 1541Cp |char* |re_intuit_start|NN REGEXP * const rx \
52a21eb3
DM
1542 |NULLOK SV* sv \
1543 |NN const char* const strbeg \
1544 |NN char* strpos \
1545 |NN char* strend \
1546 |const U32 flags \
9f61653a 1547 |NULLOK re_scream_pos_data *data
09232555 1548Cp |SV* |re_intuit_string|NN REGEXP *const r
4048f010 1549Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1550 |NN char *strend|NN char *strbeg \
1551 |SSize_t minend|NN SV *sv \
1552 |NULLOK void *data|U32 flags
8074533a 1553ApR |regnode*|regnext |NULLOK regnode* p
e950ecba 1554EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
192b9cd1 1555 |NULLOK SV * const value|const U32 flags
e950ecba 1556EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
192b9cd1 1557 |const U32 flags
e950ecba
KW
1558Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1559Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1560Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1561Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1562Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1563Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1564
d67fec57 1565: FIXME - is anything in re using this now?
2fdbfb4d 1566EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1567: FIXME - is anything in re using this now?
2fdbfb4d 1568EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1569: FIXME - is anything in re using this now?
2fdbfb4d
AB
1570EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1571
d67fec57 1572: FIXME - is anything in re using this now?
49d7dfbc 1573EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1574
45b29440
KW
1575ATp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
1576AdTpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1577 |NN const char* little|NN const char* lend
962fce0f 1578Apd |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1579: Used in pp_sys.c
7827dc65 1580p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1581: Used in pp_sys.c
9f6cc744 1582p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1583Ap |Sighandler_t|rsignal_state|int i
43869a0c 1584#if defined(PERL_IN_PP_CTL_C)
9f589e47
KW
1585S |void |rxres_free |NN void** rsp
1586S |void |rxres_restore |NN void **rsp|NN REGEXP *rx
9c105995
NC
1587#endif
1588: Used in pp_hot.c
4048f010 1589p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1590#if !defined(HAS_RENAME)
67022846 1591: Used in pp_sys.c
4373e329 1592p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1593#endif
639f6c3d
NC
1594Apda |char* |savepv |NULLOK const char* pv
1595Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1596Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1597
1598: NULLOK only to suppress a compiler warning
1599Apda |char* |savesharedpvn |NULLOK const char *const pv \
1600 |const STRLEN len
9dcc53ea 1601Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1602Apda |char* |savesvpv |NN SV* sv
94bdecf9 1603Ap |void |savestack_grow
4b3c1a47 1604Ap |void |savestack_grow_cnt |I32 need
5178f485 1605Am |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
c70927a6
FC
1606Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1607 |const U32 flags
94bdecf9 1608Ap |I32 |save_alloc |I32 size|I32 pad
4f313521
KW
1609Apdh |void |save_aptr |NN AV** aptr
1610Apdh |AV* |save_ary |NN GV* gv
9a957fbc
AL
1611Ap |void |save_bool |NN bool* boolp
1612Ap |void |save_clearsv |NN SV** svp
4048f010 1613Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1614Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1615Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1616Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1617Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
b719801d 1618ApMb |void |save_freesv |NULLOK SV* sv
67022846 1619: Used in SAVEFREOP(), used in op.c, pp_ctl.c
b719801d
KW
1620ApMb |void |save_freeop |NULLOK OP* o
1621ApMb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1622Ap |void |save_generic_svref|NN SV** sptr
1623Ap |void |save_generic_pvref|NN char** str
1624Ap |void |save_shared_pvref|NN char** str
364bbfa4 1625Adp |void |save_gp |NN GV* gv|I32 empty
4f313521 1626Apdh |HV* |save_hash |NN GV* gv
defdfed5 1627Ap |void |save_hints
5178f485 1628Am |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
af7df257 1629Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
4f313521 1630Apdh |void |save_hptr |NN HV** hptr
aec46f14
AL
1631Ap |void |save_I16 |NN I16* intp
1632Ap |void |save_I32 |NN I32* intp
1633Ap |void |save_I8 |NN I8* bytep
1634Ap |void |save_int |NN int* intp
53dedf6f 1635Apdh |void |save_item |NN SV* item
4048f010 1636Ap |void |save_iv |NN IV *ivp
4f313521 1637AbpDdh |void |save_list |NN SV** sarg|I32 maxsarg
57f51a64 1638AbpD |void |save_long |NN long* longp
b719801d 1639ApMb |void |save_mortalizesv|NN SV* sv
57f51a64 1640AbpD |void |save_nogv |NN GV* gv
67022846 1641: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
b719801d 1642ApMb |void |save_op
4f313521 1643Apdh |SV* |save_scalar |NN GV* gv
aec46f14 1644Ap |void |save_pptr |NN char** pptr
4048f010 1645Ap |void |save_vptr |NN void *ptr
94bdecf9 1646Ap |void |save_re_context
09edbca0 1647Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1648Ap |void |save_sptr |NN SV** sptr
e8eb279c 1649Xp |void |save_strlen |NN STRLEN* ptr
4f313521 1650Apdh |SV* |save_svref |NN SV** sptr
e4aeb12f 1651Axpo |void |savetmps
2fd8beea 1652Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1653Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1654: Used by SAVESWITCHSTACK() in pp.c
ad975267 1655Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1656 |NULLOK void *const ptr2|const int type
43869a0c 1657#if defined(PERL_IN_SCOPE_C)
9f589e47 1658S |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
be84297e
NC
1659 |NULLOK void *const ptr2|const int type
1660#endif
2ac0ce0e
KW
1661Xiop |I32 |TOPMARK
1662Xiop |I32 |POPMARK
67022846 1663: Used in perly.y
aec46f14 1664p |OP* |sawparens |NULLOK OP* o
d9088386 1665Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1666: Used in perly.y
aec46f14 1667p |OP* |scalar |NULLOK OP* o
43869a0c 1668#if defined(PERL_IN_OP_C)
9f589e47
KW
1669S |OP* |scalarkids |NULLOK OP* o
1670S |OP* |scalarseq |NULLOK OP* o
2dd5337b 1671#endif
67022846 1672: Used in pp_ctl.c
aec46f14
AL
1673p |OP* |scalarvoid |NN OP* o
1674Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1675Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1676Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1677Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
e4aeb12f 1678Axpd |OP* |op_scope |NULLOK OP* o
e2051532 1679: Only used by perl.c/miniperl.c, but defined in caretx.c
5af72e99 1680pe |void |set_caret_X
9a9bb270 1681Apd |void |setdefout |NN GV* gv
b02f3645 1682Ap |HEK* |share_hek |NN const char* str|SSize_t len|U32 hash
8aad04aa 1683#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1684: Used in perl.c
45b29440
KW
1685Tp |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1686ATp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1687#else
45b29440
KW
1688Tp |Signal_t |sighandler |int sig
1689ATp |Signal_t |csighandler |int sig
8aad04aa 1690#endif
fc16c392 1691Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1692Ap |I32 |start_subparse |I32 is_format|U32 flags
50333c97 1693Xp |void |init_named_cv |NN CV *cv|NN OP *nameop
67022846 1694: Used in pp_ctl.c
aec46f14 1695p |void |sub_crush_depth|NN CV* cv
b719801d 1696ApbMd |bool |sv_2bool |NN SV *const sv
9d176cd8 1697Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1698Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1699 |const I32 lref
1700Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1701#if defined(PERL_IN_SV_C)
9f589e47 1702S |bool |glob_2number |NN GV* const gv
180488f8 1703#endif
b719801d 1704ApMb |IV |sv_2iv |NN SV *sv
1061065f 1705Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1706Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1707Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1708: Used in pp.c, pp_hot.c, sv.c
e4aeb12f 1709pxd |SV* |sv_2num |NN SV *const sv
b719801d 1710ApMb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1061065f 1711Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
b719801d 1712ApdMb |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
757fc329 1713Ap |char* |sv_2pvutf8_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags
b719801d 1714ApdMb |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
757fc329 1715Ap |char* |sv_2pvbyte_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags
57f51a64 1716AbpD |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
b719801d 1717ApMb |UV |sv_2uv |NN SV *sv
1061065f 1718Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
57f51a64
KW
1719AbpdD |IV |sv_iv |NN SV* sv
1720AbpdD |UV |sv_uv |NN SV* sv
1721AbpdD |NV |sv_nv |NN SV* sv
1722AbpdD |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1723AbpdD |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1724AbpdD |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1725Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1726#if defined(PERL_IN_SV_C)
9f589e47 1727Sd |void |sv_add_arena |NN char *const ptr|const U32 size \
d2bd4e7f
NC
1728 |const U32 flags
1729#endif
45b29440 1730ApdT |void |sv_backoff |NN SV *const sv
12964ddd 1731Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1732#if defined(PERL_DEBUG_READONLY_COW)
1733p |void |sv_buf_to_ro |NN SV *sv
1620d805 1734# if defined(PERL_IN_SV_C)
9f589e47 1735S |void |sv_buf_to_rw |NN SV *sv
1620d805 1736# endif
b001a0d1 1737#endif
66ceb532
SS
1738Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1739Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1740 |NULLOK va_list *const args
2b021c53 1741Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
b719801d
KW
1742ApMdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1743ApMdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1744Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1745: Used only in perl.c
94bdecf9 1746pd |I32 |sv_clean_all
67022846 1747: Used only in perl.c
94bdecf9 1748pd |void |sv_clean_objs
5239d5c4 1749Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe 1750#if defined(PERL_IN_SV_C)
9f589e47 1751S |bool |curse |NN SV * const sv|const bool check_refcnt
4155e4fe 1752#endif
917b9b54 1753AMpd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1754Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1755 |const U32 flags
917b9b54 1756AMpd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1757Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1758 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1759#if defined(USE_LOCALE_COLLATE)
b719801d 1760ApbMd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
078504b2 1761Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1762#endif
4373e329 1763Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1764Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1765Apd |void |sv_dec_nomg |NULLOK SV *const sv
c1a02cca 1766Apd |void |sv_dump |NULLOK SV* sv
15f169a1 1767ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1768ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1769ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1770ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1771 |const STRLEN len|U32 flags
15f169a1 1772ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1773ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1774ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1775ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1776 |U32 flags
b719801d 1777ApbMd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1778Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1779Apd |void |sv_free |NULLOK SV *const sv
e4aeb12f 1780poxX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1781: Used only in perl.c
94bdecf9 1782pd |void |sv_free_arenas
ac1e9476 1783Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1784Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1785Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1786Apd |void |sv_inc_nomg |NULLOK SV *const sv
b719801d 1787ApMdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1788 |const STRLEN len|NN const char *const little \
1789 |const STRLEN littlelen
c0dd94a0 1790Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
e7a8a8aa 1791 |NN const char *little|const STRLEN littlelen|const U32 flags
12964ddd 1792Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1793Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1794Apd |STRLEN |sv_len |NULLOK SV *const sv
1795Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1796p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1797Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1798 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1799Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1800 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1801 |const I32 namlen
c9182d9c 1802EiTp |bool |sv_only_taint_gmagic|NN SV *sv
96c2a8ff 1803: exported for re.pm
d4431b89 1804EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
b719801d 1805ApdbMR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
c6dcb9ed 1806ApdR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1807ApdR |SV* |sv_newmortal
af828c01 1808Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1809Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1810Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1811Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1812 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1813Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1814Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1815 |U32 flags
b719801d 1816ApMdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1817Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1818Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1819Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1820Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1821 |NN char* tstr|int tlen
12964ddd 1822ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1823Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1824Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1825Apd |void |sv_report_used
23f13727 1826Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1827p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1828 |NULLOK HV *const stash
89e38212
SS
1829Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1830Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1831Apd |void |sv_setiv |NN SV *const sv|const IV num
57f51a64 1832ApdbD |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1833Apd |void |sv_setuv |NN SV *const sv|const UV num
1834Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1835Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1836Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1837Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1838Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1839 |NULLOK void *const pv
1840Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1841 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1842Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1843Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
45661033 1844Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len
70b71ec8 1845Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
b719801d
KW
1846ApMdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
1847ApMdb |void |sv_taint |NN SV* sv
89e38212 1848ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1849Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1850Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
b719801d 1851ApdMb |void |sv_unref |NN SV* sv
89e38212
SS
1852Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1853Apd |void |sv_untaint |NN SV *const sv
aad570aa 1854Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
b719801d 1855ApdMb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1856Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1857 |const U32 flags
66ceb532 1858Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1859 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
66ceb532 1860 |NULLOK bool *const maybe_tainted
4bac9ae4 1861Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1862 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
4bac9ae4 1863 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1864Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1865 |NULLOK va_list *const args|NULLOK SV **const svargs \
ea4817b1 1866 |const Size_t sv_count|NULLOK bool *const maybe_tainted
aec46f14 1867ApR |NV |str_to_version |NN SV *sv
09f3c061
KW
1868EXpR |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
1869EXp |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1870#ifdef PERL_IN_REGCOMP_C
09f3c061
KW
1871EiR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
1872EiRT |bool |invlist_is_iterating|NN SV* const invlist
b2458342 1873#ifndef PERL_EXT_RE_BUILD
09f3c061
KW
1874EiRT |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
1875EiRT |UV |invlist_max |NN SV* const invlist
1876ES |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
1877ES |void |invlist_extend |NN SV* const invlist|const UV len
1878ES |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
1879EiRT |IV* |get_invlist_previous_index_addr|NN SV* invlist
1880Ei |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
1881EiT |void |invlist_set_previous_index|NN SV* const invlist|const IV index
1882EiRT |IV |invlist_previous_index|NN SV* const invlist
1883EiT |void |invlist_trim |NN SV* invlist
1884Ei |void |invlist_clear |NN SV* invlist
1885S |void |initialize_invlist_guts|NN SV* invlist|const Size_t initial_size
1886#endif
1887EiRT |STRLEN*|get_invlist_iter_addr |NN SV* invlist
1888EiT |void |invlist_iterinit|NN SV* invlist
1889ESRT |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
1890EiT |void |invlist_iterfinish|NN SV* invlist
1891EiRT |UV |invlist_highest|NN SV* const invlist
1892ERS |SV* |_make_exactf_invlist |NN RExC_state_t *pRExC_state \
8c75ba15 1893 |NN regnode *node
09f3c061 1894ESR |SV* |invlist_contents|NN SV* const invlist \
bb17e326 1895 |const bool traditional_style
9f589e47 1896ESRT |bool |new_regcurly |NN const char *s|NN const char *e
839cfe5d
KW
1897#endif
1898#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
4060a4c6 1899m |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
09f3c061 1900EXp |void |_invlist_intersection_maybe_complement_2nd \
a0316a6c
KW
1901 |NULLOK SV* const a|NN SV* const b \
1902 |const bool complement_b|NN SV** i
4060a4c6 1903Cm |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
09f3c061 1904EXp |void |_invlist_union_maybe_complement_2nd \
a0316a6c
KW
1905 |NULLOK SV* const a|NN SV* const b \
1906 |const bool complement_b|NN SV** output
4060a4c6 1907m |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
09f3c061
KW
1908EXp |void |_invlist_invert|NN SV* const invlist
1909EXpR |SV* |_new_invlist |IV initial_size
1910EXpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
1911EXpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
d764b54e 1912#endif
3d746163 1913#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
09f3c061 1914EpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist
1bb572bb 1915#endif
dbb3849a 1916#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
09f3c061
KW
1917EiRT |UV* |invlist_array |NN SV* const invlist
1918EiRT |bool |is_invlist |NULLOK SV* const invlist
1919EiRT |bool* |get_invlist_offset_addr|NN SV* invlist
1920EiRT |UV |_invlist_len |NN SV* const invlist
1921EiRT |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
1922EXpRT |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
ad3f05ad 1923#endif
94b0cb42
KW
1924#if defined(PERL_IN_PP_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
1925EiT |const char *|get_regex_charset_name|const U32 flags|NN STRLEN* const lenp
1926#endif
77d654fb 1927#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
09f3c061 1928EXp |SV* |_get_regclass_nonbitmap_data \
77d654fb 1929 |NULLOK const regexp *prog \
ef9bc832
KW
1930 |NN const struct regnode *node \
1931 |bool doinit \
77d654fb 1932 |NULLOK SV **listsvp \
ef9bc832 1933 |NULLOK SV **lonly_utf8_locale \
b77aba85 1934 |NULLOK SV **output_invlist
77d654fb 1935#endif
ad3f05ad 1936#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
09f3c061 1937EXp |void |_invlist_dump |NN PerlIO *file|I32 level \
ad3f05ad
KW
1938 |NN const char* const indent \
1939 |NN SV* const invlist
c4a5db0c 1940#endif
94bdecf9 1941Ap |void |taint_env
6fd06953 1942Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
09232555 1943Ep |char * |_byte_dump_string \
63ab03b3 1944 |NN const U8 * const start \
7e2f38b2
KW
1945 |const STRLEN len \
1946 |const bool format
b9992569 1947#if defined(PERL_IN_UTF8_C)
45b29440 1948iTR |int |does_utf8_overflow|NN const U8 * const s \
e050c007
KW
1949 |NN const U8 * e \
1950 |const bool consider_overlongs
45b29440 1951iTR |int |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s \
d6be65ae 1952 |const STRLEN len
45b29440 1953iTR |int |isFF_OVERLONG |NN const U8 * const s|const STRLEN len
09232555 1954SR |char * |unexpected_non_continuation_text \
7cf8d05d 1955 |NN const U8 * const s \
3cc6a05e 1956 |STRLEN print_len \
7cf8d05d
KW
1957 |const STRLEN non_cont_byte_pos \
1958 |const STRLEN expect_len
059703b0 1959#if 0 /* Not currently used, but may be needed in the future */
9f589e47 1960S |void |warn_on_first_deprecated_use \
34aeb2e9
KW
1961 |NN const char * const name \
1962 |NN const char * const alternative \
1963 |const bool use_locale \
1964 |NN const char * const file \
1965 |const unsigned line
059703b0 1966#endif
9f589e47 1967S |UV |_to_utf8_case |const UV uv1 \
a13f1de4 1968 |NULLOK const U8 *p \
b9992569 1969 |NN U8* ustrp \
c404ed8c 1970 |NN STRLEN *lenp \
8946fcd9 1971 |NN SV *invlist \
341bb5b7 1972 |NN const int * const invmap \
e39a4130 1973 |NULLOK const unsigned int * const * const aux_tables \
8946fcd9
KW
1974 |NULLOK const U8 * const aux_table_lengths \
1975 |NN const char * const normal
9f589e47
KW
1976S |UV |turkic_fc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
1977S |UV |turkic_lc |NN const U8 * const p0|NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
1978S |UV |turkic_uc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
b9992569 1979#endif
09232555 1980Cp |UV |_to_utf8_lower_flags|NN const U8 *p|NULLOK const U8* e \
059703b0 1981 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 1982Cp |UV |_to_utf8_upper_flags |NN const U8 *p|NULLOK const U8 *e \
059703b0 1983 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 1984Cp |UV |_to_utf8_title_flags |NN const U8 *p|NULLOK const U8* e \
059703b0 1985 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 1986Cp |UV |_to_utf8_fold_flags|NN const U8 *p|NULLOK const U8 *e \
059703b0 1987 |NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags
83f78d1a 1988#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
45b29440 1989pT |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
1990 |bool pos1_is_uv|IV len_iv \
1991 |bool len_is_uv|NN STRLEN *posp \
1992 |NN STRLEN *lenp
1993#endif
94bdecf9 1994#if defined(UNLINK_ALL_VERSIONS)
6e732051 1995Ap |I32 |unlnk |NN const char* f
94bdecf9 1996#endif
57f51a64 1997AbpdD |SSize_t|unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
1998 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1999 |I32 ocnt|U32 flags
e1b825c1 2000Apd |SSize_t|unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14
AL
2001 |NN const char *strend|U32 flags
2002Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 2003: Used in gv.c, hv.c
78197f2f 2004p |void |unshare_hek |NULLOK HEK* hek
67022846 2005: Used in perly.y
aec46f14 2006p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
09232555 2007Cp |void |_force_out_malformed_utf8_message \
9cbfb8ab
KW
2008 |NN const U8 *const p|NN const U8 * const e|const U32 flags \
2009 |const bool die_here
73d689df
KW
2010EXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
2011EXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
622f12e7 2012AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
cfe24c19 2013AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
45b29440
KW
2014AipdRT |U8* |utf8_hop |NN const U8 *s|SSize_t off
2015AipdRT |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start
2016AipdRT |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end
2017AipdRT |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end
e4aeb12f 2018Apxd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp
fed3ba5d
NC
2019Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
2020 |STRLEN ulen
54c193ae 2021AMxdp |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p
e4aeb12f 2022AxTp |U8* |bytes_from_utf8_loc|NN const U8 *s \
976c1b08
KW
2023 |NN STRLEN *lenp \
2024 |NN bool *is_utf8p \
2025 |NULLOK const U8 ** first_unconverted
e4aeb12f 2026Apxd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp
977c1d31 2027ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
09232555
KW
2028CbpdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
2029CbpD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
54c193ae 2030AMpd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
9a9a6c98 2031Cip |UV |utf8_to_uvchr_buf_helper|NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
09232555 2032CpdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
09f3c061 2033p |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 2034
54c193ae 2035AdMTp |UV |utf8n_to_uvchr |NN const U8 *s \
f9380377
KW
2036 |STRLEN curlen \
2037 |NULLOK STRLEN *retlen \
2038 |const U32 flags
54c193ae 2039AdMTp |UV |utf8n_to_uvchr_error|NN const U8 *s \
f9380377
KW
2040 |STRLEN curlen \
2041 |NULLOK STRLEN *retlen \
2042 |const U32 flags \
2043 |NULLOK U32 * errors
c9182d9c 2044AxTdip |UV |utf8n_to_uvchr_msgs|NN const U8 *s \
e6a4ffc3
KW
2045 |STRLEN curlen \
2046 |NULLOK STRLEN *retlen \
2047 |const U32 flags \
2048 |NULLOK U32 * errors \
2049 |NULLOK AV ** msgs
09232555 2050CTp |UV |_utf8n_to_uvchr_msgs_helper \
e6a4ffc3 2051 |NN const U8 *s \
37657a5b
KW
2052 |STRLEN curlen \
2053 |NULLOK STRLEN *retlen \
2054 |const U32 flags \
2055 |NULLOK U32 * errors \
2056 |NULLOK AV ** msgs
09232555
KW
2057CipTRd |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
2058Cdp |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 2059
de69f3af 2060Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
09232555 2061Cp |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 2062Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
e4aeb12f 2063Admx |U8* |uvchr_to_utf8_flags_msgs|NN U8 *d|UV uv|UV flags|NULLOK HV ** msgs
917b9b54 2064CMpd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|const UV flags
09232555
KW
2065Cp |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV uv|const UV flags|NULLOK HV** msgs
2066Cdp |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
2067Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
2068ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
e39a4130
KW
2069EXpR |Size_t |_inverse_folds |const UV cp \
2070 |NN unsigned int * first_folds_to \
2071 |NN const unsigned int ** remaining_folds_to
d67fec57 2072: Used by Data::Alias
6d9a2efc 2073EXp |void |vivify_defelem |NN SV* sv
67022846 2074: Used in pp.c
9026059d 2075pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 2076: Used in pp_sys.c
aec46f14 2077p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 2078: Used in locale.c and perl.c
7827dc65 2079p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 2080Ap |U32 |seed
45b29440
KW
2081XpTo |double |drand48_r |NN perl_drand48_t *random_state
2082XpTo |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 2083: Only used in perl.c
e950ecba 2084p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 2085: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 2086p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
2087: Used in doio.c, pp_hot.c, pp_sys.c
2088p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 2089: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 2090XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
2091#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
2092p |void |report_redefined_cv|NN const SV *name \
2093 |NN const CV *old_cv \
2094 |NULLOK SV * const *new_const_svp
2095#endif
c5df3096 2096Apd |void |warn_sv |NN SV *baseex
aec46f14 2097Afpd |void |warn |NN const char* pat|...
c5df3096 2098Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 2099Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 2100Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 2101Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 2102Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
2103#ifdef USE_C_BACKTRACE
2104pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
2105dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
2106Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
2107Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
2108#endif
67022846 2109: FIXME
aec46f14 2110p |void |watch |NN char** addr
a377a099 2111Am |I32 |whichsig |NN const char* sig
e950ecba
KW
2112Ap |I32 |whichsig_sv |NN SV* sigsv
2113Ap |I32 |whichsig_pv |NN const char* sig
2114Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
c8028aa6 2115: used to check for NULs in pathnames and other names
c9182d9c 2116AiRdp |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
81f54ac7 2117#ifdef PERL_CORE
45b29440 2118iTR |bool |should_warn_nl|NN const char *pv
81f54ac7 2119#endif
67022846 2120: Used in pp_ctl.c
7d0994e0 2121p |void |write_to_stderr|NN SV* msv
67022846 2122: Used in op.c
15f169a1 2123p |int |yyerror |NN const char *const s
d43328d5 2124p |void |yyquit
cc8b45bd 2125pr |void |abort_execution|NN const char * const msg|NN const char * const name
19c62481 2126p |int |yyerror_pv |NN const char *const s|U32 flags
68da2a65 2127p |int |yyerror_pvn |NULLOK const char *const s|STRLEN len|U32 flags
d67fec57 2128: Used in perly.y, and by Data::Alias
6d9a2efc 2129EXp |int |yylex
28ac2b49 2130p |void |yyunlex
67022846 2131: Used in perl.c, pp_ctl.c
28ac2b49 2132p |int |yyparse |int gramtype
67022846 2133: Only used in scope.c
734c2451 2134p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
2135#ifdef PERL_CORE
2136p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
2137 |NN OPSLAB *slab
2138#endif
43869a0c 2139#if defined(PERL_IN_TOKE_C)
9f589e47 2140S |int |yywarn |NN const char *const s|U32 flags
af41e527 2141#endif
94bdecf9 2142#if defined(MYMALLOC)
6e9b0e18 2143Ap |void |dump_mstats |NN const char* s
ec1aec95 2144Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 2145#endif
45b29440
KW
2146ATpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
2147ATpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
2148ATpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
2149ATp |Free_t |safesysfree |Malloc_t where
c9182d9c 2150AirTep |void |croak_memory_wrap
94bdecf9
JH
2151#if defined(PERL_GLOBAL_STRUCT)
2152Ap |struct perl_vars *|GetVars
77304e85 2153Ap |struct perl_vars*|init_global_struct
7827dc65 2154Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
2155#endif
2156Ap |int |runops_standard
2157Ap |int |runops_debug
66ceb532
SS
2158Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
2159Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
2160 |NULLOK va_list *const args
2b021c53 2161Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b719801d
KW
2162ApdbM |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
2163ApdbM |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
2164Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
2165Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
2166 |NULLOK va_list *const args
aad570aa 2167Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
57f51a64 2168ApdbD |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
2169Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
2170Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
2171Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
2172Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 2173Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
b719801d 2174ApdbM |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 2175ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 2176Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 2177 |STRLEN pvlim
4420a417 2178Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
2179 |const STRLEN count|const STRLEN max\
2180 |NULLOK STRLEN * const escaped\
2181 |const U32 flags
e950ecba 2182Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 2183 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
2184 |NULLOK char const * const start_color\
2185 |NULLOK char const * const end_color\
ab3bbdeb 2186 |const U32 flags
aec46f14
AL
2187Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
2188Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
2189 |NULLOK va_list *args
b4390064
NC
2190Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
2191 |NULLOK GV *sv
2192Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
2193 |NULLOK GV *sv
4c31e473
NC
2194Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
2195 |NULLOK HV *sv
3dc78631 2196Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 2197 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
2198Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
2199Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 2200Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 2201 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 2202Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 2203Ap |void |reginitcolors
b719801d
KW
2204ApdRMb |char* |sv_2pv_nolen |NN SV* sv
2205ApdRMb |char* |sv_2pvutf8_nolen|NN SV* sv
2206ApdRMb |char* |sv_2pvbyte_nolen|NN SV* sv
2207ApMdbR |char* |sv_pv |NN SV *sv
2208ApMdbR |char* |sv_pvutf8 |NN SV *sv
2209ApMdbR |char* |sv_pvbyte |NN SV *sv
2210ApMdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 2211Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
b719801d 2212ApdMb |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
423ce623
P
2213Amd |bool |sv_utf8_downgrade_nomg|NN SV *const sv|const bool fail_ok
2214Apd |bool |sv_utf8_downgrade_flags|NN SV *const sv|const bool fail_ok|const U32 flags
7bc54cea 2215Apd |void |sv_utf8_encode |NN SV *const sv
43c6a1a7 2216Apd |bool |sv_utf8_decode |NN SV *const sv
b719801d 2217ApdMb |void |sv_force_normal|NN SV *sv
2e000ff2 2218Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 2219pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 2220Apd |SV* |sv_rvweaken |NN SV *const sv
ae2cf9f6 2221Apd |SV* |sv_rvunweaken |NN SV *const sv
e4aeb12f 2222ATpxd |SV* |sv_get_backrefs|NN SV *const sv
3f2f854a
KW
2223AiTMdp |SV * |SvREFCNT_inc |NULLOK SV *sv
2224AiTMdp |SV * |SvREFCNT_inc_NN|NN SV *sv
2225AiTMdp |void |SvREFCNT_inc_void|NULLOK SV *sv
2226AiMdp |void |SvREFCNT_dec |NULLOK SV *sv
2227AiMdp |void |SvREFCNT_dec_NN|NN SV *sv
1bd041dc
KW
2228AiTp |void |SvAMAGIC_on |NN SV *sv
2229AiTp |void |SvAMAGIC_off |NN SV *sv
67022846 2230: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 2231p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 2232Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91 2233Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
28ef7048 2234pdX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 2235 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 2236 |bool o_is_gv
50278755 2237Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 2238 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 2239p |CV* |newSTUB |NN GV *gv|bool fake
67022846 2240: Used in perly.y
46c461b5 2241p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 2242#if defined(USE_ITHREADS)
6c047da7
YST
2243ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
2244ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
346c6a29 2245ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
2246ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
2247ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
2248ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
2249Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
2250 |NN CLONE_PARAMS* param
66ceb532 2251Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 2252ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 2253ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 2254ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 2255#if defined(PERL_IN_SV_C)
9f589e47 2256S |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
538f2e76 2257 |SSize_t items|NN CLONE_PARAMS *const param
9f589e47 2258SR |SV* |sv_dup_common |NN const SV *const sstr \
d08d57ef
NC
2259 |NN CLONE_PARAMS *const param
2260#endif
1eb6e4ca 2261ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
2262ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
2263 |NN CLONE_PARAMS *const param
1eb6e4ca 2264Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 2265Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 2266#endif
346c6a29 2267ApR |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
2268ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2269Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
2270 |NN void *const newsv
2271Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 2272ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 2273Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 2274#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
2275Ap |void |sys_intern_clear
2276Ap |void |sys_intern_init
fe826663
NC
2277# if defined(USE_ITHREADS)
2278Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
2279# endif
94bdecf9
JH
2280#endif
2281
9c10ff02
KW
2282: The reason for the 'u' flag is that this passes "aTHX_ x" to its callee: not
2283: a legal C parameter
2284Admu |const XOP * |Perl_custom_op_xop |NN const OP *o
57f51a64
KW
2285AbpRdD |const char * |custom_op_name |NN const OP *o
2286AbpRdD |const char * |custom_op_desc |NN const OP *o
ae103e09 2287pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
c1a02cca 2288Adop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
1830b3d9 2289 |NN const XOP *xop
94bdecf9 2290
11675f52 2291Adp |void |sv_nosharing |NULLOK SV *sv
57f51a64 2292AdpbD |void |sv_nolocking |NULLOK SV *sv
eba16661 2293Adp |bool |sv_destroyable |NULLOK SV *sv
57f51a64 2294AdpbD |void |sv_nounlocking |NULLOK SV *sv
62375a60 2295Adp |int |nothreadhook
0d96b528 2296p |void |init_constants
94bdecf9 2297
43869a0c 2298#if defined(PERL_IN_DOOP_C)
9f589e47
KW
2299SR |Size_t |do_trans_simple |NN SV * const sv
2300SR |Size_t |do_trans_count |NN SV * const sv
2301SR |Size_t |do_trans_complex |NN SV * const sv
2302SR |Size_t |do_trans_simple_utf8 |NN SV * const sv
2303SR |Size_t |do_trans_count_utf8 |NN SV * const sv
2304SR |Size_t |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
2305#endif
2306
43869a0c 2307#if defined(PERL_IN_GV_C)
9f589e47
KW
2308S |void |gv_init_svtype |NN GV *gv|const svtype sv_type
2309S |void |gv_magicalize_isa |NN GV *gv
2310S |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
90aeefb4
BF
2311 |NN const char **name|NN STRLEN *len \
2312 |NN const char *nambeg|STRLEN full_len \
2313 |const U32 is_utf8|const I32 add
9f589e47 2314S |bool|find_default_stash|NN HV **stash|NN const char *name \
90aeefb4 2315 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 2316 |const svtype sv_type
9f589e47 2317S |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
1321bbe3 2318 |STRLEN len \
b3041197 2319 |const svtype sv_type
9f589e47
KW
2320S |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
2321S |bool|gv_is_in_main|NN const char *name|STRLEN len \
536d1a88 2322 |const U32 is_utf8
9f589e47 2323S |void |require_tie_mod|NN GV *gv|NN const char varname \
a1683482 2324 |NN const char * name|STRLEN len \
e94ea821 2325 |const U32 flags
94bdecf9
JH
2326#endif
2327
e0171a1a
DM
2328#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
2329po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
2330#endif
2331
43869a0c 2332#if defined(PERL_IN_HV_C)
9f589e47
KW
2333S |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
2334S |void |hv_free_entries|NN HV *hv
2335S |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
2336SR |HE* |new_he
2337SaTR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
2338ST |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
2339S |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
2340SR |HEK* |share_hek_flags|NN const char *str|STRLEN len|U32 hash|int flags
2341rS |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
45b29440 2342iT |U32|ptr_hash|PTRV u
9f589e47
KW
2343S |struct xpvhv_aux*|hv_auxinit|NN HV *hv
2344ST |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter
e4aeb12f 2345Sx |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
4048f010
NC
2346 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
2347 |U32 hash
e4aeb12f 2348Sx |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
2349#endif
2350
43869a0c 2351#if defined(PERL_IN_MG_C)
9f589e47
KW
2352S |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
2353S |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
2354S |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 2355 |NN SV *meth|U32 flags \
aec46f14 2356 |int n|NULLOK SV *val
9f589e47
KW
2357S |void |restore_magic |NULLOK const void *p
2358S |void |unwind_handler_stack|NULLOK const void *p
2359S |void |fixup_errno_string|NN SV* sv
8772537c 2360
94bdecf9
JH
2361#endif
2362
43869a0c 2363#if defined(PERL_IN_OP_C)
9f589e47
KW
2364SRT |bool |is_handle_constructor|NN const OP *o|I32 numargs
2365SR |I32 |assignment_type|NULLOK const OP *o
2366S |void |forget_pmop |NN PMOP *const o
2367S |void |find_and_forget_pmops |NN OP *o
2368S |void |cop_free |NN COP *cop
2369S |OP* |modkids |NULLOK OP *o|I32 type
2370S |OP* |scalarboolean |NN OP *o
2371SR |OP* |search_const |NN OP *o
2372SR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
2373S |void |simplify_sort |NN OP *o
2374SRT |bool |scalar_mod_type|NULLOK const OP *o|I32 type
2375S |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
2376S |OP * |dup_attrlist |NN OP *o
2377S |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
2378S |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
2379S |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
2380S |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
2381S |void |no_bareword_allowed|NN OP *o
2382SR |OP* |no_fh_allowed|NN OP *o
2383SR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2384S |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
2385S |bool |looks_like_bool|NN const OP* o
2386S |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
7896dde7
Z
2387 |I32 enter_opcode|I32 leave_opcode \
2388 |PADOFFSET entertarg
9f589e47
KW
2389S |OP* |ref_array_or_hash|NULLOK OP* cond
2390S |bool |process_special_blocks |I32 floor \
d699ecb7 2391 |NN const char *const fullname\
33fb7a6e 2392 |NN GV *const gv|NN CV *const cv
9f589e47 2393S |void |clear_special_blocks |NN const char *const fullname\
3969ff3f 2394 |NN GV *const gv|NN CV *const cv
c7e45529 2395#endif
346c6a29 2396XpR |void* |Slab_Alloc |size_t sz
8be227ab
FC
2397Xp |void |Slab_Free |NN void *op
2398#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 2399# if defined(PERL_CORE)
5af72e99
KW
2400pe |void |Slab_to_ro |NN OPSLAB *slab
2401pe |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 2402# endif
67022846 2403: Used in OpREFCNT_inc() in sv.c
e4aeb12f 2404poex |OP * |op_refcnt_inc |NULLOK OP *o
67022846 2405: FIXME - can be static.
e4aeb12f 2406poex |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
2407#endif
2408
43869a0c 2409#if defined(PERL_IN_PERL_C)
9f589e47
KW
2410S |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
2411S |void |forbid_setid |const char flag|const bool suidscript
2412S |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 2413 |U32 flags
9f589e47 2414S |SV* |mayberelocate |NN const char *const dir|STRLEN len \
c29067d7 2415 |U32 flags
9f589e47
KW
2416S |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
2417S |void |init_interp
2418S |void |init_ids
2419S |void |init_main_stash
2420S |void |init_perllib
2421S |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
2422S |void |init_predump_symbols
2423rS |void |my_exit_jump
2424S |void |nuke_stacks
2425S |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
8d113837 2426 |NN bool *suidscript
9f589e47 2427Sr |void |usage
cc69b689 2428#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
9f589e47 2429So |void |validate_suid |NN PerlIO *rsfp
ec2019ad 2430#endif
9f589e47 2431Sr |void |minus_v
2f9285f8 2432
9f589e47
KW
2433S |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
2434rS |void |run_body |I32 oldscope
59d6f6a4 2435# ifndef PERL_IS_MINIPERL
9f589e47 2436S |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 2437# endif
94bdecf9
JH
2438#endif
2439
43869a0c 2440#if defined(PERL_IN_PP_C)
9f589e47
KW
2441S |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
2442S |OP* |do_delete_local
2443SR |SV* |refto |NN SV* sv
94bdecf9 2444#endif
43869a0c 2445#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 2446: Used in pp_hot.c
5af72e99 2447pReo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 2448 |const svtype type|NN SV ***spp
45b29440 2449iTR |bool |lossless_NV_to_IV|const NV nv|NN IV * ivp
dc3c76f8 2450#endif
94bdecf9 2451
43869a0c 2452#if defined(PERL_IN_PP_PACK_C)
9f589e47 2453S |SSize_t|unpack_rec |NN struct tempsym* symptr|NN const char *s \
aec46f14 2454 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
9f589e47
KW
2455S |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
2456S |SV* |mul128 |NN SV *sv|U8 m
2457S |SSize_t|measure_struct |NN struct tempsym* symptr
2458S |bool |next_symbol |NN struct tempsym* symptr
2459SR |SV* |is_an_int |NN const char *s|STRLEN l
2460S |int |div128 |NN SV *pnum|NN bool *done
2461S |const char *|group_end |NN const char *patptr|NN const char *patend \
4048f010 2462 |char ender
9f589e47
KW
2463SR |const char *|get_num |NN const char *patptr|NN SSize_t *lenptr
2464TS |bool |need_utf8 |NN const char *pat|NN const char *patend
2465TS |char |first_symbol |NN const char *pat|NN const char *patend
2466SR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
2467STR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3a88beaa 2468 |const bool needs_swap
94bdecf9
JH
2469#endif
2470
43869a0c 2471#if defined(PERL_IN_PP_CTL_C)
c1a02cca 2472SdR |OP* |docatch |Perl_ppaddr_t firstpp
9f589e47 2473SR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
5db1eb8d 2474 |U32 flags|NN OP **opstack|NN OP **oplimit
9f589e47
KW
2475S |MAGIC *|doparseform |NN SV *sv
2476STR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
2477SR |I32 |dopoptoeval |I32 startingblock
2478SR |I32 |dopoptogivenfor|I32 startingblock
2479SR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
2480SR |I32 |dopoptoloop |I32 startingblock
2481SR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
2482SR |I32 |dopoptowhen |I32 startingblock
2483S |void |save_lines |NULLOK AV *array|NN SV *sv
2484S |bool |doeval_compile |U8 gimme \
f45b078d 2485 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
9f589e47 2486SR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 2487#ifndef PERL_DISABLE_PMC
9f589e47 2488SR |PerlIO *|doopen_pm |NN SV *name
75c20bac 2489#endif
45b29440 2490iRT |bool |path_is_searchable|NN const char *name
9f589e47
KW
2491SR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
2492SR |PMOP* |make_matcher |NN REGEXP* re
2493SR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
2494S |void |destroy_matcher|NN PMOP* matcher
2495S |OP* |do_smartmatch |NULLOK HV* seen_this \
7896dde7 2496 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
2497#endif
2498
43869a0c 2499#if defined(PERL_IN_PP_HOT_C)
9f589e47 2500S |void |do_oddball |NN SV **oddkey|NN SV **firstkey
7d6c333c 2501i |HV* |opmethod_stash |NN SV* meth
94bdecf9
JH
2502#endif
2503
43869a0c 2504#if defined(PERL_IN_PP_SORT_C)
9f589e47
KW
2505S |I32 |sv_ncmp |NN SV *const a|NN SV *const b
2506S |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
2507S |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
2508S |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
2509S |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
0ce92b9f 2510# ifdef USE_LOCALE_COLLATE
9f589e47 2511S |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
0ce92b9f 2512# endif
9f589e47
KW
2513S |I32 |sortcv |NN SV *const a|NN SV *const b
2514S |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
2515S |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
f0f5dc9d
AL
2516#endif
2517
43869a0c 2518#if defined(PERL_IN_PP_SYS_C)
9f589e47 2519S |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
94bdecf9 2520# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
9f589e47 2521SR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 2522# endif
9f589e47 2523S |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 2524#endif
3e0cb5de 2525p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2526 |NN SV *const sv|NN const MAGIC *const mg \
2527 |const U32 flags|U32 argc|...
94bdecf9 2528
8b9781c9
YO
2529#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2530Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2531 |NULLOK const RExC_state_t *pRExC_state
7b031478 2532Ep |int |re_printf |NN const char *fmt|...
8b9781c9 2533#endif
43869a0c 2534#if defined(PERL_IN_REGCOMP_C)
9f589e47 2535ES |regnode_offset|reg |NN RExC_state_t *pRExC_state \
4048f010 2536 |I32 paren|NN I32 *flagp|U32 depth
9f589e47 2537ES |regnode_offset|regnode_guts|NN RExC_state_t *pRExC_state \
f917fa87
KW
2538 |const U8 op \
2539 |const STRLEN extra_len \
2540 |NN const char* const name
9f589e47
KW
2541ES |void |change_engine_size|NN RExC_state_t *pRExC_state|const Ptrdiff_t size
2542ES |regnode_offset|reganode|NN RExC_state_t *pRExC_state|U8 op \
4048f010 2543 |U32 arg
9f589e47 2544ES |regnode_offset|reg2Lanode|NN RExC_state_t *pRExC_state \
9990d5ab
KW
2545 |const U8 op \
2546 |const U32 arg1 \
2547 |const I32 arg2
9f589e47 2548ES |regnode_offset|regatom |NN RExC_state_t *pRExC_state \
4048f010 2549 |NN I32 *flagp|U32 depth
9f589e47 2550ES |regnode_offset|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2551 |NN I32 *flagp|I32 first|U32 depth
9f589e47 2552ES |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2553 |NN regnode* const node \
9991ebf1 2554 |NULLOK SV* const cp_list \
4c404f26
KW
2555 |NULLOK SV* const runtime_defns \
2556 |NULLOK SV* const only_utf8_locale_list
9f589e47 2557ES |void |output_posix_warnings \
b7c50ab8 2558 |NN RExC_state_t *pRExC_state \
a6609ec9 2559 |NN AV* posix_warnings
9f589e47 2560ES |AV* |add_multi_match|NULLOK AV* multi_char_matches \
8f0cd35a 2561 |NN SV* multi_string \
a5454c46 2562 |const STRLEN cp_count
9f589e47 2563ES |regnode_offset|regclass|NN RExC_state_t *pRExC_state \
8316ead6 2564 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2565 |bool allow_multi_fold \
af631a26
KW
2566 |const bool silence_non_portable \
2567 |const bool strict \
46d34d0e 2568 |bool optimizable \
25f472ce 2569 |NULLOK SV** ret_invlist
9f589e47 2570ES |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
8954b91a 2571 |NN SV** invlist
f55b7b26 2572Ei |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \
6421685e
KW
2573 |NN I32 *flagp \
2574 |NN char * parse_start \
2575 |char ch
9f589e47
KW
2576ESTR |unsigned int|regex_set_precedence|const U8 my_operator
2577ES |regnode_offset|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2578 |NULLOK SV ** return_invlist \
f4f5fe57 2579 |NN I32 *flagp|U32 depth \
9d1a5160 2580 |NN char * const oregcomp_parse
9f589e47 2581ES |void |set_regex_pv |NN RExC_state_t *pRExC_state|NN REGEXP *Rx
a03e9135 2582#if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
9f589e47 2583ES |void |dump_regex_sets_structures \
a03e9135
KW
2584 |NN RExC_state_t *pRExC_state \
2585 |NN AV * stack \
2586 |const IV fence|NN AV * fence_stack
2587#endif
9f589e47
KW
2588ES |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2589ES |regnode_offset|reg_node|NN RExC_state_t *pRExC_state|U8 op
2590ES |regnode_offset|regpiece|NN RExC_state_t *pRExC_state \
4048f010 2591 |NN I32 *flagp|U32 depth
9f589e47 2592ES |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
f55b7b26 2593 |NULLOK regnode_offset* nodep \
b6d67071
KW
2594 |NULLOK UV *code_point_p \
2595 |NULLOK int* cp_count \
2596 |NN I32 *flagp \
fe0a3646 2597 |const bool strict \
b6d67071 2598 |const U32 depth
9f589e47 2599ES |void |reginsert |NN RExC_state_t *pRExC_state \
a9f8f0e7
KW
2600 |const U8 op \
2601 |const regnode_offset operand \
2602 |const U32 depth
3b2e5620 2603ESR |bool |regtail |NN RExC_state_t * pRExC_state \
f55b7b26
KW
2604 |NN const regnode_offset p \
2605 |NN const regnode_offset val \
6f2a89df 2606 |const U32 depth
9f589e47 2607ES |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2608 |U32 flags
9f589e47 2609ES |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2610 |NN regnode *scan|NN UV *min_subtract \
fb29cc72 2611 |NN bool *unfolded_multi_char \
f758bddf 2612 |U32 flags|NULLOK regnode *val|U32 depth
45b29440 2613EiT |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
9f589e47
KW
2614ES |void |nextchar |NN RExC_state_t *pRExC_state
2615ES |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
3e699fa0
KW
2616 |NN char ** p \
2617 |const bool force_to_xmod
45b29440 2618EiT |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
9f589e47 2619ES |void |scan_commit |NN const RExC_state_t *pRExC_state \
09b2b2e6
KW
2620 |NN struct scan_data_t *data \
2621 |NN SSize_t *minlenp \
2622 |int is_inf
9f589e47
KW
2623ES |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
2624ES |void |ssc_anything |NN regnode_ssc *ssc
2625ESRT |int |ssc_is_anything|NN const regnode_ssc *ssc
2626ES |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2627 |NN regnode_ssc *ssc
9f589e47 2628ESRT |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
fb38762f 2629 |NN const regnode_ssc *ssc
9f589e47 2630ES |void |ssc_and |NN const RExC_state_t *pRExC_state \
1ca93ef1 2631 |NN regnode_ssc *ssc \
7dcac5f6 2632 |NN const regnode_charclass *and_with
9f589e47 2633ES |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2634 |NN regnode_ssc *ssc \
7dcac5f6 2635 |NN const regnode_charclass *or_with
9f589e47 2636ES |SV* |get_ANYOF_cp_list_for_ssc \
fb38762f 2637 |NN const RExC_state_t *pRExC_state \
5c0f85ef 2638 |NN const regnode_charclass* const node
fb38762f
KW
2639Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2640 |NN SV* const invlist|const bool invert_2nd
2641Ei |void |ssc_union |NN regnode_ssc *ssc \
2642 |NN SV* const invlist|const bool invert_2nd
2643Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2644 |UV const start|UV const end
2645Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2646 |UV const cp
45b29440 2647EiT |void |ssc_clear_locale|NN regnode_ssc *ssc
9f589e47 2648ETS |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
b35552de 2649 |NN const regnode_ssc * ssc
9f589e47 2650ES |void |ssc_finalize |NN RExC_state_t *pRExC_state \
fb38762f 2651 |NN regnode_ssc *ssc
9f589e47 2652ES |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2653 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2654 |NN SSize_t *deltap|NN regnode *last \
4048f010 2655 |NULLOK struct scan_data_t *data \
09a65838 2656 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2657 |NULLOK regnode_ssc *and_withp \
a3621e74 2658 |U32 flags|U32 depth
9f589e47
KW
2659ESR |SV * |get_ANYOFM_contents|NN const regnode * n
2660ESRT |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2661 |NN const char* const s|const U32 n
9f589e47
KW
2662rS |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
2663ES |int |handle_possible_posix \
46d34d0e
KW
2664 |NN RExC_state_t *pRExC_state \
2665 |NN const char* const s \
2666 |NULLOK char ** updated_parse_ptr \
b7c50ab8
KW
2667 |NULLOK AV** posix_warnings \
2668 |const bool check_only
9f589e47 2669ES |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2670 |NN regnode *startbranch|NN regnode *first \
2671 |NN regnode *last|NN regnode *tail \
786e8c11 2672 |U32 word_count|U32 flags|U32 depth
9f589e47 2673ES |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
615a2e7f 2674 |NN regnode *source|U32 depth
9f589e47
KW
2675ETSR |const char *|cntrl_to_mnemonic|const U8 c
2676ETSR |int |edit_distance |NN const UV *src \
c6871b76
KW
2677 |NN const UV *tgt \
2678 |const STRLEN x \
2679 |const STRLEN y \
2680 |const SSize_t maxDistance
73b95840
KW
2681EpX |SV * |parse_uniprop_string|NN const char * const name \
2682 |const Size_t name_len \
2683 |const bool is_utf8 \
2684 |const bool to_fold \
2685 |const bool runtime \
62286d58 2686 |const bool deferrable \
73b95840
KW
2687 |NN bool * user_defined_ptr \
2688 |NN SV * msg \
2689 |const STRLEN level
2690EXp |SV * |handle_user_defined_property|NN const char * name \
2691 |const STRLEN name_len \
2692 |const bool is_utf8 \
2693 |const bool to_fold \
2694 |const bool runtime \
62286d58 2695 |const bool deferrable \
73b95840
KW
2696 |NN SV* contents \
2697 |NN bool *user_defined_ptr \
2698 |NN SV * msg \
2699 |const STRLEN level
3dab1dad 2700# ifdef DEBUGGING
7b031478 2701Ep |int |re_indentf |NN const char *fmt|U32 depth|...
9f589e47
KW
2702ES |void |regdump_intflags|NULLOK const char *lead| const U32 flags
2703ES |void |regdump_extflags|NULLOK const char *lead| const U32 flags
2704ES |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
3dab1dad 2705 |NN const regnode *node \
786e8c11
YO
2706 |NULLOK const regnode *last \
2707 |NULLOK const regnode *plast \
2708 |NN SV* sv|I32 indent|U32 depth
9f589e47
KW
2709ES |void |put_code_point |NN SV* sv|UV c
2710ES |bool |put_charclass_bitmap_innards|NN SV* sv \
06a83acd 2711 |NULLOK char* bitmap \
b77aba85
KW
2712 |NULLOK SV* nonbitmap_invlist \
2713 |NULLOK SV* only_utf8_locale_invlist\
753b2c6a
KW
2714 |NULLOK const regnode * const node \
2715 |const bool force_as_is_display
9f589e47 2716ES |SV* |put_charclass_bitmap_innards_common \
b77aba85
KW
2717 |NN SV* invlist \
2718 |NULLOK SV* posixes \
2719 |NULLOK SV* only_utf8 \
2720 |NULLOK SV* not_utf8 \
2721 |NULLOK SV* only_utf8_locale \
2722 |const bool invert
9f589e47 2723ES |void |put_charclass_bitmap_innards_invlist \
b77aba85
KW
2724 |NN SV *sv \
2725 |NN SV* invlist
9f589e47 2726ES |void |put_range |NN SV* sv|UV start|const UV end \
e053ac11 2727 |const bool allow_literals
9f589e47 2728ES |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2729 |NULLOK HV* widecharmap|NN AV *revcharmap\
2730 |U32 depth
9f589e47 2731ES |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2732 |NULLOK HV* widecharmap|NN AV *revcharmap\
2733 |U32 next_alloc|U32 depth
9f589e47 2734ES |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2735 |NULLOK HV* widecharmap|NN AV *revcharmap\
2736 |U32 next_alloc|U32 depth
3b2e5620 2737ESR |bool |regtail_study |NN RExC_state_t *pRExC_state \
f55b7b26 2738 |NN regnode_offset p|NN const regnode_offset val|U32 depth
3dab1dad 2739# endif
94bdecf9
JH
2740#endif
2741
34aeb2e9 2742#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
09232555 2743EXRp |bool |isFOO_lc |const U8 classnum|const U8 character
34aeb2e9 2744#endif
94749a5e
KW
2745
2746#if defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
2747ERp |bool |_is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *strend|const UV cp
2748#endif
2749
34aeb2e9 2750#if defined(PERL_IN_REGEXEC_C)
9f589e47
KW
2751ERS |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character|NN const U8* e
2752ERTS |U8 * |find_next_masked|NN U8 * s \
2b1f9c71 2753 |NN const U8 * send \
2813d4ad 2754 |const U8 byte|const U8 mask
9f589e47
KW
2755ERTS |U8 *|find_span_end |NN U8* s|NN const U8 * send|const U8 span_byte
2756ERTS |U8 *|find_span_end_mask|NN U8 * s|NN const U8 * send \
070e8b2e 2757 |const U8 span_byte|const U8 mask
9f589e47
KW
2758ERS |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
2759WERS |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b 2760 |NN const regnode *p \
8019f582 2761 |NN char *loceol \
02d5137b 2762 |NN regmatch_info *const reginfo \
21553840 2763 |I32 max
9f589e47
KW
2764ERS |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
2765ERS |bool |reginclass |NULLOK regexp * const prog \
3db24e1e
KW
2766 |NN const regnode * const n \
2767 |NN const U8 * const p \
2768 |NN const U8 * const p_end \
635cd5d4 2769 |bool const utf8_target
9f589e47 2770WES |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
21553840 2771 |U32 maxopenparen
9f589e47
KW
2772WES |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p
2773WES |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p
2774ERST |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
2775ERST |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2776 |NN const U8 *rlim
9f589e47
KW
2777ERST |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
2778ERS |char* |find_byclass |NN regexp * prog|NN const regnode *c \
984e6dd1 2779 |NN char *s|NN const char *strend \
f9176b44 2780 |NULLOK regmatch_info *reginfo
9f589e47
KW
2781ES |void |to_utf8_substr |NN regexp * prog
2782ES |bool |to_byte_substr |NN regexp * prog
2783ERST |I32 |reg_check_named_buff_matched |NN const regexp *rex \
4048f010 2784 |NN const regnode *scan
9f589e47 2785ESR |bool |isGCB |const GCB_enum before \
b0e24409
KW
2786 |const GCB_enum after \
2787 |NN const U8 * const strbeg \
2788 |NN const U8 * const curpos \
2789 |const bool utf8_target
9f589e47 2790ESR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
b0e24409
KW
2791 |NN U8 ** curpos \
2792 |const bool utf8_target
9f589e47 2793ESR |bool |isLB |LB_enum before \
6b659339
KW
2794 |LB_enum after \
2795 |NN const U8 * const strbeg \
2796 |NN const U8 * const curpos \
2797 |NN const U8 * const strend \
2798 |const bool utf8_target
9f589e47 2799ESR |LB_enum|advance_one_LB |NN U8 ** curpos \
6b659339
KW
2800 |NN const U8 * const strend \
2801 |const bool utf8_target
9f589e47 2802ESR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
6b659339
KW
2803 |NN U8 ** curpos \
2804 |const bool utf8_target
9f589e47 2805ESR |bool |isSB |SB_enum before \
85e5f08b 2806 |SB_enum after \
06ae2722
KW
2807 |NN const U8 * const strbeg \
2808 |NN const U8 * const curpos \
ae3bb8ea
KW
2809 |NN const U8 * const strend \
2810 |const bool utf8_target
9f589e47 2811ESR |SB_enum|advance_one_SB |NN U8 ** curpos \
06ae2722
KW
2812 |NN const U8 * const strend \
2813 |const bool utf8_target
9f589e47 2814ESR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
ae3bb8ea
KW
2815 |NN U8 ** curpos \
2816 |const bool utf8_target
9f589e47 2817ESR |bool |isWB |WB_enum previous \
85e5f08b
KW
2818 |WB_enum before \
2819 |WB_enum after \
ae3bb8ea
KW
2820 |NN const U8 * const strbeg \
2821 |NN const U8 * const curpos \
2822 |NN const U8 * const strend \
2823 |const bool utf8_target
9f589e47 2824ESR |WB_enum|advance_one_WB |NN U8 ** curpos \
06ae2722 2825 |NN const U8 * const strend \
4370fbb5
KW
2826 |const bool utf8_target \
2827 |const bool skip_Extend_Format
9f589e47 2828ESR |WB_enum|backup_one_WB |NN WB_enum * previous \
06ae2722
KW
2829 |NN const U8 * const strbeg \
2830 |NN U8 ** curpos \
2831 |const bool utf8_target
45b29440 2832EiT |I32 |foldEQ_latin1_s2_folded|NN const char* a|NN const char* b|I32 len
07be1b83 2833# ifdef DEBUGGING
9f589e47 2834ES |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
389f4c1e 2835 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
9f589e47 2836ES |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
efd26800
NC
2837 |NN const char *start|NN const char *end\
2838 |NN const char *blurb
cb41e5d6 2839
7b031478 2840Ep |int |re_exec_indentf |NN const char *fmt|U32 depth|...
07be1b83 2841# endif
94bdecf9
JH
2842#endif
2843
43869a0c 2844#if defined(PERL_IN_DUMP_C)
9f589e47
KW
2845S |CV* |deb_curcv |I32 ix
2846S |void |debprof |NN const OP *o
2847S |UV |sequence_num |NULLOK const OP *o
2848S |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2849#endif
2850
43869a0c 2851#if defined(PERL_IN_SCOPE_C)
9f589e47 2852S |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2853#endif
2854
4c74a7df 2855#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2856: Used in gv.c
2b021c53 2857po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2858#endif
2859
43869a0c 2860#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2861: Used in hv.c and mg.c
e4aeb12f 2862pox |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2863#endif
2864
579333ee
FC
2865#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2866pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2867 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 2868 |SSize_t aindex|int subscript_type
579333ee
FC
2869#endif
2870
4c74a7df 2871pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2872#if defined(PERL_IN_SV_C)
45b29440 2873TiR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2874i |void |sv_unglob |NN SV *const sv|U32 flags
9f589e47
KW
2875S |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
2876S |void |not_a_number |NN SV *const sv
2877S |void |not_incrementable |NN SV *const sv
2878S |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2879# ifdef DEBUGGING
9f589e47 2880S |void |del_sv |NN SV *p
94bdecf9
JH
2881# endif
2882# if !defined(NV_PRESERVES_UV)
47031da6 2883# ifdef DEBUGGING
9f589e47 2884S |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2885# else
9f589e47 2886S |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2887# endif
94bdecf9 2888# endif
9f589e47
KW
2889SR |STRLEN |expect_number |NN const char **const pattern
2890ST |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2891 |NN const U8 *const send|NN STRLEN *const uoffset \
2892 |NN bool *const at_end
9f589e47 2893ST |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2894 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
9f589e47 2895S |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2896 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2897 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
9f589e47 2898S |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ec49a12c 2899 |const STRLEN ulen
9f589e47 2900S |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ac1e9476 2901 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
9f589e47 2902S |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2903 |NN const U8 *end|STRLEN endu
9f589e47 2904S |void |assert_uft8_cache_coherent|NN const char *const func \
9df83ffd 2905 |STRLEN from_cache|STRLEN real|NN SV *const sv
9f589e47
KW
2906ST |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
2907S |SV * |more_sv
2908S |bool |sv_2iuv_common |NN SV *const sv
2909S |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
7bc54cea 2910 |const int dtype
9f589e47
KW
2911SRT |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2912S |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2913#endif
2914
ecf9cdab
NC
2915: Used in sv.c and hv.c
2916po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2917 |const size_t arena_size
25c7fb78
KW
2918EXpR |SV* |get_and_check_backslash_N_name|NN const char* s \
2919 |NN const char* const e \
2920 |const bool is_utf8 \
2921 |NN const char** error_msg
ecf9cdab 2922
9a1ae847 2923: For use ONLY in B::Hooks::Parser, by special dispensation
e4aeb12f 2924EXpxR |char* |scan_str |NN char *start|int keep_quoted \
aabfeadc
KW
2925 |int keep_delims|int re_reparse \
2926 |NULLOK char **delimp
e4aeb12f 2927EXpx |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
aabfeadc 2928 |int allow_package|NN STRLEN *slp
e4aeb12f 2929EXpxR |char* |skipspace_flags|NN char *s|U32 flags
43869a0c 2930#if defined(PERL_IN_TOKE_C)
9f589e47
KW
2931S |void |check_uni
2932S |void |force_next |I32 type
2933S |char* |force_version |NN char *s|int guessing
2934S |char* |force_strict_version |NN char *s
2935S |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2936 |int allow_pack
9f589e47
KW
2937S |SV* |tokeq |NN SV *sv
2938SR |char* |scan_const |NN char *start
2939SR |SV* |get_and_check_backslash_N_name_wrapper|NN const char* s \
6f613c73 2940 |NN const char* const e
9f589e47
KW
2941SR |char* |scan_formline |NN char *s
2942SR |char* |scan_heredoc |NN char *s
2943S |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2944 |STRLEN destlen|I32 ck_uni
9f589e47
KW
2945SR |char* |scan_inputsymbol|NN char *start
2946SR |char* |scan_pat |NN char *start|I32 type
2947SR |char* |scan_subst |NN char *start
2948SR |char* |scan_trans |NN char *start
2949S |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2950 |NULLOK const char *const buf|STRLEN len
9f589e47 2951SR |char* |swallow_bom |NN U8 *s
a28af015 2952#ifndef PERL_NO_UTF16_FILTER
9f589e47
KW
2953S |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
2954S |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2955#endif
9f589e47 2956S |void |checkcomma |NN const char *s|NN const char *name \
c94115d8 2957 |NN const char *what
9f589e47
KW
2958S |void |force_ident |NN const char *s|int kind
2959S |void |force_ident_maybe_lex|char pit
2960S |void |incline |NN const char *s|NN const char *end
2961S |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
2962S |int |intuit_more |NN char *s|NN char *e
2963S |I32 |lop |I32 f|U8 x|NN char *s
2964rS |void |missingterm |NULLOK char *s|STRLEN len
2965S |void |no_op |NN const char *const what|NULLOK char *s
2966S |int |pending_ident
2967SR |I32 |sublex_done
2968SR |I32 |sublex_push
2969SR |I32 |sublex_start
2970SR |char * |filter_gets |NN SV *sv|STRLEN append
2971SR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
2972SR |char * |tokenize_use |int is_use|NN char *s
2973So |SV* |new_constant |NULLOK const char *s|STRLEN len \
eb0d8d16 2974 |NN const char *key|STRLEN keylen|NN SV *sv \
164e423c
KW
2975 |NULLOK SV *pv|NULLOK const char *type \
2976 |STRLEN typelen \
2977 |NULLOK const char ** error_msg
9f589e47
KW
2978S |int |ao |int toketype
2979S |void|parse_ident|NN char **s|NN char **d \
07f72646 2980 |NN char * const e|int allow_package \
2cb35ee0
FC
2981 |bool is_utf8|bool check_dollar \
2982 |bool tick_warn
94bdecf9 2983# if defined(PERL_CR_FILTER)
9f589e47
KW
2984S |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
2985S |void |strip_return |NN SV *sv
94bdecf9 2986# endif
c445ea15 2987# if defined(DEBUGGING)
9f589e47
KW
2988S |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
2989Sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2990# endif
94bdecf9 2991#endif
c1a02cca 2992EdXxp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn \
5783dc51 2993 |bool curstash
94bdecf9 2994
43869a0c 2995#if defined(PERL_IN_UNIVERSAL_C)
9f589e47 2996S |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2997 |STRLEN len|U32 flags
94bdecf9
JH
2998#endif
2999
f7416781 3000#if defined(PERL_IN_LOCALE_C)
d36adde0 3001# ifdef USE_LOCALE
9f589e47
KW
3002ST |const char*|category_name |const int category
3003S |const char*|switch_category_locale_to_template|const int switch_category|const int template_category|NULLOK const char * template_locale
3004S |void |restore_switched_locale|const int category|NULLOK const char * const original_locale
d36adde0 3005# endif
f61748ac 3006# ifdef HAS_NL_LANGINFO
9f589e47 3007ST |const char*|my_nl_langinfo|const nl_item item|bool toggle
f61748ac 3008# else
9f589e47 3009ST |const char*|my_nl_langinfo|const int item|bool toggle
f61748ac 3010# endif
45b29440 3011iTR |const char *|save_to_buffer|NULLOK const char * string \
f7416781
KW
3012 |NULLOK char **buf \
3013 |NN Size_t *buf_size \
3014 |const Size_t offset
3015# if defined(USE_LOCALE)
9f589e47
KW
3016S |char* |stdize_locale |NN char* locs
3017S |void |new_collate |NULLOK const char* newcoll
3018S |void |new_ctype |NN const char* newctype
3019S |void |set_numeric_radix|const bool use_locale
3020S |void |new_numeric |NULLOK const char* newnum
e9bc6d6b 3021# ifdef USE_POSIX_2008_LOCALE
9f589e47 3022ST |const char*|emulate_setlocale|const int category \
e9bc6d6b
KW
3023 |NULLOK const char* locale \
3024 |unsigned int index \
3025 |const bool is_index_valid
3026# endif
f7416781 3027# ifdef WIN32
9f589e47 3028S |char* |win32_setlocale|int category|NULLOK const char* locale
f7416781
KW
3029# endif
3030# ifdef DEBUGGING
9f589e47 3031S |void |print_collxfrm_input_and_return \
c7202dee
KW
3032 |NN const char * const s \
3033 |NN const char * const e \
3034 |NULLOK const STRLEN * const xlen \
3035 |const bool is_utf8
9f589e47 3036S |void |print_bytes_for_locale |NN const char * const s \
9c8a6dc2
KW
3037 |NN const char * const e \
3038 |const bool is_utf8
9f589e47 3039STR |char * |setlocale_debug_string |const int category \
a4f00dcc
KW
3040 |NULLOK const char* const locale \
3041 |NULLOK const char* const retval
f7416781
KW
3042# endif
3043# endif
9f162648
JH
3044#endif
3045
a8f4b0c6
KW
3046#if defined(USE_LOCALE) \
3047 && ( defined(PERL_IN_LOCALE_C) \
3048 || defined(PERL_IN_MG_C) \
472be41b
KW
3049 || defined (PERL_EXT_POSIX) \
3050 || defined (PERL_EXT_LANGINFO))
09232555 3051Cp |bool |_is_cur_LC_category_utf8|int category
94bdecf9
JH
3052#endif
3053
5d1187d1 3054
43869a0c 3055#if defined(PERL_IN_UTIL_C)
9f589e47
KW
3056S |SV* |mess_alloc
3057S |SV * |with_queued_errors|NN SV *ex
3058S |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 3059#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9f589e47 3060ST |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 3061 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
3062 |Malloc_t oldalloc|Malloc_t newalloc \
3063 |NN const char *filename|const int linenumber \
3064 |NN const char *funcname
3065#endif
94bdecf9
JH
3066#endif
3067
6fb87544 3068#if defined(PERL_MEM_LOG)
45b29440
KW
3069pT |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
3070pT |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
3071pT |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
6fb87544
MH
3072#endif
3073
43869a0c 3074#if defined(PERL_IN_UTF8_C)
9f589e47 3075SR |HV * |new_msg_hv |NN const char * const message \
bb07812e
KW
3076 |U32 categories \
3077 |U32 flag
09f3c061 3078SR |UV |check_locale_boundary_crossing \
ab0b796c
KW
3079 |NN const U8* const p \
3080 |const UV result \
3081 |NN U8* const ustrp \
3082 |NN STRLEN *lenp
34aeb2e9 3083iR |bool |is_utf8_common |NN const U8 *const p \
dd1a3ba7 3084 |NN const U8 *const e \
34aeb2e9 3085 |NULLOK SV* const invlist
9f589e47 3086SR |SV* |swatch_get |NN SV* swash|UV start|UV span
09f3c061 3087SR |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \