X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=hbytes%2Fhbytes.h;h=3b4dd157c022b71eb2633cb3caabb54408058580;hp=4a2f394862eb5eb31e5f618738e96d811f84e092;hb=5dca360f2da544c9b6baf9d18ad8cd0b0e073e60;hpb=82f88c53ddb84e42c770c23feb9bb0ee18341188 diff --git a/hbytes/hbytes.h b/hbytes/hbytes.h index 4a2f394..3b4dd15 100644 --- a/hbytes/hbytes.h +++ b/hbytes/hbytes.h @@ -1,5 +1,3 @@ -/* - */ /* * hbytes raw2h BINARY => hex * hbytes h2raw HEX => binary @@ -121,7 +119,30 @@ * TUNTAP IFNAME LENGTH tun/tap interface name too long * TUNTAP MTU OVERRUN tun/tap mtu limited to 2^16 bytes * - * Refs: HMAC: RFC2104 */ + * Refs: HMAC: RFC2104 + */ +/* ---8<--- end of documentation comment --8<-- */ + +/* + * hbytes - hex-stringrep efficient byteblocks for Tcl + * Copyright 2006 Ian Jackson + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + #ifndef HBYTES_H #define HBYTES_H @@ -165,6 +186,8 @@ typedef struct { } HBytes_ComplexValue; /* pointed to from internalRep.otherValuePtr */ void memxor(Byte *dest, const Byte *src, int l); +extern int Chiark_tcl_hbytes_Init(Tcl_Interp *ip); + /* called by load(3tcl) and also by extensions which depend on this one */ /* Public interfaces: */