Truxton consolidate depots

From truxwiki.com
Revision as of 16:57, 20 May 2021 by Sam (talk | contribs) (Created page with "This will go through closed depots and merge the smaller ones into the larger ones. What you will be left with is few very large depot files instead of many smaller ones. =Sy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This will go through closed depots and merge the smaller ones into the larger ones. What you will be left with is few very large depot files instead of many smaller ones.

Syntax

uint32_t truxton_consolidate_depots( uint64_t truxton_handle );

Parameters

truxton_handle

The handle created by the truxton_create call.

Return value

Zero if the message could not be sent to the maintenance queue, non-zero if the message was successfully sent.

Sample

void perform_a_really_long_maintenance_task( uint64_t truxton )
{
   if ( truxton_consolidate_depots( truxton ) != 0 )
   {
      printf( "Message sent to consolidate depots\n" );
   }
}