pike.git / src / post_modules / Nettle / hash.H

version» Context lines:

pike.git/src/post_modules/Nettle/hash.H:5:      DOCSTART() @class PIKE_NAME    *!    *! Implementation of the PIKE_NAME hash algorithm.    *!   DOCEND()   PIKECLASS PIKE_NAME   {    DOCSTART() @decl inherit Hash    DOCEND() -  INHERIT Hash; +  INHERIT Nettle_Hash;       INIT    { -  struct Hash_struct *hash; -  ASSIGN_CURRENT_STORAGE(hash, struct Hash_struct, 1, Hash_program); +  struct Nettle_Hash_struct *hash; +  ASSIGN_CURRENT_STORAGE(hash, struct Nettle_Hash_struct, 1, +  Nettle_Hash_program);       werror(cmod_STRFY_EVAL(PIKE_NAME) "->INIT\n");       hash->meta = &cmod_CONCAT_EVAL(nettle_, NETTLE_NAME);    }       DOCSTART() @class State    *!    *! State for PIKE_NAME hashing.    *!
pike.git/src/post_modules/Nettle/hash.H:55:    parent_prog->inherits[1].identifier_level,    1 + 42, 0, NULL);    }    }    }       CVAR struct cmod_CONCAT_EVAL(NETTLE_NAME, _ctx) NETTLE_NAME;       INIT    { -  struct Hash_State_struct *instance; -  ASSIGN_CURRENT_STORAGE(instance, struct Hash_State_struct, 1, -  Hash_State_program); +  struct Nettle_Hash_State_struct *instance; +  ASSIGN_CURRENT_STORAGE(instance, struct Nettle_Hash_State_struct, 1, +  Nettle_Hash_State_program);       werror(cmod_STRFY_EVAL(PIKE_NAME) ".State->INIT\n");       cmod_CONCAT_EVAL(NETTLE_NAME, _init)(&THIS->NETTLE_NAME);    instance->ctx = &THIS->NETTLE_NAME;    }    }    DOCSTART() @endclass State    DOCEND()      }   DOCSTART() @endclass PIKE_NAME   DOCEND()