diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-01 23:37:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-01 23:37:39 +0200 |
commit | 04c9bafa7136564e3059d493dffa84a4c9b6dfb7 (patch) | |
tree | 6f000d5eca2d4494d97cb638308c7c95d471f3de /src/proto/misc2.pro | |
parent | 8cd213c09a3598834888d81deb45ff17e6654a86 (diff) |
Made crypt/decrypt faster.
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index a688147429..6b292bb81f 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -80,8 +80,8 @@ int illegal_slash __ARGS((char *name)); char_u *parse_shape_opt __ARGS((int what)); int get_shape_idx __ARGS((int mouse)); void update_mouseshape __ARGS((int shape_idx)); -int decrypt_byte __ARGS((void)); -void update_keys __ARGS((int c)); +void crypt_encode __ARGS((char_u *from, size_t len, char_u *to)); +void crypt_decode __ARGS((char_u *ptr, long len)); void crypt_init_keys __ARGS((char_u *passwd)); void free_crypt_key __ARGS((char_u *key)); char_u *get_crypt_key __ARGS((int store, int twice)); |