Changeset 7d7f5e3 in mainline for uspace/lib/c/include/types/loc.h


Ignore:
Timestamp:
2023-09-17T09:56:59Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
153dd3b
Parents:
4c6fd56
Message:

loc_server_register() should be callable more than once (implementation)

We create a new session for each loc_server_register() / loc_srv_t
object. Alternatively we could multiplex all to a single connection
and then demultiplex them in the server, but this seemed simpler
at the moment.

We add a test case to libc test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/types/loc.h

    r4c6fd56 r7d7f5e3  
    3636#define _LIBC_TYPES_LOC_H_
    3737
     38#include <async.h>
     39
    3840/** Server register with location service */
    3941typedef struct {
    40         int dummy;
     42        async_sess_t *sess;
    4143} loc_srv_t;
    4244
Note: See TracChangeset for help on using the changeset viewer.