message-waiting.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. *
  3. * oFono - Open Source Telephony
  4. *
  5. * Copyright (C) 2008-2011 Intel Corporation. All rights reserved.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. */
  21. #ifndef __OFONO_MESSAGE_WAITING_H
  22. #define __OFONO_MESSAGE_WAITING_H
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. #include <ofono/types.h>
  27. struct ofono_message_waiting;
  28. struct ofono_message_waiting *ofono_message_waiting_create(
  29. struct ofono_modem *modem);
  30. void ofono_message_waiting_register(struct ofono_message_waiting *mw);
  31. void ofono_message_waiting_remove(struct ofono_message_waiting *mw);
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif /* __OFONO_MESSAGE_WAITING_H */