summaryrefslogtreecommitdiff
path: root/include/object
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
commit812899797d6d8ea773bf960cd74680d20043c5a4 (patch)
tree470bb05de36285e9f8b86fa34daebd163e3860ed /include/object
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
Diffstat (limited to 'include/object')
-rw-r--r--include/object/outputstream.h12
-rw-r--r--include/object/ptalog.h5
-rw-r--r--include/object/stdbuf.h5
-rw-r--r--include/object/xdr16input.h5
-rw-r--r--include/object/xdr16stream.h9
-rw-r--r--include/object/xdrinput.h5
-rw-r--r--include/object/xdrstream.h9
7 files changed, 37 insertions, 13 deletions
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<int TSize>
@@ -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<int TSize>
@@ -47,4 +50,4 @@ XDRStream & opaque(XDRStream & os);
XDRStream & fixed(XDRStream & os);
XDRStream & variable(XDRStream & os);
-#endif //OUTPUTSTREAM_H
+#endif