X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=hbytes%2Fhbytes.h;h=0ed871c8f3d20a1e3ef9b64586fc4c878304d57e;hp=b24144b482b9a35dacad76763c6ddc2d526a344a;hb=84cd08bffdd4bf1571432e312b132dbe0a57586c;hpb=288c17549e4d409b60147b6eb8444e72c0eea4e2 diff --git a/hbytes/hbytes.h b/hbytes/hbytes.h index b24144b..0ed871c 100644 --- a/hbytes/hbytes.h +++ b/hbytes/hbytes.h @@ -1,5 +1,3 @@ -/* - */ /* * hbytes raw2h BINARY => hex * hbytes h2raw HEX => binary @@ -121,7 +119,28 @@ * 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-2012 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, see . + */ + #ifndef HBYTES_H #define HBYTES_H @@ -202,8 +221,8 @@ void cht_hb_free(const HBytes_Value *frees); /* from hook.c */ -void obj_updatestr_array(Tcl_Obj *o, const Byte *array, int l); -void obj_updatestr_array_prefix(Tcl_Obj *o, const Byte *byte, +void cht_obj_updatestr_array(Tcl_Obj *o, const Byte *array, int l); +void cht_obj_updatestr_array_prefix(Tcl_Obj *o, const Byte *byte, int l, const char *prefix); /* from parse.c */