• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

ink_error.h

Go to the documentation of this file.
00001 /** @file
00002 
00003   A brief file description
00004 
00005   @section license License
00006 
00007   Licensed to the Apache Software Foundation (ASF) under one
00008   or more contributor license agreements.  See the NOTICE file
00009   distributed with this work for additional information
00010   regarding copyright ownership.  The ASF licenses this file
00011   to you under the Apache License, Version 2.0 (the
00012   "License"); you may not use this file except in compliance
00013   with the License.  You may obtain a copy of the License at
00014 
00015       http://www.apache.org/licenses/LICENSE-2.0
00016 
00017   Unless required by applicable law or agreed to in writing, software
00018   distributed under the License is distributed on an "AS IS" BASIS,
00019   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00020   See the License for the specific language governing permissions and
00021   limitations under the License.
00022  */
00023 
00024 /****************************************************************************
00025 
00026   ink_error.h
00027 
00028   Error reporting routines for libts
00029 
00030  ****************************************************************************/
00031 
00032 #ifndef _ink_error_h_
00033 #define _ink_error_h_
00034 
00035 #include <stdarg.h>
00036 #include "ink_platform.h"
00037 
00038 #include "ink_apidefs.h"
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif                          /* __cplusplus */
00043 
00044 inkcoreapi void ink_fatal_va(int return_code, const char *message_format, va_list ap) TS_NORETURN;
00045 void ink_fatal(int return_code, const char *message_format, ...) TS_PRINTFLIKE(2, 3) TS_NORETURN;
00046 void ink_pfatal(int return_code, const char *message_format, ...) TS_PRINTFLIKE(2, 3) TS_NORETURN;
00047 void ink_warning(const char *message_format, ...) TS_PRINTFLIKE(1, 2);
00048 void ink_pwarning(const char *message_format, ...) TS_PRINTFLIKE(1, 2);
00049 void ink_notice(const char *message_format, ...) TS_PRINTFLIKE(1, 2);
00050 void ink_eprintf(const char *message_format, ...) TS_PRINTFLIKE(1, 2);
00051 void ink_error(const char *message_format, ...) TS_PRINTFLIKE(1, 2);
00052 void ink_dprintf(int debug_level, const char *message_format, ...) TS_PRINTFLIKE(2, 3);
00053 void ink_fatal_die(const char *message_format, ...) TS_PRINTFLIKE(1, 2) TS_NORETURN;
00054 
00055 void ink_die_die_die(int retval) TS_NORETURN;
00056 int ink_set_dprintf_level(int debug_level);
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif                          /* __cplusplus */
00061 
00062 #endif

Generated by  doxygen 1.7.1