Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_common_log.h
$ cat -n /usr/include/apache2/modperl_common_log.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_COMMON_LOG_H 18 #define MODPERL_COMMON_LOG_H 19 20 #define MP_STRINGIFY(n) MP_STRINGIFY_HELPER(n) 21 #define MP_STRINGIFY_HELPER(n) #n 22 23 # if defined(__GNUC__) 24 # if (__GNUC__ > 2) 25 # define MP_FUNC __func__ 26 # else 27 # define MP_FUNC __FUNCTION__ 28 # endif 29 # else 30 # define MP_FUNC __FILE__ ":" MP_STRINGIFY(__LINE__) 31 # endif 32 33 #include "modperl_apr_includes.h" 34 #include "apr_lib.h" 35 #include "modperl_trace.h" 36 37 #ifdef _PTHREAD_H 38 #define modperl_thread_self() pthread_self() 39 #else 40 #define modperl_thread_self() 0 41 #endif 42 43 #define MP_TIDF \ 44 (unsigned long)modperl_thread_self() 45 46 void modperl_trace_logfile_set(apr_file_t *logfile_new); 47 48 unsigned long modperl_debug_level(void); 49 50 #ifdef WIN32 51 #define MP_debug_level modperl_debug_level() 52 #else 53 extern unsigned long MP_debug_level; 54 #endif 55 56 void modperl_trace(const char *func, const char *fmt, ...); 57 58 void modperl_trace_level_set(apr_file_t *logfile, const char *level); 59 60 #endif /* MODPERL_COMMON_LOG_H */ 61 62 /* 63 * Local Variables: 64 * c-basic-offset: 4 65 * indent-tabs-mode: nil 66 * End: 67 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™