Skip to content
Snippets Groups Projects
Select Git revision
  • ffa9e700a0868937f8ba87619f6573eb3ab72926
  • main default protected
  • f-sss4grpc
  • dev
  • 108-implement-rpc-call-for-server-side-scripting
  • f-windows-conan-create
  • f-to-string
  • f-update-requirements
  • f-related-projects
  • f-role
  • f-remote-path
  • f-rel-path
  • f-consol-message
  • v0.3.0
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
  • v0.1.1
  • v0.1
  • v0.0.19
  • v0.0.18
  • v0.0.16
  • v0.0.15
  • v0.0.10
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
33 results

ccaosdb.h

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ccaosdb.h 11.03 KiB
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    /**
     * Return the constant caosdb::LIBCAOSDB_VERSION_MAJOR.
     */
    int caosdb_constants_LIBCAOSDB_VERSION_MAJOR();
    /**
     * Return the constant caosdb::LIBCAOSDB_VERSION_MINOR
     */
    int caosdb_constants_LIBCAOSDB_VERSION_MINOR();
    /**
     * Return the constant caosdb::LIBCAOSDB_VERSION_PATCH.
     */
    int caosdb_constants_LIBCAOSDB_VERSION_PATCH();
    /**
     * Return the constant caosdb::COMPATIBLE_SERVER_VERSION_MAJOR.
     */
    int caosdb_constants_COMPATIBLE_SERVER_VERSION_MAJOR();
    /**
     * Return the constant caosdb::COMPATIBLE_SERVER_VERSION_MINOR.
     */
    int caosdb_constants_COMPATIBLE_SERVER_VERSION_MINOR();
    /**
     * Return the constant caosdb::COMPATIBLE_SERVER_VERSION_PATCH.
     */
    int caosdb_constants_COMPATIBLE_SERVER_VERSION_PATCH();
    /**
     * Return the constant caosdb::COMPATIBLE_SERVER_VERSION_PRE_RELEASE.
     */
    const char *caosdb_constants_COMPATIBLE_SERVER_VERSION_PRE_RELEASE();
    
    /**
     * A wrapper of the C++ Connection class.
     *
     * We use a wrapper for future extensibility and in order to have a minimal
     * capability for type checking in C even though the C++ class
     * Connection is opaque in C.
     */
    typedef struct {
      void *wrapped_connection;
    } caosdb_connection_connection;
    
    /**
     * A wrapper of the C++ ConnectionConfiguration class.
     *
     * We use a wrapper for future extensibility and in order to have a minimal
     * capability for type checking in C even though the C++ class
     * Connection is opaque in C.
     */
    typedef struct {
      void *wrapped_connection_configuration;
    } caosdb_connection_connection_configuration;
    
    /**
     * A wrapper of the C++ VersionInfo class.
     *
     * We use a wrapper for future extensibility and in order to have a minimal
     * capability for type checking in C even though the C++ class
     * Connection is opaque in C.
     */
    typedef struct {
      int major;
      int minor;
      int patch;
      const char *pre_release;
      const char *build;
    } caosdb_info_version_info;