Hi Denis,
On 03/04/2010 03:23 AM, Denis Kenzior wrote:
Hi Zhenhua,
> ---
> struct _GAtServer;
> @@ -46,6 +47,26 @@ enum _GAtServerResult {
>
> typedef enum _GAtServerResult GAtServerResult;
>
> +enum _GAtServerRequestType {
> + G_AT_SERVER_REQUEST_TYPE_NONE,
> + G_AT_SERVER_REQUEST_TYPE_ACTION,
What exactly does this one mean, how is it different from SET or NONE?
As we discussed, TYPE_ACTION will be removed.
> + G_AT_SERVER_REQUEST_TYPE_QUERY,
> + G_AT_SERVER_REQUEST_TYPE_SET,
> + G_AT_SERVER_REQUEST_TYPE_SUPPORT,
> +};
> +
> +typedef enum _GAtServerRequestType GAtServerRequestType;
> +
> +enum _GAtServerCommandType {
> + G_AT_SERVER_COMMAND_TYPE_ACTION,
> + G_AT_SERVER_COMMAND_TYPE_PARAMETER,
Again, what do these mean? Might want to include a simple comment here.
This enum will be removed as well.
> +};
> +
> +typedef enum _GAtServerCommandType GAtServerCommandType;
> +
> +typedef int (*GAtServerNotifyFunc)(GAtServerRequestType type, GAtResult
> *result, + gpointer user_data);
> +
> GAtServer *g_at_server_new(GIOChannel *io);
>
> GAtServer *g_at_server_ref(GAtServer *server);
>
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono