diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-03-06 16:11:38 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-07 08:02:38 -0300 |
commit | a86da86d9822e16ffe0e9da7fe21864cd869ddf8 (patch) | |
tree | 5d744ba3716192dbd672e78acdb448f8ee333a45 /src/sha256.h | |
parent | 3005681a02ca0478231329b5deae83a308687b21 (diff) | |
download | rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.gz rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.bz2 rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.zip |
Move some types and consts from structs.h to other headers
- `foldinfo_T` to `fold.h`
- `context_sha256_T` to `sha256.h`
- `tagname_T` to `tag.h`
- `pumitem_T` to `popupmnu.h`
- `prt_*_T` to hardcopy.h`
- `CPT_*` consts to `edit.h`
- `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
Diffstat (limited to 'src/sha256.h')
-rw-r--r-- | src/sha256.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sha256.h b/src/sha256.h index 0732ba8ec7..c7c93672d9 100644 --- a/src/sha256.h +++ b/src/sha256.h @@ -1,6 +1,12 @@ #ifndef NEOVIM_SHA256_H #define NEOVIM_SHA256_H -/* sha256.c */ + +typedef struct { + UINT32_T total[2]; + UINT32_T state[8]; + char_u buffer[64]; +} context_sha256_T; + void sha256_start(context_sha256_T *ctx); void sha256_update(context_sha256_T *ctx, char_u *input, UINT32_T length); |