From 812899797d6d8ea773bf960cd74680d20043c5a4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 8 Dec 2020 18:19:13 +0100 Subject: add licensing information --- include/object/outputstream.h | 12 +++++------- include/object/ptalog.h | 5 +++++ include/object/stdbuf.h | 5 +++++ include/object/xdr16input.h | 5 +++++ include/object/xdr16stream.h | 9 ++++++--- include/object/xdrinput.h | 5 +++++ include/object/xdrstream.h | 9 ++++++--- 7 files changed, 37 insertions(+), 13 deletions(-) (limited to 'include/object') diff --git a/include/object/outputstream.h b/include/object/outputstream.h index c6b503f..97887e9 100644 --- a/include/object/outputstream.h +++ b/include/object/outputstream.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef OUTPUTSTREAM_H #define OUTPUTSTREAM_H @@ -52,25 +57,18 @@ class OutputStream { }; -// ENDL: new line character (and flush) OutputStream & endl(OutputStream & os); -// BIN: print numbers in binary form. OutputStream & bin(OutputStream & os); -// OCT: print numbers in octal form. OutputStream & oct(OutputStream & os); -// DEC: print numbers in decimal form. OutputStream & dec(OutputStream & os); -// HEX: print numbers in hexadecimal form. OutputStream & hex(OutputStream & os); -// FLUSH: flush OutputStream buffer OutputStream & flush(OutputStream & os); -// TERM: zero-termination OutputStream & term(OutputStream & os); #endif //OUTPUTSTREAM_H diff --git a/include/object/ptalog.h b/include/object/ptalog.h index 6394474..9d070ab 100644 --- a/include/object/ptalog.h +++ b/include/object/ptalog.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef PTALOG_H #define PTALOG_H diff --git a/include/object/stdbuf.h b/include/object/stdbuf.h index 271c3ea..3e669d9 100644 --- a/include/object/stdbuf.h +++ b/include/object/stdbuf.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef STDBUF_H #define STDBUF_H diff --git a/include/object/xdr16input.h b/include/object/xdr16input.h index 66b2c56..478be48 100644 --- a/include/object/xdr16input.h +++ b/include/object/xdr16input.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef XDRINPUT_H #define XDRINPUT_H diff --git a/include/object/xdr16stream.h b/include/object/xdr16stream.h index 7cec1b1..c53bea5 100644 --- a/include/object/xdr16stream.h +++ b/include/object/xdr16stream.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef XDRSTREAM_H #define XDRSTREAM_H @@ -35,10 +40,8 @@ class XDRStream { }; -// FLUSH: flush XDRStream buffer XDRStream & flush(XDRStream & os); -// TERM: zero-termination XDRStream & term(XDRStream & os); template @@ -47,4 +50,4 @@ XDRStream & opaque(XDRStream & os); XDRStream & fixed(XDRStream & os); XDRStream & variable(XDRStream & os); -#endif //OUTPUTSTREAM_H +#endif diff --git a/include/object/xdrinput.h b/include/object/xdrinput.h index 5f99169..b3f999e 100644 --- a/include/object/xdrinput.h +++ b/include/object/xdrinput.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef XDRINPUT_H #define XDRINPUT_H diff --git a/include/object/xdrstream.h b/include/object/xdrstream.h index e8d4ddc..e2ccc34 100644 --- a/include/object/xdrstream.h +++ b/include/object/xdrstream.h @@ -1,3 +1,8 @@ +/* + * Copyright 2020 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef XDRSTREAM_H #define XDRSTREAM_H @@ -35,10 +40,8 @@ class XDRStream { }; -// FLUSH: flush XDRStream buffer XDRStream & flush(XDRStream & os); -// TERM: zero-termination XDRStream & term(XDRStream & os); template @@ -47,4 +50,4 @@ XDRStream & opaque(XDRStream & os); XDRStream & fixed(XDRStream & os); XDRStream & variable(XDRStream & os); -#endif //OUTPUTSTREAM_H +#endif -- cgit v1.2.3