~didier-barvaux/+junk/rohc-tcp

« back to all changes in this revision

Viewing changes to src/comp/rohc_comp_internals.h

  • Committer: Didier Barvaux
  • Date: 2013-06-30 12:53:19 UTC
  • mfrom: (535.1.213 rohc-main)
  • Revision ID: didier@barvaux.org-20130630125319-33xosfau63ygas1f
Sync with main branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
         * @brief The handler used to check whether an uncompressed IP packet
259
259
         *        belongs to a context or not
260
260
         */
261
 
        int (*check_context)(const struct c_context *context,
262
 
                             const struct ip_packet *packet);
 
261
        bool (*check_context)(const struct c_context *context,
 
262
                              const struct ip_packet *packet);
263
263
 
264
264
        /**
265
265
         * @brief The handler used to encode uncompressed IP packets
266
266
         */
267
267
        int (*encode)(struct c_context *const context,
268
268
                      const struct ip_packet *packet,
269
 
                      const int packet_size,
 
269
                      const size_t packet_size,
270
270
                      unsigned char *const dest,
271
 
                      const int dest_size,
 
271
                      const size_t dest_size,
272
272
                      rohc_packet_t *const packet_type,
273
273
                      int *const payload_offset);
274
274