Annotation of mstools/samples/rpc/ns/cds/nsimgm.idl, revision 1.1.1.1

1.1       root        1: [
                      2:     uuid (d6d70ef0-0e3b-11cb-acc3-08002b1d29c4),
                      3:     version (1.0),
                      4:     pointer_default (unique)
                      5: ]
                      6: 
                      7: interface NsiM
                      8: {
                      9: 
                     10: import"nsicom.idl";
                     11: 
                     12: 
                     13: /*
                     14:  * N S I _ G R O U P _ D E L E T E
                     15:  *
                     16:  * Remove a group attribute from a name service entry.
                     17:  */
                     18: 
                     19: void nsi_group_delete
                     20:     (
                     21:     [in]        UNSIGNED32                    group_name_syntax,
                     22:     [in]        STRING_T                      group_name,
                     23:     [out]       UNSIGNED16                  * status
                     24:     );
                     25: 
                     26: 
                     27: /*
                     28:  * N S I _ G R O U P _ M B R _ A D D
                     29:  *
                     30:  * Add a an entry name to a group, if necessary, create the group.
                     31:  */
                     32: 
                     33: void nsi_group_mbr_add
                     34:     (
                     35:     [in]        UNSIGNED32                    group_name_syntax,
                     36:     [in]        STRING_T                      group_name,
                     37:     [in]        UNSIGNED32                    member_name_syntax,
                     38:     [in]        STRING_T                      member_name,
                     39:     [out]       UNSIGNED16                  * status
                     40:     );
                     41: 
                     42: /*
                     43:  * N S I _ G R O U P _ M B R _ R E M O V E
                     44:  *
                     45:  * Delete a an entry name to a group.
                     46:  */
                     47: 
                     48: void nsi_group_mbr_remove
                     49:     (
                     50:     [in]        UNSIGNED32                    group_name_syntax,
                     51:     [in]        STRING_T                      group_name,
                     52:     [in]        UNSIGNED32                    member_name_syntax,
                     53:     [in]        STRING_T                      member_name,
                     54:     [out]       UNSIGNED16                  * status
                     55:     );
                     56: 
                     57: /*
                     58:  * N S I _ G R O U P _ M B R _ I N Q _ B E G I N
                     59:  *
                     60:  * Create an inquiry context for an group with a certain name syntax..
                     61:  */
                     62: 
                     63: void nsi_group_mbr_inq_begin
                     64:     (
                     65:     [in]        UNSIGNED32                    group_name_syntax,
                     66:     [in]        STRING_T                      group_name,
                     67:     [in]        UNSIGNED32                    member_name_syntax,
                     68:     [out]       NSI_NS_HANDLE_T             * inq_context,
                     69:     [out]       UNSIGNED16                  * status
                     70:     );
                     71: 
                     72: /*
                     73:  * N S I _ G R O U P _ M B R _ I N Q _ N E X T
                     74:  *
                     75:  * Return the next group member in name service group.
                     76:  */
                     77: 
                     78: void nsi_group_mbr_inq_next
                     79:     (
                     80:     [in]        NSI_NS_HANDLE_T               inq_context,
                     81:     [out]       STRING_T                    * member_name,
                     82:     [out]       UNSIGNED16                  * status
                     83:     );
                     84: 
                     85: /*
                     86:  * N S I _ G R O U P _ M B R _ I N Q _ D O N E
                     87:  *
                     88:  * Delete a inquiry context for a group.
                     89:  */
                     90: 
                     91: void nsi_group_mbr_inq_done
                     92:     (
                     93:     [in,out]    NSI_NS_HANDLE_T             * inq_context,
                     94:     [out]       UNSIGNED16                  * status
                     95:     );
                     96: 
                     97: /*
                     98:  * N S I _ P R O F I L E _ D E L E T E
                     99:  *
                    100:  * Remove a profile attribute from a name service entry.
                    101:  */
                    102: 
                    103: void nsi_profile_delete
                    104:     (
                    105:     [in]        UNSIGNED32                    profile_name_syntax,
                    106:     [in]        STRING_T                      profile_name,
                    107:     [out]       UNSIGNED16                  * status
                    108:     );
                    109: 
                    110: 
                    111: /*
                    112:  * N S I _ P R O F I L E _ E L T _ A D D
                    113:  *
                    114:  * Add a an entry name to a profile, if necessary, create the profile.
                    115:  */
                    116: 
                    117: void nsi_profile_elt_add
                    118:     (
                    119:     [in]        UNSIGNED32                    profile_name_syntax,
                    120:     [in]        STRING_T                      profile_name,
                    121:     [in]        NSI_IF_ID_P_T                 if_id,
                    122:     [in]        UNSIGNED32                    member_name_syntax,
                    123:     [in]        STRING_T                      member_name,
                    124:     [in]        UNSIGNED32                    priority,
                    125:     [in]        STRING_T                      annotation,
                    126:     [out]       UNSIGNED16                  * status
                    127:     );
                    128: 
                    129: /*
                    130:  * N S I _ P R O F I L E _ E L T _ R E M O V E
                    131:  *
                    132:  * Delete a an entry name to a profile.
                    133:  */
                    134: 
                    135: void nsi_profile_elt_remove
                    136:     (
                    137:     [in]        UNSIGNED32                    profile_name_syntax,
                    138:     [in]        STRING_T                      profile_name,
                    139:     [in]        NSI_IF_ID_P_T                 if_id,
                    140:     [in]        UNSIGNED32                    member_name_syntax,
                    141:     [in]        STRING_T                      member_name,
                    142:     [out]       UNSIGNED16                  * status
                    143:     );
                    144: 
                    145: /*
                    146:  * N S I _ P R O F I L E _ E L T _ I N Q _ B E G I N
                    147:  *
                    148:  * Create an inquiry context for an profile with a certain name syntax..
                    149:  */
                    150: 
                    151: void nsi_profile_elt_inq_begin
                    152:     (
                    153:     [in]        UNSIGNED32                    profile_name_syntax,
                    154:     [in]        STRING_T                      profile_name,
                    155:     [in]        UNSIGNED32                    inquiry_type,
                    156:     [in]        NSI_IF_ID_P_T                 if_id,
                    157:     [in]        UNSIGNED32                    vers_option,
                    158:     [in]        UNSIGNED32                    member_name_syntax,
                    159:     [in]        STRING_T                      member_name,
                    160:     [out]       NSI_NS_HANDLE_T             * inq_context,
                    161:     [out]       UNSIGNED16                  * status
                    162:     );
                    163: 
                    164: /*
                    165:  * N S I _ P R O F I L E _ E L T _ I N Q _ N E X T
                    166:  *
                    167:  * Return the next profile member in name service profile.
                    168:  */
                    169: 
                    170: void nsi_profile_elt_inq_next
                    171:     (
                    172:     [in]        NSI_NS_HANDLE_T               inq_context,
                    173:     [in,out]    NSI_IF_ID_P_T                 if_id,
                    174:     [out]       STRING_T                    * member_name,
                    175:     [out]       UNSIGNED32                  * priority,
                    176:     [out]       STRING_T                    * annotation,
                    177:     [out]       UNSIGNED16                  * status
                    178:     );
                    179: 
                    180: /*
                    181:  * N S I _ P R O F I L E _ E L T _ I N Q _ D O N E
                    182:  *
                    183:  * Delete a inquiry context for a profile.
                    184:  */
                    185: 
                    186: void nsi_profile_elt_inq_done
                    187:     (
                    188:     [in,out]    NSI_NS_HANDLE_T             * inq_context,
                    189:     [out]       UNSIGNED16                  * status
                    190:     );
                    191: 
                    192: 
                    193: /*
                    194:  * N S I _ E N T R Y _ O B J E C T _ B E G I N
                    195:  *
                    196:  * Create an inquiry context for an server entry's object UUIDs.
                    197:  */
                    198: 
                    199: void nsi_entry_object_inq_begin
                    200:     (
                    201:     [in]        UNSIGNED32                    entry_name_syntax,
                    202:     [in]        STRING_T                      entry_name,
                    203:     [out]       NSI_NS_HANDLE_T             * inq_context,
                    204:     [out]       UNSIGNED16                  * status
                    205:     );
                    206: 
                    207: 
                    208: /*
                    209:  * N S I _ E N T R Y _ O B J E C T _ I N Q _ N E X T
                    210:  *
                    211:  * Return the object UUID in a server entry.
                    212:  */
                    213: 
                    214: void nsi_entry_object_inq_next
                    215:     (
                    216:     [in]        NSI_NS_HANDLE_T               inq_context,
                    217:     [in, out]   NSI_UUID_P_T                  uuid,
                    218:     [out]       UNSIGNED16                  * status
                    219:     );
                    220: 
                    221: /*
                    222:  * N S I _ E N T R Y _ O B J E C T _ I N Q _ D O N E
                    223:  *
                    224:  * Delete a inquiry context for a server entry's objects.
                    225:  */
                    226: 
                    227: void nsi_entry_object_inq_done
                    228:     (
                    229:     [in,out]    NSI_NS_HANDLE_T             * inq_context,
                    230:     [out]       UNSIGNED16                  * status
                    231:     );
                    232: 
                    233: 
                    234: /*
                    235:  * N S I _ E N T R Y _ E X P A N D _ N A M E
                    236:  *
                    237:  * Expand a cell relative name into a global one.
                    238:  */
                    239: 
                    240: void nsi_entry_expand_name
                    241:     (
                    242:     [in]        UNSIGNED32                    entry_name_syntax,
                    243:     [in]        STRING_T                      entry_name,
                    244:     [out]       STRING_T                    * expanded_name,
                    245:     [out]       UNSIGNED16                  * status
                    246:     );
                    247: 
                    248: 
                    249: 
                    250: /*
                    251:  * N S I _ M G M T _ B I N D I N G _ U N E X P O R T
                    252:  *
                    253:  * Remove interfaces and/or objects from a given server entry.
                    254:  */
                    255: 
                    256: void nsi_mgmt_binding_unexport
                    257:     (
                    258:     [in]        UNSIGNED32                    entry_name_syntax,
                    259:     [in]        STRING_T                      entry_name,
                    260:     [in]        NSI_IF_ID_P_T                 if_id,
                    261:     [in]        UNSIGNED32                    vers_option,
                    262:     [in]        NSI_UUID_VECTOR_P_T           object_uuid_vec,
                    263:     [out]       UNSIGNED16                  * status
                    264:     );
                    265: 
                    266: 
                    267: /*
                    268:  * N S I _ M G M T _ E N T R Y _ D E L E T E
                    269:  *
                    270:  * Delete a server/group/profile name service entry.
                    271:  */
                    272: 
                    273: void nsi_mgmt_entry_delete
                    274:     (
                    275:     [in]        UNSIGNED32                    entry_name_syntax,
                    276:     [in]        STRING_T                      entry_name,
                    277:     [out]       UNSIGNED16                  * status
                    278:     );
                    279: 
                    280: /*
                    281:  * N S I _ M G M T _ E N T R Y _ C R E A T E
                    282:  *
                    283:  * Create a name service entry.
                    284:  */
                    285: 
                    286: void nsi_mgmt_entry_create
                    287:     (
                    288:     [in]        UNSIGNED32                    entry_name_syntax,
                    289:     [in]        STRING_T                      entry_name,
                    290:     [out]       UNSIGNED16                  * status
                    291:     );
                    292: 
                    293: /*
                    294:  * N S I _ M G M T _ E N T R Y _ I N Q _ I F D S
                    295:  *
                    296:  * Inquiry the interfaces at a given name service entry.
                    297:  */
                    298: 
                    299: void nsi_mgmt_entry_inq_if_ids
                    300:     (
                    301:     [in]        UNSIGNED32                    entry_name_syntax,
                    302:     [in]        STRING_T                      entry_name,
                    303:     [out]       NSI_IF_ID_VECTOR_T         ** if_id_vec,
                    304:     [out]       UNSIGNED16                  * status
                    305:     );
                    306: 
                    307: /*
                    308:  * N S I _ M G M T _ I N Q  _ E X P _ A G E
                    309:  *
                    310:  * Inquiry the global age of entries cached.
                    311:  */
                    312: 
                    313: void nsi_mgmt_inq_exp_age
                    314:     (
                    315:     [out]       UNSIGNED32                  * expiration_age,
                    316:     [out]       UNSIGNED16                  * status
                    317:     );
                    318: 
                    319: 
                    320: /*
                    321:  * N S I _ M G M T _ I N Q  _ S E T _ A G E
                    322:  *
                    323:  * Set the global age of entries cached.
                    324:  */
                    325: 
                    326: void nsi_mgmt_inq_set_age
                    327:     (
                    328:     [in]        UNSIGNED32                    expiration_age,
                    329:     [out]       UNSIGNED16                  * status
                    330:     );
                    331: 
                    332: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.