summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-09-29 17:49:49 -0400
committerTavian Barnes <tavianator@gmail.com>2010-09-29 19:03:03 -0400
commitcec47afae217cea36779d7dea4437b35dee63be2 (patch)
treec02e964d1381da9543733981040615984743edad /libdimension/dimension
parent140afde9d7096bea0f8d5f6a04e5c41dd37ab40b (diff)
downloaddimension-cec47afae217cea36779d7dea4437b35dee63be2.tar.xz
Make parts of the progress API internal.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/progress.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/libdimension/dimension/progress.h b/libdimension/dimension/progress.h
index 53dfc37..043f014 100644
--- a/libdimension/dimension/progress.h
+++ b/libdimension/dimension/progress.h
@@ -30,12 +30,7 @@
typedef struct dmnsn_progress dmnsn_progress;
-/* Allocate a new progress object */
-dmnsn_progress *dmnsn_new_progress(void);
-/* For failed returns from *_async() functions */
-void dmnsn_delete_progress(dmnsn_progress *progress);
-
-/* Join the worker thread and returns it's integer return value in addition to
+/* Join the worker thread and return it's integer return value in addition to
deleting `progress' */
int dmnsn_finish_progress(dmnsn_progress *progress);
@@ -44,11 +39,4 @@ double dmnsn_get_progress(const dmnsn_progress *progress);
/* Wait for the progress to be >= prog, in a better way than spinlocking */
void dmnsn_wait_progress(const dmnsn_progress *progress, double prog);
-/* Create a new level of loop nesting */
-void dmnsn_new_progress_element(dmnsn_progress *progress, unsigned int total);
-/* Increment the progress counter; should only be called from innermost loop */
-void dmnsn_increment_progress(dmnsn_progress *progress);
-/* Instantly complete the progress */
-void dmnsn_done_progress(dmnsn_progress *progress);
-
#endif /* DIMENSION_PROGRESS_H */