Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_callback.h
$ cat -n /usr/include/apache2/modperl_callback.h 1 /* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef MODPERL_CALLBACK_H 18 #define MODPERL_CALLBACK_H 19 20 /* alias some hook names to match Perl*Handler names */ 21 #define ap_hook_trans ap_hook_translate_name 22 #define ap_hook_access ap_hook_access_checker 23 #define ap_hook_authen ap_hook_check_user_id 24 #define ap_hook_authz ap_hook_auth_checker 25 #define ap_hook_type ap_hook_type_checker 26 #define ap_hook_fixup ap_hook_fixups 27 #define ap_hook_log ap_hook_log_transaction 28 29 #define modperl_callback_current_callback_sv \ 30 get_sv("Apache2::__CurrentCallback", TRUE) 31 32 #define modperl_callback_current_callback_set(desc) \ 33 sv_setpv(modperl_callback_current_callback_sv, desc) 34 35 #define modperl_callback_current_callback_get() \ 36 SvPVX(modperl_callback_current_callback_sv) 37 38 int modperl_callback(pTHX_ modperl_handler_t *handler, apr_pool_t *p, 39 request_rec *r, server_rec *s, AV *args); 40 41 int modperl_callback_run_handlers(int idx, int type, 42 request_rec *r, conn_rec *c, server_rec *s, 43 apr_pool_t *pconf, 44 apr_pool_t *plog, 45 apr_pool_t *ptemp, 46 modperl_hook_run_mode_e run_mode); 47 48 int modperl_callback_per_dir(int idx, request_rec *r, 49 modperl_hook_run_mode_e run_mode); 50 51 int modperl_callback_per_srv(int idx, request_rec *r, 52 modperl_hook_run_mode_e run_mode); 53 54 int modperl_callback_connection(int idx, conn_rec *c, 55 modperl_hook_run_mode_e run_mode); 56 57 int modperl_callback_pre_connection(int idx, conn_rec *c, void *csd, 58 modperl_hook_run_mode_e run_mode); 59 60 void modperl_callback_process(int idx, apr_pool_t *p, server_rec *s, 61 modperl_hook_run_mode_e run_mode); 62 63 int modperl_callback_files(int idx, 64 apr_pool_t *pconf, apr_pool_t *plog, 65 apr_pool_t *ptemp, server_rec *s, 66 modperl_hook_run_mode_e run_mode); 67 68 #endif /* MODPERL_CALLBACK_H */ 69 70 /* 71 * Local Variables: 72 * c-basic-offset: 4 73 * indent-tabs-mode: nil 74 * End: 75 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™