summaryrefslogtreecommitdiff
path: root/usr/src/lib/libresolv2/common/dnssafe/amrandom.h
blob: 2576e389c85aa599e09eaaa81215be4d78bf7121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 1999 by Sun Microsystems, Inc.
 * All rights reserved.
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

/* Copyright (C) RSA Data Security, Inc. created 1994, 1996.  This is an
   unpublished work protected as such under copyright law.  This work
   contains proprietary, confidential, and trade secret information of
   RSA Data Security, Inc.  Use, disclosure or reproduction without the
   express written authorization of RSA Data Security, Inc. is
   prohibited.
 */

typedef struct {
  int (*Query) PROTO_LIST ((unsigned int *, POINTER));
  int (*Init) PROTO_LIST ((POINTER, POINTER, A_SURRENDER_CTX *));
  int (*Update) PROTO_LIST
    ((POINTER, unsigned char *, unsigned int, A_SURRENDER_CTX *));
  int (*Generate) PROTO_LIST
    ((POINTER, unsigned char *, unsigned int, A_SURRENDER_CTX *));
} A_RANDOM_ALGA;