cleanup channel bindings logic
[cyrus-sasl.git] / include / sasl.h
index 7ae1185..714f0ca 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_bindings {
+    char *type;
+    int critical;
+    unsigned long len;
+    unsigned char *data;
+} sasl_channel_bindings;
+
+#define SASL_CHANNEL_BINDINGS   21
 
 /* set property in SASL connection state
  * returns: