~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy-updates

« back to all changes in this revision

Viewing changes to docs/api/Apache/Module.pod

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2004-08-19 06:23:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040819062348-jxl4koqbtvgm8v2t
Tags: 1.99.14-4
Remove the LFS CFLAGS, and build-dep against apache2-*-dev (>= 2.0.50-10)
as we're backing out of the apache2/apr ABI transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=head1 NAME
 
2
 
 
3
Apache::Module - Perl API for creating and working with Apache modules
 
4
 
 
5
 
 
6
 
 
7
 
 
8
=head1 Synopsis
 
9
 
 
10
  use Apache::Module ();
 
11
 
 
12
META: to be completed
 
13
 
 
14
 
 
15
 
 
16
 
 
17
=head1 Description
 
18
 
 
19
META: to be completed
 
20
 
 
21
See L<Apache Server Configuration Customization in
 
22
Perl|docs::2.0::user::config::custom>.
 
23
 
 
24
 
 
25
=head1 API
 
26
 
 
27
C<Apache::Module> provides the following functions and/or methods:
 
28
 
 
29
 
 
30
 
 
31
 
 
32
=head2 C<find_linked_module>
 
33
 
 
34
META: Autogenerated - needs to be reviewed/completed
 
35
 
 
36
Find a module based on the name of the module
 
37
 
 
38
  $ret = find_linked_module($name);
 
39
 
 
40
=over 4
 
41
 
 
42
=item obj: C<$name> (string)
 
43
 
 
44
the name of the module
 
45
 
 
46
=item ret: C<$ret> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
47
 
 
48
the module structure if found, NULL otherwise
 
49
 
 
50
=back
 
51
 
 
52
 
 
53
 
 
54
 
 
55
 
 
56
=head2 C<find_module_name>
 
57
 
 
58
META: Autogenerated - needs to be reviewed/completed
 
59
 
 
60
Find the name of the specified module
 
61
 
 
62
  $ret = $module->find_module_name();
 
63
 
 
64
=over 4
 
65
 
 
66
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
67
 
 
68
The module to get the name for
 
69
 
 
70
=item ret: C<$ret> (string)
 
71
 
 
72
the name of the module
 
73
 
 
74
=back
 
75
 
 
76
 
 
77
 
 
78
 
 
79
 
 
80
=head2 C<remove_loaded_module>
 
81
 
 
82
META: Autogenerated - needs to be reviewed/completed
 
83
 
 
84
Remove a module from the chained modules list and the list of loaded
 
85
modules
 
86
 
 
87
  $module->remove_loaded_module();
 
88
 
 
89
=over 4
 
90
 
 
91
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
92
 
 
93
 
 
94
 
 
95
=item ret: no return value
 
96
 
 
97
=back
 
98
 
 
99
 
 
100
 
 
101
 
 
102
 
 
103
=head2 C<remove_module>
 
104
 
 
105
META: Autogenerated - needs to be reviewed/completed
 
106
 
 
107
Remove a module from the server.  There are some caveats:
 
108
when the module is removed, its slot is lost so all the current
 
109
per-dir and per-server configurations are invalid. So we should
 
110
only ever call this function when you are invalidating almost
 
111
all our current data. I.e. when doing a restart.
 
112
 
 
113
  $module->remove_module();
 
114
 
 
115
=over 4
 
116
 
 
117
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
118
 
 
119
the module structure of the module to remove
 
120
 
 
121
=item ret: no return value
 
122
 
 
123
=back
 
124
 
 
125
 
 
126
 
 
127
 
 
128
 
 
129
=head2 C<top_module>
 
130
 
 
131
META: Autogenerated - needs to be reviewed/completed
 
132
 
 
133
 
 
134
 
 
135
  $ret = Apache::Module->top_module();
 
136
 
 
137
=over 4
 
138
 
 
139
=item obj: C<Apache::Module> (class name)
 
140
 
 
141
=item ret: C<$ret> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
142
 
 
143
=back
 
144
 
 
145
 
 
146
 
 
147
 
 
148
 
 
149
=head2 C<version>
 
150
 
 
151
META: Autogenerated - needs to be reviewed/completed
 
152
 
 
153
API version, *not* module version; check that module is
 
154
compatible with this version of the server.
 
155
 
 
156
  $version = $module->version();
 
157
 
 
158
=over 4
 
159
 
 
160
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
161
 
 
162
=item ret: C<$version> (integer)
 
163
 
 
164
=back
 
165
 
 
166
 
 
167
 
 
168
 
 
169
 
 
170
=head2 C<minor_version>
 
171
 
 
172
META: Autogenerated - needs to be reviewed/completed
 
173
 
 
174
API minor version. Provides API feature milestones. Not checked
 
175
during module init
 
176
 
 
177
  $minor_version = $module->minor_version();
 
178
 
 
179
=over 4
 
180
 
 
181
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
182
 
 
183
=item ret: C<$minor_version> (integer)
 
184
 
 
185
=back
 
186
 
 
187
 
 
188
 
 
189
 
 
190
 
 
191
=head2 C<module_index>
 
192
 
 
193
META: Autogenerated - needs to be reviewed/completed
 
194
 
 
195
Index to this modules structures in config vectors.
 
196
 
 
197
  $index = $module->module_index();
 
198
 
 
199
=over 4
 
200
 
 
201
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
202
 
 
203
=item ret: C<$index> (integer)
 
204
 
 
205
=back
 
206
 
 
207
 
 
208
 
 
209
 
 
210
 
 
211
=head2 C<name>
 
212
 
 
213
META: Autogenerated - needs to be reviewed/completed
 
214
 
 
215
The name of the module's C file
 
216
 
 
217
  $name = $module->name();
 
218
 
 
219
=over 4
 
220
 
 
221
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
222
 
 
223
=item ret: C<$name> (string)
 
224
 
 
225
=back
 
226
 
 
227
 
 
228
 
 
229
 
 
230
 
 
231
=head2 C<dynamic_load_handle>
 
232
 
 
233
META: Autogenerated - needs to be reviewed/completed
 
234
 
 
235
The handle for the DSO.  Internal use only
 
236
 
 
237
  $dl_handle = $module->dynamic_load_handle();
 
238
 
 
239
=over 4
 
240
 
 
241
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
242
 
 
243
=item ret: C<$dl_handle> (SCALAR)
 
244
 
 
245
=back
 
246
 
 
247
 
 
248
 
 
249
 
 
250
 
 
251
=head2 C<next>
 
252
 
 
253
META: Autogenerated - needs to be reviewed/completed
 
254
 
 
255
A pointer to the next module in the list
 
256
 
 
257
  $next_module = $module->next();
 
258
 
 
259
=over 4
 
260
 
 
261
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
262
 
 
263
=item ret: C<$next_module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
264
 
 
265
=back
 
266
 
 
267
 
 
268
 
 
269
 
 
270
 
 
271
=head2 C<cmds>
 
272
 
 
273
META: Autogenerated - needs to be reviewed/completed
 
274
 
 
275
A command_rec table that describes all of the directives this module
 
276
defines.
 
277
 
 
278
  $cmd_rec = $module->cmds();
 
279
 
 
280
=over 4
 
281
 
 
282
=item obj: C<$module> (C<L<Apache::Module|docs::2.0::api::Apache::Module>>)
 
283
 
 
284
=item ret: C<$cmd_rec> (C<L<Apache::Command|docs::2.0::api::Apache::Command>>)
 
285
 
 
286
=back
 
287
 
 
288
 
 
289
 
 
290
 
 
291
=head1 See Also
 
292
 
 
293
L<mod_perl 2.0 documentation|docs::2.0::index>.
 
294
 
 
295
 
 
296
 
 
297
 
 
298
=head1 Copyright
 
299
 
 
300
mod_perl 2.0 and its core modules are copyrighted under
 
301
The Apache Software License, Version 1.1.
 
302
 
 
303
 
 
304
 
 
305
 
 
306
=head1 Authors
 
307
 
 
308
L<The mod_perl development team and numerous
 
309
contributors|about::contributors::people>.
 
310
 
 
311
=cut
 
312