"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/lib/isc/include/pk11/internal.h" (4 Sep 2020, 1060 Bytes) of package /linux/misc/dns/bind9/9.17.5/bind-9.17.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "internal.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 9.17.3_vs_9.17.4.

    1 /*
    2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
    3  *
    4  * This Source Code Form is subject to the terms of the Mozilla Public
    5  * License, v. 2.0. If a copy of the MPL was not distributed with this
    6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    7  *
    8  * See the COPYRIGHT file distributed with this work for additional
    9  * information regarding copyright ownership.
   10  */
   11 
   12 #ifndef PK11_INTERNAL_H
   13 #define PK11_INTERNAL_H 1
   14 
   15 /*! \file pk11/internal.h */
   16 
   17 #include <pk11/pk11.h>
   18 
   19 ISC_LANG_BEGINDECLS
   20 
   21 const char *
   22 pk11_get_lib_name(void);
   23 
   24 void *
   25 pk11_mem_get(size_t size);
   26 
   27 void
   28 pk11_mem_put(void *ptr, size_t size);
   29 
   30 CK_SLOT_ID
   31 pk11_get_best_token(pk11_optype_t optype);
   32 
   33 isc_result_t
   34 pk11_numbits(CK_BYTE_PTR data, unsigned int bytecnt, unsigned int *bits);
   35 
   36 CK_ATTRIBUTE *
   37 pk11_attribute_first(const pk11_object_t *obj);
   38 
   39 CK_ATTRIBUTE *
   40 pk11_attribute_next(const pk11_object_t *obj, CK_ATTRIBUTE *attr);
   41 
   42 CK_ATTRIBUTE *
   43 pk11_attribute_bytype(const pk11_object_t *obj, CK_ATTRIBUTE_TYPE type);
   44 
   45 ISC_LANG_ENDDECLS
   46 
   47 #endif /* PK11_INTERNAL_H */