model.c 656 B

1234567891011121314151617
  1. /* Functions to help coverity do static analysis on rabbitmq-c */
  2. typedef struct {
  3. } amqp_rpc_reply_t;
  4. /* librabbitmq/amqp_private.h */
  5. void amqp_abort(const char* fmt, ...) { __coverity_panic__(); }
  6. /* tools/common.h */
  7. void die(const char* fmt, ...) { __coverity_panic__(); }
  8. void die_errno(int err, const char* fmt, ...) { __coverity_panic__(); }
  9. void die_amqp_error(int err, const char* fmt, ...) { __coverity_panic__(); }
  10. void die_rpc(amqp_rpc_reply_t r, const char* fmt, ...) { __coverity_panic__(); }
  11. /* examples/utils.h */
  12. void die_on_amqp_error(amqp_rpc_reply_t* r) { __coverity_panic__(); }
  13. void die_on_error(int r) { __coverity_panic__(); }