]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/ipp-vars.c
Fix some build issues with the "core" component selection (rdar://47394086)
[thirdparty/cups.git] / cups / ipp-vars.c
index d9f4cf0cbdcec54254719eba35507566e4582953..58efaaddf49b54385a52954352aa8cb415b39fdb 100644 (file)
@@ -15,6 +15,7 @@
 #include <cups/cups.h>
 #include "ipp-private.h"
 #include "string-private.h"
+#include "debug-internal.h"
 
 
 /*
@@ -157,11 +158,16 @@ _ippVarsGet(_ipp_vars_t *v,               /* I - IPP variables */
  */
 
 void
-_ippVarsInit(_ipp_vars_t *v)           /* I - IPP variables */
+_ippVarsInit(_ipp_vars_t      *v,      /* I - IPP variables */
+             _ipp_fattr_cb_t  attrcb,  /* I - Attribute (filter) callback */
+             _ipp_ferror_cb_t errorcb, /* I - Error callback */
+             _ipp_ftoken_cb_t tokencb) /* I - Token callback */
 {
   memset(v, 0, sizeof(_ipp_vars_t));
 
-  v->family = AF_UNSPEC;
+  v->attrcb  = attrcb;
+  v->errorcb = errorcb;
+  v->tokencb = tokencb;
 }