Changeset 16bb26f for lib


Ignore:
Timestamp:
01/04/18 17:31:16 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
Children:
fd1b63e
Parents:
49969f2
Message:

Export symbols for message queue API

File:
1 edited

Legend:

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

    r49969f2 r16bb26f  
    4040} libtrace_message_queue_t;
    4141
    42 void libtrace_message_queue_init(libtrace_message_queue_t *mq, size_t message_len);
    43 int libtrace_message_queue_put(libtrace_message_queue_t *mq, const void *message);
    44 int libtrace_message_queue_count(const libtrace_message_queue_t *mq);
    45 int libtrace_message_queue_get(libtrace_message_queue_t *mq, void *message);
    46 int libtrace_message_queue_try_get(libtrace_message_queue_t *mq, void *message);
    47 void libtrace_message_queue_destroy(libtrace_message_queue_t *mq);
    48 int libtrace_message_queue_get_fd(libtrace_message_queue_t *mq);
     42DLLEXPORT void libtrace_message_queue_init(libtrace_message_queue_t *mq,
     43        size_t message_len);
     44DLLEXPORT int libtrace_message_queue_put(libtrace_message_queue_t *mq,
     45        const void *message);
     46DLLEXPORT int libtrace_message_queue_count(const libtrace_message_queue_t *mq);
     47DLLEXPORT int libtrace_message_queue_get(libtrace_message_queue_t *mq,
     48        void *message);
     49DLLEXPORT int libtrace_message_queue_try_get(libtrace_message_queue_t *mq,
     50        void *message);
     51DLLEXPORT void libtrace_message_queue_destroy(libtrace_message_queue_t *mq);
     52DLLEXPORT int libtrace_message_queue_get_fd(libtrace_message_queue_t *mq);
    4953
    5054#endif
Note: See TracChangeset for help on using the changeset viewer.