// $Id$
//
-// Copyright (C) 2006
+// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
struct SomeAddressingPolicy : public senf::AddressingPolicyBase
{
typedef unsigned Address;
-
+
static void peer(FileHandle handle, unsigned & addr)
{ addr=1; }
static void local(FileHandle, unsigned & addr)
return write(handle,buffer,size);
}
};
-
+
struct SomeBufferingPolicy : public senf::BufferingPolicyBase
{
static unsigned rcvbuf(FileHandle handle)
\f
// Local Variables:
// mode: c++
+// fill-column: 100
// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
// End: