ObjFW  Diff

Differences From Artifact [f204428d75]:

To Artifact [1b138c67b4]:


161
162
163
164
165
166
167

168




169
170
171
172
173
174
175
/**
 * @brief The implementation for OFTLSStream to use.
 *
 * This can be set to a class that is always used for OFTLSStream. This is
 * useful to either force a specific implementation or use one that ObjFW does
 * not know about.
 */

extern Class OFTLSStreamImplementation;





/**
 * @brief Returns a string description for the TLS stream error code.
 *
 * @param errorCode The error code to return the description for
 * @return A string description for the TLS stream error code
 */







>

>
>
>
>







161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/**
 * @brief The implementation for OFTLSStream to use.
 *
 * This can be set to a class that is always used for OFTLSStream. This is
 * useful to either force a specific implementation or use one that ObjFW does
 * not know about.
 */
#ifndef OF_AMIGAOS
extern Class OFTLSStreamImplementation;
#else
extern Class _Nonnull *_Nullable OFTLSStreamImplementationRef(void);
# define OFTLSStreamImplementation (*OFTLSStreamImplementationRef())
#endif

/**
 * @brief Returns a string description for the TLS stream error code.
 *
 * @param errorCode The error code to return the description for
 * @return A string description for the TLS stream error code
 */