X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=hbytes%2Fhbytes.h;h=f7d0110efa0e2d857cc53e2a0e205fa42bae9b66;hp=f8f59fdd6ed89ab4dea8454f72e73d31a8f10c98;hb=b6017ccf067a7fefa893c8bf19288a1909f17263;hpb=7419270cc04e1d026b31838c527cf051550a2add diff --git a/hbytes/hbytes.h b/hbytes/hbytes.h index f8f59fd..f7d0110 100644 --- a/hbytes/hbytes.h +++ b/hbytes/hbytes.h @@ -175,10 +175,25 @@ int sockaddr_len(const SockAddr_Value*); const struct sockaddr *sockaddr_addr(const SockAddr_Value*); void sockaddr_free(const SockAddr_Value*); +/* from idtable.c */ + +typedef struct { + const char *const prefix; + int n; + void **a; +} IdDataTable; + +extern Tcl_ObjType tabledataid_nearlytype; +int tabledataid_parse(Tcl_Interp *ip, Tcl_Obj *o, IdDataTable *tab); + /* from dgram.c */ -extern Tcl_ObjType dgramsockid_type; -typedef struct DgramSocket *DgramSockID; +extern IdDataTable dgram_socks; +int newfdposixerr(Tcl_Interp *ip, int fd, const char *m); + +/* from tuntap.c */ + +extern IdDataTable tuntap_socks; /* from hook.c */