~mrooney/ecryptfs/nautilus-integration

« back to all changes in this revision

Viewing changes to src/utils/plaintext_decision_graph.c

  • Committer: mhalcrow@us.ibm.com
  • Date: 2007-11-06 22:56:01 UTC
  • Revision ID: git-v1:f8357de9d554b274497b5cce9db4347254b7e7eb
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component,
etc.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Copyright (C) 2006 International Business Machines
 
3
 * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU General Public License as
 
7
 * published by the Free Software Foundation; either version 2 of the
 
8
 * License, or (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful, but
 
11
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
18
 * 02111-1307, USA.
 
19
 */
 
20
 
 
21
#include "config.h"
 
22
#include "../include/ecryptfs.h"
 
23
#include "../include/decision_graph.h"
 
24
 
 
25
struct param_node plaintext_arr[] = {
 
26
        {.num_mnt_opt_names = 1,
 
27
         .mnt_opt_names = {"passthrough"},
 
28
         .prompt = "Enable Plaintext Passthrough",
 
29
         .val_type = VAL_STR,
 
30
         .val = NULL,
 
31
         .display_opts = NULL,
 
32
         .default_val = "0",
 
33
         .flags = 0,
 
34
         .num_transitions = 2,
 
35
         .tl = {{.val = "1",
 
36
                 .pretty_val = "Yes",
 
37
                 .next_token = NULL,
 
38
                 .trans_func = NULL},
 
39
                {.val = "0",
 
40
                 .pretty_val = "No",
 
41
                 .next_token = NULL,
 
42
                 .trans_func = NULL}}}
 
43
};