1    /* --COPYRIGHT--,TI
     2     * Copyright (c) $(CPYYEAR)
     3     * Texas Instruments
     4     *
     5     *  All rights reserved.  Property of Texas Instruments
     6     *  Restricted rights to use, duplicate or disclose this code are
     7     *  granted through contract.
     8     * 
     9     * --/COPYRIGHT--*/
    10    /*
    11     *  ======== INameServerRemote.xdc ========
    12     *
    13     *! Revision History
    14     *! ================
    15     *! 23-Jun-2008 toddm   created
    16     */
    17    
    18    import xdc.runtime.Error;
    19    
    20    /*!
    21     *  ======== INameServerRemote ========
    22     *  Interface for remote NameServer accesses
    23     */
    24    interface INameServerRemote {
    25    
    26        /*!
    27         *  ======== Status ========
    28         *  Status codes returned by certain calls
    29         */
    30        enum Status {
    31            S_SUCCESS = 0,
    32            E_FAIL = -1,
    33            E_ERROR = -2
    34        };
    35    
    36    instance:
    37    
    38        /*!
    39         *  ======== create ========
    40         */
    41        override create(UInt16 procId);
    42    
    43        /*!
    44         *  ======== get ========
    45         */
    46        Int get(String instanceName, 
    47                String name,
    48                Ptr value,
    49                UInt32 *valueLen,
    50                xdc.runtime.knl.ISync.Handle syncHandle,
    51                Error.Block *eb);
    52    }