Changeset b94478f for lib


Ignore:
Timestamp:
05/18/18 11:39:59 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
5ef19d8
Parents:
991ff43
git-author:
Shane Alcock <salcock@…> (03/06/18 16:03:46)
git-committer:
Shane Alcock <salcock@…> (05/18/18 11:39:59)
Message:

Make SCB data structure part of the exported API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/data-struct/simple_circular_buffer.h

    rbd51874 rb94478f  
    11#ifndef LIBTRACE_SCB_H_
    22#define LIBTRACE_SCB_H_
     3
     4#include "libtrace.h"
    35
    46typedef struct libtracescb {
     
    1113
    1214
    13 void libtrace_scb_init(libtrace_scb_t *buf, uint32_t size, uint16_t id);
    14 void libtrace_scb_destroy(libtrace_scb_t *buf);
    15 int libtrace_scb_recv_sock(libtrace_scb_t *buf, int sock, int recvflags);
    16 uint8_t *libtrace_scb_get_read(libtrace_scb_t *buf, uint32_t *available);
    17 void libtrace_scb_advance_read(libtrace_scb_t *buf, uint32_t forward);
     15DLLEXPORT void libtrace_scb_init(libtrace_scb_t *buf, uint32_t size,
     16                uint16_t id);
     17DLLEXPORT void libtrace_scb_destroy(libtrace_scb_t *buf);
     18DLLEXPORT int libtrace_scb_recv_sock(libtrace_scb_t *buf, int sock,
     19                int recvflags);
     20DLLEXPORT uint8_t *libtrace_scb_get_read(libtrace_scb_t *buf,
     21                uint32_t *available);
     22DLLEXPORT void libtrace_scb_advance_read(libtrace_scb_t *buf, uint32_t forward);
    1823
    1924#endif
Note: See TracChangeset for help on using the changeset viewer.