Added silc_errno_set_location and silc_errno_location
[runtime.git] / lib / silcutil / silcthread_i.h
index f7c6697f1b2be45e4cb6d0a8e3017d739811f8f4..e0bb7a238c72578e640daf947e7210dea450e992 100644 (file)
@@ -37,7 +37,10 @@ typedef struct SilcTlsObject {
   void *thread_context;                            /* Context set with SILC Tls API */
   void *platform_context;                  /* Platform specific context */
   char error_reason[256];                  /* Reason for the error */
+  char filename[256];                      /* File where error occurred */
   SilcResult error;                        /* Errno, last error */
+  SilcUInt32 cur_line;                     /* Line number of error */
+  SilcUInt32 cur_column;                   /* Column number of error */
   unsigned int shared_data     : 1;        /* Set when shares data with other
                                               threads in the Tls. */
 } *SilcTls, SilcTlsStruct;