annotate src/proto/crypt.pro @ 7307:5d9e27621ffa v7.4.959

commit https://github.com/vim/vim/commit/0379d01c52e7930ccfc9133f229fba54a2024a42 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 3 21:17:24 2015 +0100 patch 7.4.959 Problem: When setting 'term' the clipboard ownership is lost. Solution: Do not call clip_init(). (James McCoy)
author Christian Brabandt <cb@256bit.org>
date Thu, 03 Dec 2015 21:30:05 +0100
parents 60659773c73b
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6122
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 /* crypt.c */
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 int crypt_method_nr_from_name __ARGS((char_u *name));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 int crypt_method_nr_from_magic __ARGS((char *ptr, int len));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 int crypt_works_inplace __ARGS((cryptstate_T *state));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 int crypt_get_method_nr __ARGS((buf_T *buf));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 int crypt_whole_undofile __ARGS((int method_nr));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 int crypt_get_header_len __ARGS((int method_nr));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 void crypt_set_cm_option __ARGS((buf_T *buf, int method_nr));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 int crypt_self_test __ARGS((void));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 cryptstate_T *crypt_create __ARGS((int method_nr, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 cryptstate_T *crypt_create_from_header __ARGS((int method_nr, char_u *key, char_u *header));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 cryptstate_T *crypt_create_from_file __ARGS((FILE *fp, char_u *key));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 cryptstate_T *crypt_create_for_writing __ARGS((int method_nr, char_u *key, char_u **header, int *header_len));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 void crypt_free_state __ARGS((cryptstate_T *state));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 long crypt_encode_alloc __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u **newptr));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 long crypt_decode_alloc __ARGS((cryptstate_T *state, char_u *ptr, long len, char_u **newptr));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 void crypt_encode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 void crypt_decode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 void crypt_encode_inplace __ARGS((cryptstate_T *state, char_u *buf, size_t len));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 void crypt_decode_inplace __ARGS((cryptstate_T *state, char_u *buf, size_t len));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 void crypt_free_key __ARGS((char_u *key));
6353
60659773c73b updated for version 7.4.509
Bram Moolenaar <bram@vim.org>
parents: 6122
diff changeset
22 void crypt_check_method __ARGS((int method));
60659773c73b updated for version 7.4.509
Bram Moolenaar <bram@vim.org>
parents: 6122
diff changeset
23 void crypt_check_current_method __ARGS((void));
6122
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 char_u *crypt_get_key __ARGS((int store, int twice));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 void crypt_append_msg __ARGS((buf_T *buf));
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 /* vim: set ft=c : */