implemented decmatch (artf724241)
[deliverable/titan.core.git] / core / Octetstring.hh
index 055314ef82082fc57d9dff309ad39ef3c79262fc..7e33563ff4a260fb82d01485f7777896fb8bdee1 100644 (file)
@@ -230,6 +230,8 @@ public:
 
 // octetstring template class
 
+struct decmatch_struct;
+
 class OCTETSTRING_template : public Restricted_Length_Template {
 #ifdef __SUNPRO_CC
 public:
@@ -243,6 +245,7 @@ private:
       OCTETSTRING_template *list_value;
     } value_list;
     octetstring_pattern_struct *pattern_value;
+    decmatch_struct* dec_match;
   };
 
   void copy_template(const OCTETSTRING_template& other_value);
@@ -277,8 +280,10 @@ public:
 
   int lengthof() const;
 
-  void set_type(template_sel template_type, unsigned int list_length);
+  void set_type(template_sel template_type, unsigned int list_length = 0);
   OCTETSTRING_template& list_item(unsigned int list_index);
+  
+  void set_decmatch(Dec_Match_Interface* new_instance);
 
   void log() const;
   void log_match(const OCTETSTRING& match_value, boolean legacy = FALSE) const;
This page took 0.024363 seconds and 5 git commands to generate.