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