Skip to content

Commit

Permalink
Update LicensePreValidationService.java
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>
  • Loading branch information
o-kopysov authored Jul 25, 2024
1 parent af27e74 commit 9f80859
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/main/java/com/lpvs/LicensePreValidationService.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,44 @@
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;

import com.lpvs.util.LPVSExitHandler;
+#include "libavutil/intreadwrite.h"
+#include "avformat.h"
+#include "avio_internal.h"
+#include "demux.h"
+#include "internal.h"

+typedef struct AAXColumn {
+ uint8_t flag;
+ uint8_t type;
+ const char *name;
+ uint32_t offset;
+ int size;
+} AAXColumn;

+typedef struct AAXSegment {
+ int64_t start;
+ int64_t end;
+} AAXSegment;

+typedef struct AAXContext {
+ int64_t table_size;
+ uint16_t version;
+ int64_t rows_offset;
+ int64_t strings_offset;
+ int64_t data_offset;
+ int64_t name_offset;
+ uint16_t columns;
+ uint16_t row_width;
+ uint32_t nb_segments;
+ int64_t schema_offset;
+ int64_t strings_size;
+ char *string_table;

+ uint32_t current_segment;

+ AAXColumn *xcolumns;
+ AAXSegment *segments;
+} AAXContext;

/**
* The main class for the License Pre-Validation Service (LPVS) application.
Expand Down

0 comments on commit 9f80859

Please sign in to comment.