Changeset e1e4192 in mainline for uspace/srv/locsrv
- Timestamp:
- 2012-06-03T20:45:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90478727
- Parents:
- f7e69f5 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/locsrv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/locsrv/locsrv.c
rf7e69f5 re1e4192 390 390 */ 391 391 list_initialize(&server->services); 392 393 392 link_initialize(&server->servers); 394 393 … … 1493 1492 1494 1493 /* Register location service at naming service */ 1495 if (service_register(SERVICE_LOC) != EOK) 1496 return -1; 1494 int rc = service_register(SERVICE_LOC); 1495 if (rc != EOK) 1496 return rc; 1497 1497 1498 1498 printf("%s: Accepting connections\n", NAME); -
uspace/srv/locsrv/locsrv.h
rf7e69f5 re1e4192 86 86 /** Link to global list of services (services_list) */ 87 87 link_t services; 88 88 89 /** Link to server list of services (loc_server_t.services) */ 89 90 link_t server_services; 91 90 92 /** Link to list of services in category (category_t.services) */ 91 93 link_t cat_services; 94 92 95 /** List of category memberships (svc_categ_t) */ 93 96 list_t cat_memb; 97 94 98 /** Unique service identifier */ 95 99 service_id_t id; 100 96 101 /** Service namespace */ 97 102 loc_namespace_t *namespace; 103 98 104 /** Service name */ 99 105 char *name; 106 100 107 /** Supplier of this service */ 101 108 loc_server_t *server; 109 102 110 /** Use this interface when forwarding to server. */ 103 111 sysarg_t forward_interface;
Note:
See TracChangeset
for help on using the changeset viewer.
