Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/branches/blume-private-devel/src/runtime/c-libs/smlnj-sockets/tbl-sock-type.c
ViewVC logotype

View of /sml/branches/blume-private-devel/src/runtime/c-libs/smlnj-sockets/tbl-sock-type.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1493 - (download) (as text) (annotate)
Tue May 18 21:19:57 2004 UTC (15 years, 6 months ago) by mblume
File size: 524 byte(s)
merged changes from main trunk
/* tbl-sock-type.c
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 */

#include "sockets-osdep.h"
#include INCLUDE_SOCKET_H
#include "ml-base.h"
#include "sock-util.h"

/** The table of socket-type names **/
PVT sys_const_t	tbl[] = {
	{SOCK_STREAM,		"STREAM"},
	{SOCK_DGRAM,		"DGRAM"},
#ifdef SOCK_RAW
	{SOCK_RAW,		"RAW"},
#endif
#ifdef SOCK_RDM
	{SOCK_RDM,		"RDM"},
#endif
#ifdef SOCK_SEQPACKET
	{SOCK_SEQPACKET,	"SEQPACKET"},
#endif
    };

sysconst_tbl_t	_Sock_Type = {
	sizeof(tbl) / sizeof(sys_const_t),
	tbl
    };


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0