Skip to content
Snippets Groups Projects
Select Git revision
  • c44ed3c08b9aa94701c2f58a3ad09835d0511835
  • 2.11.5-picodata default protected
  • ipotemin/trigger-binding
  • picodata-25.4
  • astrochuk/fiber-stack-addr
  • mlaletin/ci-tarantool-module protected
  • astrochuk/remove-rows
  • artshmelev/try-remove-condition-replicaset_connect_quorum
  • kusancho/fiber_stack_report
  • e.dmitriev/osx-arm-build-fix
  • nnk/warning-limit-and-iproto-executor
  • kdy/ci_build_with_tag protected
  • nnk/iproto-emergency-executor
  • nnk/add-vdbe-soft-limit
  • origin/picodata-25.3
  • artshmelev/debug-tls
  • v.klimenko/box_index_iterator_with_offset
  • picodata-25.3
  • funbringer/2.11.5-fix-select-param-having
  • max/new-cache2
  • nnk/expose-actual-vdbe-opcode-count
  • 2.11.5.283 protected
  • 2.11.5.266 protected
  • 2.11.5.265 protected
  • 2.11.5.254 protected
  • 2.11.5.253 protected
  • 2.11.5.233 protected
  • 2.11.5.230 protected
  • 2.11.5.228 protected
  • 2.11.5.226 protected
  • 2.11.5.225 protected
  • 2.11.5.223 protected
  • 2.11.5.221 protected
  • 2.11.5.220 protected
  • 2.11.5.219 protected
  • 2.11.5.218 protected
  • 2.11.5.217 protected
  • 2.11.5 protected
  • 2.11.2.159 protected
  • 2.11.4 protected
  • 2.11.2.155 protected
41 results

crc32.h

Blame
  • user avatar
    Georgy Kirichenko authored and Kirill Yukhin committed
    A possibility to build tarantool with included library dependencies.
    Use the flag -DBUILD_STATIC=ON to build statically against curl, readline,
    ncurses, icu and z.
    Use the flag -DOPENSSL_USE_STATIC_LIBS=ON to build with static
    openssl
    
    Changes:
      * Add FindOpenSSL.cmake because some distributions do not support the use of
      openssl static libraries.
      * Find libssl before curl because of build dependency.
      * Catch all bundled libraries API and export then it in case of static
      build.
      * Rename crc32 internal functions to avoid a name clash with linked libraries.
    
    Notes:
      * Bundled libyaml is not properly exported, use the system one.
      * Dockerfile to build static with docker is included
    
    Fixes #3445
    cb1c72da
    History
    crc32.h 255 B
    #ifndef __BSD_CRC32_H_
    #define __BSD_CRC32_H_
    
    #include <stdint.h>
    
    #define crc32 tnt_crc32
    uint32_t tnt_crc32(const void *buf, size_t size);
    #define crc32c tnt_crc32c
    uint32_t tnt_crc32c(uint32_t crc32c, const char *buffer, unsigned int length);
    
    #endif