src/lib/uri.h
branchv_0
changeset 1 68a281aefa76
equal deleted inserted replaced
0:28294b895e5e 1:68a281aefa76
       
     1 /**
       
     2  * Relational pipes
       
     3  * Copyright © 2021 František Kučera (Frantovo.cz, GlobalCode.info;
       
     4  *
       
     5  * This program is free software: you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License as published by
       
     7  * the Free Software Foundation, version 3 of the License.
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
       
    16  */
       
    17 #pragma once
       
    18 
       
    19 namespace relpipe {
       
    20 namespace in {
       
    21 namespace asn1 {
       
    22 namespace lib {
       
    23 
       
    24 // TODO: these strings will become globally unique URIs (or IRIs) after moving to alt2xml and relative/unprefixed names should also work
       
    25 
       
    26 /** general options of the ASN.1 parser */
       
    27 namespace option {
       
    28 static const char* Encoding = "encoding";
       
    29 static const char* ParseEncapsulated = "parse-encapsulated";
       
    30 }
       
    31 
       
    32 namespace encoding {
       
    33 static const char* ber = "BER";
       
    34 static const char* der = "DER";
       
    35 static const char* cer = "CER";
       
    36 static const char* xer = "XER";
       
    37 static const char* per = "PER";
       
    38 static const char* asn1 = "ASN.1"; // schema, model
       
    39 }
       
    40 
       
    41 }
       
    42 }
       
    43 }
       
    44 }