Changeset beb83c1 in mainline for uspace/srv


Ignore:
Timestamp:
2018-10-31T06:03:38Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
208db5a
Parents:
167616c
git-author:
Jakub Jermar <jakub@…> (2018-10-31 00:41:46)
git-committer:
Jakub Jermar <jakub@…> (2018-10-31 06:03:38)
Message:

Add async_accept_0() for accepting connections

Location:
uspace/srv
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    r167616c rbeb83c1  
    269269
    270270        /* Answer initial request */
    271         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     271        async_accept_0(icall);
    272272        audio_device_t *dev = arg;
    273273        assert(dev);
  • uspace/srv/bd/vbd/vbd.c

    r167616c rbeb83c1  
    365365
    366366        /* Accept the connection */
    367         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     367        async_accept_0(icall);
    368368
    369369        while (true) {
  • uspace/srv/clipboard/clipboard.c

    r167616c rbeb83c1  
    155155{
    156156        /* Accept connection */
    157         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     157        async_accept_0(icall);
    158158
    159159        while (true) {
  • uspace/srv/devman/client_conn.c

    r167616c rbeb83c1  
    748748{
    749749        /* Accept connection. */
    750         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     750        async_accept_0(icall);
    751751
    752752        while (true) {
  • uspace/srv/devman/drv_conn.c

    r167616c rbeb83c1  
    588588
    589589        /* Accept the connection. */
    590         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     590        async_accept_0(icall);
    591591
    592592        client = async_get_client_data();
  • uspace/srv/hid/compositor/compositor.c

    r167616c rbeb83c1  
    918918        /* Allocate resources for new window and register it to the location service. */
    919919        if (service_id == winreg_id) {
    920                 async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     920                async_accept_0(icall);
    921921
    922922                async_get_call(&call);
     
    996996
    997997        if (win) {
    998                 async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     998                async_accept_0(icall);
    999999        } else {
    10001000                async_answer_0(icall, EINVAL);
  • uspace/srv/hid/input/input.c

    r167616c rbeb83c1  
    328328        }
    329329
    330         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     330        async_accept_0(icall);
    331331
    332332        while (true) {
  • uspace/srv/hid/isdv4_tablet/main.c

    r167616c rbeb83c1  
    6565static void mouse_connection(ipc_call_t *icall, void *arg)
    6666{
    67         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     67        async_accept_0(icall);
    6868
    6969        async_sess_t *sess =
  • uspace/srv/hid/output/output.c

    r167616c rbeb83c1  
    398398{
    399399        /* Accept the connection */
    400         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     400        async_accept_0(icall);
    401401
    402402        while (true) {
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r167616c rbeb83c1  
    372372static void s3c24xx_ts_connection(ipc_call_t *icall, void *arg)
    373373{
    374         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     374        async_accept_0(icall);
    375375
    376376        while (true) {
  • uspace/srv/loader/main.c

    r167616c rbeb83c1  
    374374
    375375        /* Accept the connection */
    376         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     376        async_accept_0(icall);
    377377
    378378        /* Ignore parameters, the connection is already open */
  • uspace/srv/locsrv/locsrv.c

    r167616c rbeb83c1  
    13961396{
    13971397        /* Accept connection */
    1398         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     1398        async_accept_0(icall);
    13991399
    14001400        /*
     
    14631463{
    14641464        /* Accept connection */
    1465         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     1465        async_accept_0(icall);
    14661466
    14671467        while (true) {
  • uspace/srv/logger/ctl.c

    r167616c rbeb83c1  
    6868        int fd;
    6969
    70         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     70        async_accept_0(icall);
    7171        logger_log("control: new client.\n");
    7272
  • uspace/srv/logger/writer.c

    r167616c rbeb83c1  
    9898
    9999        /* Acknowledge the connection. */
    100         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     100        async_accept_0(icall);
    101101
    102102        logger_log("writer: new client.\n");
  • uspace/srv/net/dhcp/main.c

    r167616c rbeb83c1  
    128128
    129129        /* Accept the connection */
    130         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     130        async_accept_0(icall);
    131131
    132132        while (true) {
  • uspace/srv/net/dnsrsrv/dnsrsrv.c

    r167616c rbeb83c1  
    213213
    214214        /* Accept the connection */
    215         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     215        async_accept_0(icall);
    216216
    217217        while (true) {
  • uspace/srv/net/inetsrv/inetcfg.c

    r167616c rbeb83c1  
    742742
    743743        /* Accept the connection */
    744         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     744        async_accept_0(icall);
    745745
    746746        while (true) {
  • uspace/srv/net/inetsrv/inetping.c

    r167616c rbeb83c1  
    284284
    285285        /* Accept the connection */
    286         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     286        async_accept_0(icall);
    287287
    288288        inetping_client_t client;
  • uspace/srv/net/inetsrv/inetsrv.c

    r167616c rbeb83c1  
    390390
    391391        /* Accept the connection */
    392         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     392        async_accept_0(icall);
    393393
    394394        inet_client_init(&client);
  • uspace/srv/net/tcp/service.c

    r167616c rbeb83c1  
    11691169
    11701170        /* Accept the connection */
    1171         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     1171        async_accept_0(icall);
    11721172
    11731173        log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_client_conn() - client=%p",
  • uspace/srv/net/udp/service.c

    r167616c rbeb83c1  
    667667
    668668        /* Accept the connection */
    669         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     669        async_accept_0(icall);
    670670
    671671        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_client_conn()");
  • uspace/srv/ns/ns.c

    r167616c rbeb83c1  
    7070        }
    7171
    72         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     72        async_accept_0(icall);
    7373
    7474        while (true) {
  • uspace/srv/taskmon/taskmon.c

    r167616c rbeb83c1  
    108108{
    109109        /* Accept the connection */
    110         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     110        async_accept_0(icall);
    111111
    112112        while (true) {
  • uspace/srv/vfs/vfs.c

    r167616c rbeb83c1  
    5656static void vfs_pager(ipc_call_t *icall, void *arg)
    5757{
    58         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     58        async_accept_0(icall);
    5959
    6060        while (true) {
  • uspace/srv/vfs/vfs_ipc.c

    r167616c rbeb83c1  
    324324         * This call needs to be answered.
    325325         */
    326         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     326        async_accept_0(icall);
    327327
    328328        while (cont) {
  • uspace/srv/volsrv/volsrv.c

    r167616c rbeb83c1  
    551551
    552552        /* Accept the connection */
    553         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     553        async_accept_0(icall);
    554554
    555555        while (true) {
Note: See TracChangeset for help on using the changeset viewer.