Skip to content
Snippets Groups Projects
Select Git revision
  • 4261eecfe542ade3bacd23a3f66c0238ad3b40b4
  • master default protected
  • streebog
  • gost28147
  • master-updates
  • ed448
  • shake256
  • curve448
  • ecc-sqrt
  • gosthash94cp
  • cmac64
  • block16-refactor
  • siv-mode
  • cmac-layout
  • delete-des-compat
  • delete-rsa_blind
  • aes-struct-layout
  • release-3.4-fixes
  • struct-layout
  • attribute-deprecated
  • rename-data-symbols
  • 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
  • nettle_2.7.1_release_20130528
  • nettle_2.7_release_20130424
  • nettle_2.6_release_20130116
  • nettle_2.5_release_20120707
41 results

arcfour.c

Blame
  • Forked from Nettle / nettle
    Source project has a limited visibility.
    master.pike 14.23 KiB
    /* $Id: master.pike,v 1.44 1997/05/31 22:03:42 grubba Exp $
     *
     * Master-file for Pike.
     */
    
    #define UNDEFINED (([])[0])
    #define error(X) throw( ({ (X), backtrace()[0..sizeof(backtrace())-2] }) )
    
    string describe_backtrace(mixed *trace);
    object low_cast_to_object(string oname, string current_file);
    
    string pike_library_path;
    string *pike_include_path=({});
    string *pike_module_path=({});
    string *pike_program_path=({});
    
    mapping (string:string) environment=([]);
    
    varargs mixed getenv(string s)
    {
      if(!s) return environment;
      return environment[s];
    }
    
    void putenv(string var, string val)
    {
      environment[var]=val;
    }
    
    
    void add_include_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_include_path-=({tmp});
      pike_include_path=({tmp})+pike_include_path;
    }
    
    void remove_include_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_include_path-=({tmp});
    }
    
    void add_module_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_module_path-=({tmp});
      pike_module_path=({tmp})+pike_module_path;
    }
    
    
    void remove_module_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_module_path-=({tmp});
    }
    
    
    void add_program_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_program_path-=({tmp});
      pike_program_path=({tmp})+pike_module_path;
    }
    
    
    void remove_program_path(string tmp)
    {
      tmp=combine_path(getcwd(),tmp);
      pike_program_path-=({tmp});