From cec47afae217cea36779d7dea4437b35dee63be2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 29 Sep 2010 17:49:49 -0400 Subject: Make parts of the progress API internal. --- libdimension/dimension/progress.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'libdimension/dimension') 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 */ -- cgit v1.2.3