aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/event/error.txt
blob: 0d0b375230fdb82fe6bb8939ab3e8e2eed3cf76f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
~~Title: Efl.Net.Dialer: error~~
===== Description =====

%%Some error happened and the socket stopped working.%%

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:event:error:description&nouser&nolink&nodate}}

===== Signature =====

<code>
error: Eina.Error;
</code>

===== C information =====

<code c>
EFL_NET_DIALER_EVENT_ERROR(Eina_Error)
</code>

===== C usage =====

<code c>
static void
on_efl_net_dialer_event_error(void *data, const Efl_Event *event)
{
    Eina_Error info = event->info;
    Eo *obj = event->object;
    Data *d = data;

    /* event hander code */
}

static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_NET_DIALER_EVENT_ERROR, on_efl_net_dialer_event_error, d);
}

</code>