File: validator_driver.h

package info (click to toggle)
dnssec-tools 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,064 kB
  • sloc: perl: 44,399; ansic: 31,547; cpp: 21,306; sh: 15,813; xml: 2,113; makefile: 1,390; pascal: 836; python: 290; csh: 11
file content (26 lines) | stat: -rw-r--r-- 975 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright 2007-2012 SPARTA, Inc.  All rights reserved.
 * See the COPYING file distributed with this software for details.
 */
#ifndef VALIDATOR_DRIVER_H
#define VALIDATOR_DRIVER_H

#define MAX_TEST_RESULTS 10

void print_val_response(struct val_response *resp);
int sendquery(val_context_t * context, const char *desc, char * name,
              int class_h, int type_h, u_int32_t flags,
              const int *result_ar, int trusted_only,
              struct val_response *resp);

int self_test(val_context_t *context, int tcs, int tce, u_int32_t flags,
              const char *tests, const char *suites, int doprint,
              int max_in_flight);

int check_results(val_context_t * context, const char *desc, char * name,
                  const u_int16_t class_h, const u_int16_t type_h,
                  const int *result_ar, struct val_result_chain *results,
                  int trusted_only, struct timeval *start);


#endif /* VALIDATOR_DRIVER_H */