move more CB selection logic to libsasl
[cyrus-sasl.git] / include / sasl.h
index 7ae1185..b082057 100755 (executable)
@@ -791,6 +791,14 @@ LIBSASL_API int sasl_getprop(sasl_conn_t *conn, int propnum,
  * is particularly useful for servers that respond to multiple names. */
 #define        SASL_GSS_LOCAL_NAME     20
 
+typedef struct sasl_channel_binding {
+    char *type;
+    int critical;
+    unsigned long len;
+    unsigned char *data;
+} sasl_channel_binding;
+
+#define SASL_CHANNEL_BINDING    21
 
 /* set property in SASL connection state
  * returns: