summaryrefslogtreecommitdiffstats
path: root/src/installation_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/installation_proxy.c')
-rw-r--r--src/installation_proxy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/installation_proxy.c b/src/installation_proxy.c
index b54ade7..4a76dd2 100644
--- a/src/installation_proxy.c
+++ b/src/installation_proxy.c
@@ -271,6 +271,7 @@ leave_unlock:
271 * @param status_cb Pointer to a callback function or NULL 271 * @param status_cb Pointer to a callback function or NULL
272 * @param operation Operation name. Will be passed to the callback function 272 * @param operation Operation name. Will be passed to the callback function
273 * in async mode or shown in debug messages in sync mode. 273 * in async mode or shown in debug messages in sync mode.
274 * @param user_data Callback data passed to status_cb.
274 */ 275 */
275static instproxy_error_t instproxy_perform_operation(instproxy_client_t client, instproxy_status_cb_t status_cb, const char *operation, void *user_data) 276static instproxy_error_t instproxy_perform_operation(instproxy_client_t client, instproxy_status_cb_t status_cb, const char *operation, void *user_data)
276{ 277{
@@ -378,6 +379,7 @@ static gpointer instproxy_status_updater(gpointer arg)
378 * @param status_cb Pointer to a callback function or NULL 379 * @param status_cb Pointer to a callback function or NULL
379 * @param operation Operation name. Will be passed to the callback function 380 * @param operation Operation name. Will be passed to the callback function
380 * in async mode or shown in debug messages in sync mode. 381 * in async mode or shown in debug messages in sync mode.
382 * @param user_data Callback data passed to status_cb.
381 * 383 *
382 * @return INSTPROXY_E_SUCCESS when the thread was created (async mode), or 384 * @return INSTPROXY_E_SUCCESS when the thread was created (async mode), or
383 * when the operation completed successfully (sync). 385 * when the operation completed successfully (sync).
@@ -417,6 +419,7 @@ static instproxy_error_t instproxy_create_status_updater(instproxy_client_t clie
417 * @param status_cb Callback function for progress and status information. If 419 * @param status_cb Callback function for progress and status information. If
418 * NULL is passed, this function will run synchronously. 420 * NULL is passed, this function will run synchronously.
419 * @param command The command to execute. 421 * @param command The command to execute.
422 * @param user_data Callback data passed to status_cb.
420 * 423 *
421 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 424 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
422 * an error occured. 425 * an error occured.
@@ -456,6 +459,7 @@ static instproxy_error_t instproxy_install_or_upgrade(instproxy_client_t client,
456 * an .app directory instead of an install package. 459 * an .app directory instead of an install package.
457 * @param status_cb Callback function for progress and status information. If 460 * @param status_cb Callback function for progress and status information. If
458 * NULL is passed, this function will run synchronously. 461 * NULL is passed, this function will run synchronously.
462 * @param user_data Callback data passed to status_cb.
459 * 463 *
460 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 464 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
461 * an error occured. 465 * an error occured.
@@ -486,6 +490,7 @@ instproxy_error_t instproxy_install(instproxy_client_t client, const char *pkg_p
486 * an .app directory instead of an install package. 490 * an .app directory instead of an install package.
487 * @param status_cb Callback function for progress and status information. If 491 * @param status_cb Callback function for progress and status information. If
488 * NULL is passed, this function will run synchronously. 492 * NULL is passed, this function will run synchronously.
493 * @param user_data Callback data passed to status_cb.
489 * 494 *
490 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 495 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
491 * an error occured. 496 * an error occured.
@@ -509,6 +514,7 @@ instproxy_error_t instproxy_upgrade(instproxy_client_t client, const char *pkg_p
509 * Currently there are no known client options, so pass NULL here. 514 * Currently there are no known client options, so pass NULL here.
510 * @param status_cb Callback function for progress and status information. If 515 * @param status_cb Callback function for progress and status information. If
511 * NULL is passed, this function will run synchronously. 516 * NULL is passed, this function will run synchronously.
517 * @param user_data Callback data passed to status_cb.
512 * 518 *
513 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 519 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
514 * an error occured. 520 * an error occured.
@@ -601,6 +607,7 @@ leave_unlock:
601 * "ArchiveType" -> "ApplicationOnly" 607 * "ArchiveType" -> "ApplicationOnly"
602 * @param status_cb Callback function for progress and status information. If 608 * @param status_cb Callback function for progress and status information. If
603 * NULL is passed, this function will run synchronously. 609 * NULL is passed, this function will run synchronously.
610 * @param user_data Callback data passed to status_cb.
604 * 611 *
605 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 612 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
606 * an error occured. 613 * an error occured.
@@ -641,6 +648,7 @@ instproxy_error_t instproxy_archive(instproxy_client_t client, const char *appid
641 * Currently there are no known client options, so pass NULL here. 648 * Currently there are no known client options, so pass NULL here.
642 * @param status_cb Callback function for progress and status information. If 649 * @param status_cb Callback function for progress and status information. If
643 * NULL is passed, this function will run synchronously. 650 * NULL is passed, this function will run synchronously.
651 * @param user_data Callback data passed to status_cb.
644 * 652 *
645 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 653 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
646 * an error occured. 654 * an error occured.
@@ -681,6 +689,7 @@ instproxy_error_t instproxy_restore(instproxy_client_t client, const char *appid
681 * Currently there are no known client options, so passing NULL is fine. 689 * Currently there are no known client options, so passing NULL is fine.
682 * @param status_cb Callback function for progress and status information. If 690 * @param status_cb Callback function for progress and status information. If
683 * NULL is passed, this function will run synchronously. 691 * NULL is passed, this function will run synchronously.
692 * @param user_data Callback data passed to status_cb.
684 * 693 *
685 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if 694 * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
686 * an error occured. 695 * an error occured.