Skip to content
Snippets Groups Projects
Select Git revision
  • eb7c996e529a49b5eedeb064df275378486987d7
  • master default protected
  • hpke
  • ppc-chacha-4core
  • delete-internal-name-mangling
  • master-updates
  • ppc-gcm
  • ppc-chacha-2core
  • refactor-ecc-mod
  • ppc-chacha-core
  • use-mpn_cnd-functions
  • optimize-ecc-invert
  • default-m4-quote-char
  • power-asm-wip
  • test-fat
  • chacha-3core-neon
  • x86_64-salsa20-2core
  • salsa20-2core-neon
  • bcrypt
  • arm-salsa20-chacha-vsra
  • test-shlib-dir
  • nettle_3.6_release_20200429
  • nettle_3.6rc3
  • nettle_3.6rc2
  • nettle_3.6rc1
  • nettle_3.5.1_release_20190627
  • nettle_3.5_release_20190626
  • nettle_3.5rc1
  • nettle_3.4.1_release_20181204
  • nettle_3.4.1rc1
  • nettle_3.4_release_20171119
  • nettle_3.4rc2
  • nettle_3.4rc1
  • nettle_3.3_release_20161001
  • nettle_3.2_release_20160128
  • nettle_3.1.1_release_20150424
  • nettle_3.1_release_20150407
  • nettle_3.1rc3
  • nettle_3.1rc2
  • nettle_3.1rc1
  • nettle_3.0_release_20140607
41 results

ctr.c

Blame
  • Forked from Nettle / nettle
    Source project has a limited visibility.
    constants.h 1.41 KiB
    /*\
    ||| This file a part of Pike, and is copyright by Fredrik Hubinette
    ||| Pike is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    
    /*
     * $Id: constants.h,v 1.7 1998/06/06 03:14:42 hubbe Exp $
     */
    #ifndef ADD_EFUN_H
    #define ADD_EFUN_H
    
    #include "svalue.h"
    #include "hashtable.h"
    #include "las.h" /* For OPT_SIDE_EFFECT etc. */
    
    typedef int (*docode_fun)(node *n);
    typedef node *(*optimize_fun)(node *n);
    
    struct callable
    {
      INT32 refs;
      c_fun function;
      struct pike_string *type;
      struct pike_string *name;
      INT16 flags;
      optimize_fun optimize;
      docode_fun docode;
    };
    
    /* Prototypes begin here */
    struct mapping *get_builtin_constants(void);
    void low_add_efun(struct pike_string *name, struct svalue *fun);
    void low_add_constant(char *name, struct svalue *fun);
    void add_global_program(char *name, struct program *p);
    struct callable *make_callable(c_fun fun,
    			       char *name,
    			       char *type,
    			       INT16 flags,
    			       optimize_fun optimize,
    			       docode_fun docode);
    void really_free_callable(struct callable *fun);
    void add_efun2(char *name,
    	       c_fun fun,
    	       char *type,
    	       INT16 flags,
    	       optimize_fun optimize,
    	       docode_fun docode);
    void add_efun(char *name, c_fun fun, char *type, INT16 flags);
    void cleanup_added_efuns(void);
    void count_memory_in_callables(INT32 *num_, INT32 *size_);
    /* Prototypes end here */
    
    #endif