• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • graphics API Reference
  • KDE Home
  • Contact Us
 

digikam

  • extragear
  • graphics
  • digikam
  • core
  • dplugins
  • generic
  • tools
  • mediaserver
  • upnpsdk
  • Neptune
  • Source
  • Core
Macros | Functions
NptResults.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NPT_CHECK(_x)
 
#define NPT_CHECK_LABEL(_x, label)
 
#define NPT_CHECK_POINTER(_p)
 
#define NPT_CHECK_POINTER_LABEL(_p, label)
 
#define NPT_ERROR_BASE   -20000
 
#define NPT_ERROR_BASE_ERRNO   (NPT_ERROR_BASE-2000)
 
#define NPT_ERROR_BASE_FILE   (NPT_ERROR_BASE-200)
 
#define NPT_ERROR_BASE_GENERAL   (NPT_ERROR_BASE-0)
 
#define NPT_ERROR_BASE_HTTP   (NPT_ERROR_BASE-800)
 
#define NPT_ERROR_BASE_INTERFACES   (NPT_ERROR_BASE-500)
 
#define NPT_ERROR_BASE_IO   (NPT_ERROR_BASE-300)
 
#define NPT_ERROR_BASE_LIST   (NPT_ERROR_BASE-100)
 
#define NPT_ERROR_BASE_SERIAL_PORT   (NPT_ERROR_BASE-1000)
 
#define NPT_ERROR_BASE_SOCKET   (NPT_ERROR_BASE-400)
 
#define NPT_ERROR_BASE_THREADS   (NPT_ERROR_BASE-900)
 
#define NPT_ERROR_BASE_TLS   (NPT_ERROR_BASE-1100)
 
#define NPT_ERROR_BASE_UNIX   (NPT_ERROR_BASE-700)
 
#define NPT_ERROR_BASE_XML   (NPT_ERROR_BASE-600)
 
#define NPT_ERROR_CANCELLED   (NPT_ERROR_BASE_GENERAL - 21)
 
#define NPT_ERROR_ERRNO(e)   (NPT_ERROR_BASE_ERRNO - (e))
 
#define NPT_ERROR_INTERNAL   (NPT_ERROR_BASE_GENERAL - 8)
 
#define NPT_ERROR_INTERRUPTED   (NPT_ERROR_BASE_GENERAL - 20)
 
#define NPT_ERROR_INVALID_FORMAT   (NPT_ERROR_BASE_GENERAL - 10)
 
#define NPT_ERROR_INVALID_PARAMETERS   (NPT_ERROR_BASE_GENERAL - 0)
 
#define NPT_ERROR_INVALID_STATE   (NPT_ERROR_BASE_GENERAL - 9)
 
#define NPT_ERROR_INVALID_SYNTAX   (NPT_ERROR_BASE_GENERAL - 11)
 
#define NPT_ERROR_NO_SUCH_CLASS   (NPT_ERROR_BASE_GENERAL - 6)
 
#define NPT_ERROR_NO_SUCH_ITEM   (NPT_ERROR_BASE_GENERAL - 5)
 
#define NPT_ERROR_NO_SUCH_NAME   (NPT_ERROR_BASE_GENERAL - 3)
 
#define NPT_ERROR_NO_SUCH_PROPERTY   (NPT_ERROR_BASE_GENERAL - 4)
 
#define NPT_ERROR_NOT_ENOUGH_SPACE   (NPT_ERROR_BASE_GENERAL - 19)
 
#define NPT_ERROR_NOT_IMPLEMENTED   (NPT_ERROR_BASE_GENERAL - 12)
 
#define NPT_ERROR_NOT_SUPPORTED   (NPT_ERROR_BASE_GENERAL - 13)
 
#define NPT_ERROR_OUT_OF_MEMORY   (NPT_ERROR_BASE_GENERAL - 2)
 
#define NPT_ERROR_OUT_OF_RANGE   (NPT_ERROR_BASE_GENERAL - 17)
 
#define NPT_ERROR_OUT_OF_RESOURCES   (NPT_ERROR_BASE_GENERAL - 18)
 
#define NPT_ERROR_OVERFLOW   (NPT_ERROR_BASE_GENERAL - 7)
 
#define NPT_ERROR_PERMISSION_DENIED   (NPT_ERROR_BASE_GENERAL - 1)
 
#define NPT_ERROR_TERMINATED   (NPT_ERROR_BASE_GENERAL - 16)
 
#define NPT_ERROR_TIMEOUT   (NPT_ERROR_BASE_GENERAL - 14)
 
