/[pspp]/pspp/src/format.h
ViewVC logotype

Diff of /pspp/src/format.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by blp, Wed Mar 10 07:40:03 2004 UTC revision 1.6 by blp, Tue Mar 1 08:16:15 2005 UTC
# Line 73  extern struct fmt_desc formats[]; Line 73  extern struct fmt_desc formats[];
73    
74  union value;  union value;
75    
76  /* Maximum length of formatted value, in character. */  /* Maximum length of formatted value, in characters. */
77  #define MAX_FORMATTED_LEN 256  #define MAX_FORMATTED_LEN 256
78    
79  int parse_format_specifier (struct fmt_spec *input, int allow_xt);  /* Flags for parsing formats. */
80  int parse_format_specifier_name (const char **cp, int allow_xt);  enum fmt_parse_flags
81  int check_input_specifier (const struct fmt_spec *spec);    {
82  int check_output_specifier (const struct fmt_spec *spec);      FMTP_ALLOW_XT = 001,                /* 1=Allow X and T formats. */
83        FMTP_SUPPRESS_ERRORS = 002          /* 1=Do not emit error messages. */
84      };
85    
86    int parse_format_specifier (struct fmt_spec *input, enum fmt_parse_flags);
87    int parse_format_specifier_name (const char **cp, enum fmt_parse_flags);
88    int check_input_specifier (const struct fmt_spec *spec, int emit_error);
89    int check_output_specifier (const struct fmt_spec *spec, int emit_error);
90  int check_string_specifier (const struct fmt_spec *spec, int min_len);  int check_string_specifier (const struct fmt_spec *spec, int min_len);
91  void convert_fmt_ItoO (const struct fmt_spec *input, struct fmt_spec *output);  void convert_fmt_ItoO (const struct fmt_spec *input, struct fmt_spec *output);
92  int get_format_var_width (const struct fmt_spec *);  int get_format_var_width (const struct fmt_spec *);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26