chiark / gitweb /
Debian package wip
[chiark-tcl.git] / hbytes / hbytes.h
index 4a2f394862eb5eb31e5f618738e96d811f84e092..3b4dd157c022b71eb2633cb3caabb54408058580 100644 (file)
@@ -1,5 +1,3 @@
-/*
- */
 /*
  *  hbytes raw2h BINARY                          => hex
  *  hbytes h2raw HEX                             => binary
  * 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: */