API: Add icsneoc2

This commit is contained in:
Thomas Stoddard
2026-03-24 21:08:40 -04:00
committed by Kyle Schwarz
parent 294e707924
commit 682299cb8c
40 changed files with 9015 additions and 369 deletions
+1
View File
@@ -0,0 +1 @@
doxygen
File diff suppressed because it is too large Load Diff
+12
View File
@@ -0,0 +1,12 @@
======
C2 API
======
.. doxygenfile:: icsneoc2.h
:project: icsneoc2
.. doxygenfile:: icsneoc2messages.h
:project: icsneoc2
.. doxygenfile:: icsneoc2settings.h
:project: icsneoc2
.. doxygenfile:: icsneoc2types.h
:project: icsneoc2
+27
View File
@@ -0,0 +1,27 @@
=================
icsneoc2 Examples
=================
Simple
======
:download:`Download example <../../examples/c2/simple/src/main.c>`
.. literalinclude:: ../../examples/c2/simple/src/main.c
:language: c
Disk Format
===========
:download:`Download example <../../examples/c2/diskformat/src/main.c>`
.. literalinclude:: ../../examples/c2/diskformat/src/main.c
:language: c
Read Messages
=============
:download:`Download example <../../examples/c2/read_messages/src/main.c>`
.. literalinclude:: ../../examples/c2/read_messages/src/main.c
:language: c
+9
View File
@@ -0,0 +1,9 @@
icsneoc2
========
.. toctree::
:maxdepth: 2
installation
examples
api
+7
View File
@@ -0,0 +1,7 @@
============
Installation
============
The installation steps for the C2 API are the same as the C++ API as the C2 API is
a wrapper for the C++ library. The ``LIBICSNEO_BUILD_ICSNEOC2`` CMake option is
default ``ON`` but note that the C2 API depends on this flag to build.