Searched refs:mime_magic_t (Results 1 – 4 of 4) sorted by relevance
81 } mime_magic_t; typedef85 mime_magic_t *rules; /* Rules used to detect this type */
47 mime_magic_t *rules);161 mime_magic_t *temp, /* New rule */ in mimeAddTypeRule()230 if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) in mimeAddTypeRule()270 if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) in mimeAddTypeRule()461 if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) in mimeAddTypeRule()486 if ((temp->child = calloc(1, sizeof(mime_magic_t))) == NULL) in mimeAddTypeRule()752 mime_magic_t *rules) /* I - Rules to check */ in mime_check_rules()
46 static void mime_delete_rules(mime_magic_t *rules);621 mime_delete_rules(mime_magic_t *rules) /* I - Rules to free */ in mime_delete_rules()623 mime_magic_t *next; /* Next rule to free */ in mime_delete_rules()
28 static void print_rules(mime_magic_t *rules);342 print_rules(mime_magic_t *rules) /* I - Rules to print */ in print_rules()