X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=dgram%2Fhook.c;h=6f5a157c8020227ddeaa8dc662394e0b47e2ccc1;hb=a3466b322998a623a15907a5c3520b4f30d1c050;hp=72b3f70b077be7a8374aad4e40d2fbfae95aabdd;hpb=da1c2c3cbb87a600f19e250f93ef9fa4f89844fc;p=chiark-tcl.git diff --git a/dgram/hook.c b/dgram/hook.c index 72b3f70..6f5a157 100644 --- a/dgram/hook.c +++ b/dgram/hook.c @@ -1 +1,21 @@ - Tcl_RegisterObjType(&sockaddr_type); +/* dgram - Tcl extension for udp datagrams + * 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 . + */ + +#include "dgram.h" + +CHT_INIT(dgram, CHTI_TYPE(sockaddr_type), + CHTI_COMMANDS(cht_dgramsockettoplevel_entries))