e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync/* Copyright (c) 2001, Stanford University
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * All rights reserved
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * See the file LICENSE.txt for information on redistributing this software.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynccrDevnullWriteExact( CRConnection *conn, const void *buf, unsigned int len )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncstatic void *
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynccrDevnullSingleRecv( CRConnection *conn, void *buf, unsigned int len )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync crError( "You can't receive data on a devnull connection!" );
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync /* We're sending something we've allocated. It's now ours.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * If the callers wants to send something else, he'll allocate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * something else.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * ENFORCE IT! */
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync crError( "You can't receive data on a DevNull network, stupid." );
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynccrDevnullInit( CRNetReceiveFuncList *rfl, CRNetCloseFuncList *cfl, unsigned int mtu )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynccrDevnullAccept( CRConnection *conn, const char *hostname, unsigned short port )
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync crError( "Well, you *could* accept a devnull client, but you'd be disappointed. ");