Lines Matching defs:type
43 /* service type struct */
60 slp_type_t type[1];
81 /* parse type */
88 if (parseType(r, type) != SLP_OK)
91 /* no need to free type since it is on the stack */
146 * typeString contains only the service type part of an URL. It should
149 static SLPError parseType(char *typeString, slp_type_t *type) {
152 /* Initialize type structure */
153 type->isServiceURL = SLP_FALSE;
154 type->atype = NULL;
155 type->ctype = NULL;
156 type->na = NULL;
157 type->orig = typeString;
166 type->isServiceURL = SLP_TRUE;
171 if (p) /* can't have an abstract type in a non-service url */
176 /* p now points to the beginning of the type */
177 /* is this an abstract type? */
180 type->atype = p;
186 /* q should now point to the concrete type */
193 type->na = p;
197 type->ctype = q;