X-Git-Url: http://git.silc.fi/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcthread_i.h;h=c67fce0824c8a128bd17244375afe7b05929364a;hb=51558729d89b9f3492b2ca754242ed548a579ca4;hp=0038a616d862475504b005b4b0520c83db81ba3a;hpb=1c3ae0efc13419718213114e140c3d83b4608c1e;p=runtime.git diff --git a/lib/silcutil/silcthread_i.h b/lib/silcutil/silcthread_i.h index 0038a616..c67fce08 100644 --- a/lib/silcutil/silcthread_i.h +++ b/lib/silcutil/silcthread_i.h @@ -29,8 +29,10 @@ with silc_calloc and freeable with silc_free, and must also be able to pre-allocate from stack. */ typedef struct SilcTlsObject { - void *thread_context; /* Context set with SILC Tls API */ - void *platform_context; /* Platform specific context */ + void *thread_context; /* Context set with SILC Tls API */ + void *platform_context; /* Platform specific context */ + char error_reason[256]; /* Reason for the error */ + SilcResult error; /* Errno, last error */ } *SilcTls, SilcTlsStruct; /* The internal Tls API. Implementation is platform specific. */