rots-utils: implement functionality to get the offset and the size.

master
S.J.R. van Schaik 8 years ago
parent 0a3466fc39
commit 4bced31393
  1. 1
      Makefile
  2. 3
      source/main.c

@ -12,6 +12,7 @@ LD = gcc
obj-y += source/file.o
obj-y += source/image.o
obj-y += source/info.o
obj-y += source/main.o
obj-y += source/pack.o
obj-y += source/sign.o

@ -2,6 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include <info.h>
#include <pack.h>
#include <sign.h>
#include <unpack.h>
@ -13,6 +14,8 @@ struct entry_point {
};
struct entry_point entries[] = {
{ "get-offset", do_get_offset },
{ "get-size", do_get_size },
{ "pack", do_pack },
{ "sign", do_sign },
{ "unpack", do_unpack },

Loading…
Cancel
Save