X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fconstants.h;fp=source%2Fconstants.h;h=3a883fbb0fa37b415607369712310ec656dd2650;hb=f59eded7c3e162bbdfc6db424c9badc730017698;hp=0000000000000000000000000000000000000000;hpb=fab500d5bff644bb5637abd2f5e78baeb26b7f26;p=libs%2Fnet.git diff --git a/source/constants.h b/source/constants.h new file mode 100644 index 0000000..3a883fb --- /dev/null +++ b/source/constants.h @@ -0,0 +1,31 @@ +/* $Id$ + +This file is part of libmspnet +Copyright © 2008 Mikkosoft Productions, Mikko Rasa +Distributed under the LGPL +*/ + +#ifndef MSP_NET_CONSTANTS_H_ +#define MSP_NET_CONSTANTS_H_ + +#ifdef WIN32 +#include +#else +#include +#endif + +namespace Msp { +namespace Net { + +enum Family +{ + UNSPEC=AF_UNSPEC, + INET=AF_INET, + INET6=AF_INET6, + UNIF=AF_UNIX +}; + +} // namespace Net +} // namespace Msp + +#endif