#define NPT_ERROR_WOULD_BLOCK   (NPT_ERROR_BASE_GENERAL - 15)
 
#define NPT_FAILED(result)   ((result) != NPT_SUCCESS)
 
#define NPT_FAILURE   (-1)
 
#define NPT_SUCCEEDED(result)   ((result) == NPT_SUCCESS)
 
#define NPT_SUCCESS   0
 

Functions

const char * NPT_ResultText (int result)
 

Macro Definition Documentation

#define NPT_CHECK (   _x)
Value:
do { \
NPT_Result _result = (_x); \
if (_result != NPT_SUCCESS) { \
return _result; \
} \
} while(0)
NPT_SUCCESS
#define NPT_SUCCESS
Result indicating that the operation or call succeeded.
Definition: NptResults.h:104
NPT_Result
int NPT_Result
Definition: NptTypes.h:56

Definition at line 71 of file NptResults.h.

#define NPT_CHECK_LABEL (   _x,
  label 
)
Value:
do { \
NPT_Result _result = (_x); \
if (_result != NPT_SUCCESS) { \
goto label; \
} \
} while(0)
NPT_SUCCESS
#define NPT_SUCCESS
Result indicating that the operation or call succeeded.
Definition: NptResults.h:104
NPT_Result
int NPT_Result
Definition: NptTypes.h:56

Definition at line 82 of file NptResults.h.

#define NPT_CHECK_POINTER (   _p)
Value:
do { \
if ((_p) == NULL) return NPT_ERROR_INVALID_PARAMETERS; \
} while(0)
NPT_ERROR_INVALID_PARAMETERS
#define NPT_ERROR_INVALID_PARAMETERS
Definition: NptResults.h:128
NULL
#define NULL
Definition: NptConstants.h:39

Definition at line 78 of file NptResults.h.

#define NPT_CHECK_POINTER_LABEL (   _p,
  label 
)
Value:
do { \
if ((_p) == NULL) { \
goto label; \
} \
} while(0)
NULL
#define NULL
Definition: NptConstants.h:39

Definition at line 89 of file NptResults.h.

#define NPT_ERROR_BASE   -20000

Definition at line 110 of file NptResults.h.

#define NPT_ERROR_BASE_ERRNO   (NPT_ERROR_BASE-2000)

Definition at line 155 of file NptResults.h.

#define NPT_ERROR_BASE_FILE   (NPT_ERROR_BASE-200)

Definition at line 116 of file NptResults.h.

#define NPT_ERROR_BASE_GENERAL   (NPT_ERROR_BASE-0)

Definition at line 114 of file NptResults.h.

#define NPT_ERROR_BASE_HTTP   (NPT_ERROR_BASE-800)

Definition at line 122 of file NptResults.h.

#define NPT_ERROR_BASE_INTERFACES   (NPT_ERROR_BASE-500)

Definition at line 119 of file NptResults.h.

#define NPT_ERROR_BASE_IO   (NPT_ERROR_BASE-300)

Definition at line 117 of file NptResults.h.

#define NPT_ERROR_BASE_LIST   (NPT_ERROR_BASE-100)

Definition at line 115 of file NptResults.h.

#define NPT_ERROR_BASE_SERIAL_PORT   (NPT_ERROR_BASE-1000)

Definition at line 124 of file NptResults.h.

#define NPT_ERROR_BASE_SOCKET   (NPT_ERROR_BASE-400)

Definition at line 118 of file NptResults.h.

#define NPT_ERROR_BASE_THREADS   (NPT_ERROR_BASE-900)

Definition at line 123 of file NptResults.h.

#define NPT_ERROR_BASE_TLS   (NPT_ERROR_BASE-1100)

Definition at line 125 of file NptResults.h.

#define NPT_ERROR_BASE_UNIX   (NPT_ERROR_BASE-700)

Definition at line 121 of file NptResults.h.

#define NPT_ERROR_BASE_XML   (NPT_ERROR_BASE-600)

Definition at line 120 of file NptResults.h.

#define NPT_ERROR_CANCELLED   (NPT_ERROR_BASE_GENERAL - 21)

Definition at line 149 of file NptResults.h.

#define NPT_ERROR_ERRNO (   e)    (NPT_ERROR_BASE_ERRNO - (e))

Definition at line 156 of file NptResults.h.

#define NPT_ERROR_INTERNAL   (NPT_ERROR_BASE_GENERAL - 8)

Definition at line 136 of file NptResults.h.

#define NPT_ERROR_INTERRUPTED   (NPT_ERROR_BASE_GENERAL - 20)

