chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename *.test.tcl to test-load.tcl
[chiark-tcl.git]
/
dgram
/
hook.c
diff --git
a/dgram/hook.c
b/dgram/hook.c
index 55b26726b24cf93ca66737a38cfe8d611354d6fa..6f5a157c8020227ddeaa8dc662394e0b47e2ccc1 100644
(file)
--- a/
dgram/hook.c
+++ b/
dgram/hook.c
@@
-1,5
+1,5
@@
/* dgram - Tcl extension for udp datagrams
/* dgram - Tcl extension for udp datagrams
- * Copyright 2006 Ian Jackson
+ * 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
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@
-12,10
+12,10
@@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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.
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
*/
+#include "dgram.h"
- Tcl_RegisterObjType(&sockaddr_type);
+CHT_INIT(dgram, CHTI_TYPE(sockaddr_type),
+ CHTI_COMMANDS(cht_dgramsockettoplevel_entries))