clicompat.c 699 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Stubs for some cli functions used by the test routines.
  3. * $Revision$
  4. */
  5. void ast_cli(int fd, const char *fmt, ...);
  6. void ast_cli(int fd, const char *fmt, ...)
  7. {
  8. }
  9. struct ast_cli_entry;
  10. int ast_register_atexit(void (*func)(void));
  11. int ast_register_atexit(void (*func)(void))
  12. {
  13. return 0;
  14. }
  15. int ast_register_cleanup(void (*func)(void));
  16. int ast_register_cleanup(void (*func)(void))
  17. {
  18. return 0;
  19. }
  20. int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
  21. int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
  22. {
  23. return 0;
  24. }
  25. int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len);
  26. int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len)
  27. {
  28. return 0;
  29. }