summaryrefslogtreecommitdiff
path: root/src/htsback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsback.h')
-rw-r--r--src/htsback.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/htsback.h b/src/htsback.h
index 4ddd4d8..12f627c 100644
--- a/src/htsback.h
+++ b/src/htsback.h
@@ -93,7 +93,7 @@ int back_search_quick(struct_back* sback);
void back_clean(httrackp* opt,cache_back* cache,struct_back* sback);
int back_cleanup_background(httrackp* opt,cache_back* cache,struct_back* sback);
void back_wait(struct_back* sback,httrackp* opt,cache_back* cache,TStamp stat_timestart);
-int back_letlive(httrackp* opt, cache_back* cache, struct_back* sback, int p);
+int back_letlive(httrackp* opt, cache_back* cache, struct_back* sback, const int p);
int back_searchlive(httrackp* opt, struct_back* sback, char* search_addr);
void back_connxfr(htsblk* src, htsblk* dst);
void back_move(lien_back* src, lien_back* dst);
@@ -102,18 +102,18 @@ int back_serialize(FILE *fp, const lien_back* src);
int back_unserialize(FILE *fp, lien_back** dst);
int back_serialize_ref(httrackp* opt, const lien_back* src);
int back_unserialize_ref(httrackp* opt, const char *adr, const char *fil, lien_back** dst);
-void back_set_finished(struct_back* sback, int p);
-void back_set_locked(struct_back* sback, int p);
-void back_set_unlocked(struct_back* sback, int p);
-int back_delete(httrackp* opt,cache_back* cache,struct_back* sback,int p);
-void back_index_unlock(struct_back* sback, int p);
+void back_set_finished(struct_back* sback, const int p);
+void back_set_locked(struct_back* sback, const int p);
+void back_set_unlocked(struct_back* sback, const int p);
+int back_delete(httrackp* opt,cache_back* cache,struct_back* sback,const int p);
+void back_index_unlock(struct_back* sback, const int p);
int back_clear_entry(lien_back* back);
-int back_flush_output(httrackp* opt, cache_back* cache, struct_back* sback, int p);
+int back_flush_output(httrackp* opt, cache_back* cache, struct_back* sback, const int p);
void back_delete_all(httrackp* opt, cache_back* cache, struct_back* sback);
-int back_maydelete(httrackp* opt, cache_back* cache, struct_back* sback, int p);
-void back_maydeletehttp(httrackp* opt, cache_back* cache, struct_back* sback, int p);
-int back_trylive(httrackp* opt,cache_back* cache,struct_back* sback, int p);
-int back_finalize(httrackp* opt,cache_back* cache,struct_back* sback,int p);
+int back_maydelete(httrackp* opt, cache_back* cache, struct_back* sback, const int p);
+void back_maydeletehttp(httrackp* opt, cache_back* cache, struct_back* sback, const int p);
+int back_trylive(httrackp* opt,cache_back* cache,struct_back* sback, const int p);
+int back_finalize(httrackp* opt,cache_back* cache,struct_back* sback,const int p);
void back_info(struct_back* sback,int i,int j,FILE* fp);
void back_infostr(struct_back* sback,int i,int j,char* s);
LLint back_transfered(LLint add,struct_back* sback);