~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to src/include/ecryptfs.h

  • Committer: Dustin Kirkland
  • Date: 2009-02-03 08:18:53 UTC
  • Revision ID: git-v1:b0090ac8d4f626339d7f8ca5681934d5e68dac3e
make most of the code compatible with -Werror

Thanks to Michal Hlavinka for the patch.  This has been on my
to-do list for a while now!

Patch retrieved from:
https://bugzilla.redhat.com/show_bug.cgi?id=479762

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
502
502
int ecryptfs_supports_hmac(uint32_t version);
503
503
int ecryptfs_supports_filename_encryption(uint32_t version);
504
504
int ecryptfs_supports_policy(uint32_t version);
 
505
int ecryptfs_supports_xattr(uint32_t version);
505
506
#define ECRYPTFS_ASK_FOR_ALL_MOUNT_OPTIONS 0
506
507
#define ECRYPTFS_KEY_MODULE_ONLY 1
507
508
int ecryptfs_process_decision_graph(struct ecryptfs_ctx *ctx,
508
509
                                    struct val_node **head, uint32_t version,
509
510
                                    char *opts_str, int key_module_only);
 
511
int ecryptfs_process_key_gen_decision_graph(struct ecryptfs_ctx *ctx,
 
512
                                            uint32_t version);
510
513
int get_string(char *val, int len, int echo);
511
514
int get_string_stdin(char **val, char *prompt, int echo);
512
515
int stack_pop_val(struct val_node **head, void **val);
518
521
int stack_push(struct val_node **head, void *val);
519
522
int ecryptfs_free_cipher_list(struct ecryptfs_cipher_elem cipher_list_head);
520
523
int ecryptfs_get_key_mod_list(struct ecryptfs_ctx* ctx);
 
524
int ecryptfs_parse_rc_file(struct ecryptfs_name_val_pair *nvp_list_head);
521
525
int ecryptfs_parse_options(char *opts, struct ecryptfs_name_val_pair *head);
522
526
int ecryptfs_eval_decision_graph(struct ecryptfs_ctx *ctx,
523
527
                                 struct val_node **head,
588
592
int ecryptfs_list_zombie_session_placeholders(void);
589
593
int ecryptfs_build_linear_subgraph_from_nvp(struct transition_node **trans_node,
590
594
                                            struct ecryptfs_key_mod *key_mod);
 
595
int ecryptfs_build_linear_subgraph(struct transition_node **trans_node,
 
596
                                   struct ecryptfs_key_mod *key_mod);
591
597
int ecryptfs_generate_sig_from_key_data(unsigned char *sig,
592
598
                                        unsigned char *key_data,
593
599
                                        size_t key_data_len);
602
608
                          struct ecryptfs_message *msg,
603
609
                          unsigned char msg_type, uint16_t msg_flags,
604
610
                          uint32_t msg_seq);
 
611
int ecryptfs_init_miscdev(struct ecryptfs_miscdev_ctx *miscdev_ctx);
605
612
int ecryptfs_send_miscdev(struct ecryptfs_miscdev_ctx *miscdev_ctx,
606
613
                          struct ecryptfs_message *msg, uint8_t msg_type,
607
614
                          uint16_t msg_flags, uint32_t msg_seq);
620
627
int ecryptfs_disable_echo(struct termios *saved_settings);
621
628
int ecryptfs_enable_echo(struct termios *saved_settings);
622
629
char *ecryptfs_get_passphrase(char *prompt);
 
630
int ecryptfs_run_daemon(struct ecryptfs_messaging_ctx *mctx);
623
631
 
624
632
 
625
633
#endif