diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-10-03 22:32:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-03 22:35:04 +0200 |
commit | 15e3e451702396e870c00d186ff7710792a1f28e (patch) | |
tree | 34e35da4099da75a29062735548773692d354d09 /include | |
parent | 9dd85bced56f6951107f69e581c872c1e7e3e58e (diff) |
share: don't use SSL unless enabled
Don't even declare the struct members for disabled features
Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface
when trying to set a sharing option that has been disabled (or not
enabled) in the library.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 062f788a3..f4aa17fdd 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2014,8 +2014,9 @@ typedef enum { CURLSHE_BAD_OPTION, /* 1 */ CURLSHE_IN_USE, /* 2 */ CURLSHE_INVALID, /* 3 */ - CURLSHE_NOMEM, /* out of memory */ - CURLSHE_LAST /* never use */ + CURLSHE_NOMEM, /* 4 out of memory */ + CURLSHE_NOT_BUILT_IN, /* 5 feature not present in lib */ + CURLSHE_LAST /* never use */ } CURLSHcode; typedef enum { |