libqaeda

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

base.h (426B)


      1 #ifndef LQ_BASE_H_
      2 #define LQ_BASE_H_
      3 
      4 #ifndef LQ_BLOCKSIZE
      5 /***
      6  * \brief The buffer unit size used by libqaeda.
      7  */
      8 #define LQ_BLOCKSIZE 4096
      9 #endif
     10 
     11 /***
     12  * \brief Initialize libqaeda internals.
     13  *
     14  * \returns ERR_OK on successful initialization. On any other return value, library cannot be used.
     15  */
     16 int lq_init();
     17 
     18 /***
     19  * \brief Release resources used by libqaeda internals.
     20  */
     21 void lq_finish();
     22 
     23 #endif // LQ_BASE_H_