Definition at line 148 of file NptResults.h.

#define NPT_ERROR_INVALID_FORMAT   (NPT_ERROR_BASE_GENERAL - 10)

Definition at line 138 of file NptResults.h.

#define NPT_ERROR_INVALID_PARAMETERS   (NPT_ERROR_BASE_GENERAL - 0)

Definition at line 128 of file NptResults.h.

#define NPT_ERROR_INVALID_STATE   (NPT_ERROR_BASE_GENERAL - 9)

Definition at line 137 of file NptResults.h.

#define NPT_ERROR_INVALID_SYNTAX   (NPT_ERROR_BASE_GENERAL - 11)

Definition at line 139 of file NptResults.h.

#define NPT_ERROR_NO_SUCH_CLASS   (NPT_ERROR_BASE_GENERAL - 6)

Definition at line 134 of file NptResults.h.

#define NPT_ERROR_NO_SUCH_ITEM   (NPT_ERROR_BASE_GENERAL - 5)

Definition at line 133 of file NptResults.h.

#define NPT_ERROR_NO_SUCH_NAME   (NPT_ERROR_BASE_GENERAL - 3)

Definition at line 131 of file NptResults.h.

#define NPT_ERROR_NO_SUCH_PROPERTY   (NPT_ERROR_BASE_GENERAL - 4)

Definition at line 132 of file NptResults.h.

#define NPT_ERROR_NOT_ENOUGH_SPACE   (NPT_ERROR_BASE_GENERAL - 19)

Definition at line 147 of file NptResults.h.

#define NPT_ERROR_NOT_IMPLEMENTED   (NPT_ERROR_BASE_GENERAL - 12)

Definition at line 140 of file NptResults.h.

#define NPT_ERROR_NOT_SUPPORTED   (NPT_ERROR_BASE_GENERAL - 13)

Definition at line 141 of file NptResults.h.

#define NPT_ERROR_OUT_OF_MEMORY   (NPT_ERROR_BASE_GENERAL - 2)

Definition at line 130 of file NptResults.h.

#define NPT_ERROR_OUT_OF_RANGE   (NPT_ERROR_BASE_GENERAL - 17)

Definition at line 145 of file NptResults.h.

#define NPT_ERROR_OUT_OF_RESOURCES   (NPT_ERROR_BASE_GENERAL - 18)

Definition at line 146 of file NptResults.h.

#define NPT_ERROR_OVERFLOW   (NPT_ERROR_BASE_GENERAL - 7)

Definition at line 135 of file NptResults.h.

#define NPT_ERROR_PERMISSION_DENIED   (NPT_ERROR_BASE_GENERAL - 1)

Definition at line 129 of file NptResults.h.

#define NPT_ERROR_TERMINATED   (NPT_ERROR_BASE_GENERAL - 16)

Definition at line 144 of file NptResults.h.

#define NPT_ERROR_TIMEOUT   (NPT_ERROR_BASE_GENERAL - 14)

Definition at line 142 of file NptResults.h.

#define NPT_ERROR_WOULD_BLOCK   (NPT_ERROR_BASE_GENERAL - 15)

Definition at line 143 of file NptResults.h.

#define NPT_FAILED (   result)    ((result) != NPT_SUCCESS)

Definition at line 97 of file NptResults.h.

#define NPT_FAILURE   (-1)

Result indicating an unspecified failure condition.

Definition at line 107 of file NptResults.h.

#define NPT_SUCCEEDED (   result)    ((result) == NPT_SUCCESS)

Definition at line 98 of file NptResults.h.

#define NPT_SUCCESS   0

Result indicating that the operation or call succeeded.

Definition at line 104 of file NptResults.h.

Function Documentation

const char* NPT_ResultText ( int  result)

Definition at line 43 of file NptResults.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Tue Dec 10 2019 04:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages
-->

graphics API Reference

Skip menu "graphics API Reference"
  • digikam
  • KDiagram
  •     KChart
  •     KGantt
  • KPhotoAlbum
  •   AndroidRemoteControl
  • Krita
  •   libs
  •     KritaBasicFlakes
  •     brush
  •     KritaUndo2
  •     KritaFlake
  •     image
  •     KritaPlugin
  •     Krita
  •     KritaOdf
  •     KritaPigment
  •     KritaStore
  •     ui
  •     KritaWidgets
  •     KritaWidgetUtils
  •   plugins
  •     Assitants
  •     Extensions
  •     Filters
  •         KritaText
  •         KritaTextLayout
  •     Generators
  •     Formats
  •             src
  •     PaintOps
  •       libpaintop
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal