diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/util/service.c | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/service.c b/src/util/service.c index b4d03c17c..800d09a42 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1596,7 +1596,7 @@ teardown_service (struct GNUNET_SERVICE_Handle *sh) | |||
1596 | * dropped. Additionally, clients can be dropped at any time using | 1596 | * dropped. Additionally, clients can be dropped at any time using |
1597 | * #GNUNET_SERVICE_client_drop(). | 1597 | * #GNUNET_SERVICE_client_drop(). |
1598 | * | 1598 | * |
1599 | * The service must be stopped using #GNUNET_SERVICE_stoP(). | 1599 | * The service must be stopped using #GNUNET_SERVICE_stop(). |
1600 | * | 1600 | * |
1601 | * @param service_name name of the service to run | 1601 | * @param service_name name of the service to run |
1602 | * @param cfg configuration to use | 1602 | * @param cfg configuration to use |
@@ -1609,7 +1609,7 @@ teardown_service (struct GNUNET_SERVICE_Handle *sh) | |||
1609 | * @return NULL on error | 1609 | * @return NULL on error |
1610 | */ | 1610 | */ |
1611 | struct GNUNET_SERVICE_Handle * | 1611 | struct GNUNET_SERVICE_Handle * |
1612 | GNUNET_SERVICE_starT (const char *service_name, | 1612 | GNUNET_SERVICE_start (const char *service_name, |
1613 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 1613 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
1614 | GNUNET_SERVICE_ConnectHandler connect_cb, | 1614 | GNUNET_SERVICE_ConnectHandler connect_cb, |
1615 | GNUNET_SERVICE_DisconnectHandler disconnect_cb, | 1615 | GNUNET_SERVICE_DisconnectHandler disconnect_cb, |
@@ -1637,12 +1637,12 @@ GNUNET_SERVICE_starT (const char *service_name, | |||
1637 | 1637 | ||
1638 | 1638 | ||
1639 | /** | 1639 | /** |
1640 | * Stops a service that was started with #GNUNET_SERVICE_starT(). | 1640 | * Stops a service that was started with #GNUNET_SERVICE_start(). |
1641 | * | 1641 | * |
1642 | * @param srv service to stop | 1642 | * @param srv service to stop |
1643 | */ | 1643 | */ |
1644 | void | 1644 | void |
1645 | GNUNET_SERVICE_stoP (struct GNUNET_SERVICE_Handle *srv) | 1645 | GNUNET_SERVICE_stop (struct GNUNET_SERVICE_Handle *srv) |
1646 | { | 1646 | { |
1647 | struct GNUNET_SERVICE_Client *client; | 1647 | struct GNUNET_SERVICE_Client *client; |
1648 | 1648 | ||
@@ -1697,7 +1697,7 @@ GNUNET_SERVICE_stoP (struct GNUNET_SERVICE_Handle *srv) | |||
1697 | * @return 0 on success, non-zero on error | 1697 | * @return 0 on success, non-zero on error |
1698 | */ | 1698 | */ |
1699 | int | 1699 | int |
1700 | GNUNET_SERVICE_ruN_ (int argc, | 1700 | GNUNET_SERVICE_run_ (int argc, |
1701 | char *const *argv, | 1701 | char *const *argv, |
1702 | const char *service_name, | 1702 | const char *service_name, |
1703 | enum GNUNET_SERVICE_Options options, | 1703 | enum GNUNET_SERVICE_Options options, |