Lines Matching defs:vbuf
115 cdf_app_to_mime(const char *vbuf, const struct nv *nv)
130 if (strcasestr(vbuf, nv[i].pattern) != NULL) {
135 fprintf(stderr, "unknown app %s\n", vbuf);
196 char vbuf[1024];
203 for (j = 0; s < e && j < sizeof(vbuf)
208 vbuf[j++] = *s;
210 if (j == sizeof(vbuf))
212 vbuf[j] = '\0';
214 if (vbuf[0]) {
216 buf, vbuf) == -1)
221 str = cdf_app_to_mime(vbuf, app2mime);