9 Commits

Author SHA1 Message Date
Robert Scheck eddf520ddb Avoid "error: expected declaration specifiers or '...' before 'off_t'" build failure on RHEL 5 2016-01-06 03:27:24 +01:00
Aorimn daaa1c1df1 Finish removing the dis_ctx dependency in metadata
This introduces a sort of configuration for the metadata unit, but get
rid of the dis_ctx dependency.
2015-09-20 15:12:53 +02:00
Aorimn 1633b3d444 Trailing whitespaces cleaning, again
It seems like header files missed the whitespace cleaning, so fix it.
2015-04-25 18:26:14 +02:00
Aorimn 53ca6e4264 Hide the dislocker's context structure
This structure shouldn't be messed with, so we put it in a private
header - dislocker.priv.h. This is the occasion to put the config
structure in a private header too. Although there's no incomplete type
for the config structure in the public header so developers would use
the dislocker context structure only.
2015-03-14 23:41:38 +01:00
Aorimn 7b6860cdb4 Move the sectors.c file into the outputs directory
This is the beginning of the outputs/ object. The io_data structure will
be changed to reflect this object.
2015-03-14 22:17:13 +01:00
Aorimn 3f56cb09c5 Init's state change is viewed as an option
We move the initialize's state into the config unit so that it can be
easily changed through the dis_setopt() function.
2015-03-07 13:53:40 +01:00
Aorimn 2e2ae837e8 Move the io_data structure to the sectors.c unit
The io_data structure, as stated in the previous commit, shouldn't be
known to the encryption unit. This structure is mainly used by
dislocker.c and sectors.c, so it make sense to put it in the sectors.h
file.
2015-03-07 00:56:01 +01:00
Aorimn 0715a3693b Begin to create an encryption object
The decrypt.c unit file shouldn't know the io_data structure, it doesn't
really make sense for it to need it.
2015-03-07 00:41:01 +01:00
Aorimn a5d85f6264 Move includes into separate directory
This adds an include/ directory from which includes files will be. Each
header is now moved to this directory, in the same sub-directory it was
in.
Each #include has been changed accordingly in order not to break
compilation.
2015-03-04 23:35:25 +01:00