Hi Paulo,

On 04/24/2013 12:13 PM, Paulo Borges wrote:
---
  include/emulator.h |    2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/emulator.h b/include/emulator.h
index 5cd894b..49168a1 100644
--- a/include/emulator.h
+++ b/include/emulator.h
@@ -74,6 +74,8 @@ void ofono_emulator_register(struct ofono_emulator *em, int 
fd);

  void ofono_emulator_remove(struct ofono_emulator *em);

+int ofono_emulator_create_card(struct ofono_emulator *em, int fd, int version);
+

Why do you need the fd argument? It can be obtained from the g_at_server object. e.g.
GIOChannel *channel = g_at_server_get_channel(server);
fd = g_io_channel_get_unix_fd(channel);

Also, what is the purpose of the version parameter?

  void ofono_emulator_send_final(struct ofono_emulator *em,
                                const struct ofono_error *final);
  void ofono_emulator_send_unsolicited(struct ofono_emulator *em,

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to