pike.git / src / post_modules / Nettle / nettle.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/nettle.cmod:1:   /* nettle.cmod -*- c -*- */      #include "global.h" - RCSID("$Id: nettle.cmod,v 1.3 2003/03/13 14:59:07 nisse Exp $"); + RCSID("$Id: nettle.cmod,v 1.4 2003/03/14 15:30:20 marcus Exp $");   #include "interpret.h"   #include "svalue.h"   /* For this_object() */   #include "object.h"   #include "module_support.h"      #include "nettle_config.h"      #ifdef HAVE_LIBNETTLE   
pike.git/src/post_modules/Nettle/nettle.cmod:139:    THIS->f = NULL;    }       EXIT    {    /* werror("aes->EXIT\n"); */    memset(&THIS->ctx, 0, sizeof(THIS->ctx));    }   }    + #endif /* HAVE_LIBNETTLE */ +    PIKE_MODULE_INIT   {    INIT; -  + #ifdef HAVE_LIBNETTLE    hash_init(); -  + #endif /* HAVE_LIBNETTLE */   }      PIKE_MODULE_EXIT   { -  + #ifdef HAVE_LIBNETTLE    hash_exit(); -  + #endif /* HAVE_LIBNETTLE */    EXIT;   }    - #endif /* HAVE_LIBNETTLE */ +