cdma-provision.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_CDMA_PROVISION_H
  22. #define __OFONO_CDMA_PROVISION_H
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. struct ofono_cdma_provision_driver {
  27. const char *name;
  28. int priority;
  29. int (*get_provider_name)(const char *sid, char **name);
  30. };
  31. int ofono_cdma_provision_driver_register(
  32. const struct ofono_cdma_provision_driver *driver);
  33. void ofono_cdma_provision_driver_unregister(
  34. const struct ofono_cdma_provision_driver *driver);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /* __OFONO_CDMA_PROVISION_H */