OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide
C Program Example
OSI/MHS Gateway Programmatic Interface (GPI) Programming Guide—424822-001
B-45
 Remove the attribute MH_T_RECIPIENT_NUMBER
 Insert the attribute MH_T_RECIPIENT_NUMBER with new value
 Insert the object into the root object
 BUILD_ROOT_OBJECT --> was successful!
 Call GPI_MT_TRANSFER_OUT_ --> was successful!
 Call GPI_MT_WAIT_
 GPI_MT_WAIT_ is waiting for a message
 GPI_MT_WAIT_ --> was successful!
 Call GPI_MT_START_TRANSFER_IN_ --> was successful!
 Call SHOW_MESSAGE
 The received object is a message.
 Number of attributes: 15
 Alternate Recip Allowed: 0
 Content Identifier: -
 Content Return Request: 0
 Content Type: 22
 Conversion Prohibited: 0
 Disclosure Allowed: 0
 Priority: 0
 Bilateral Information
 Admd Name: POSTMASTER1
 Country Name: US
 Information: 4 3 0 0 0
 Interpersonal Message
 Auto Forward: 0
 Importance: 1
 Sensitivity: 0
 Subject: MY SUBJECT
 IA5 Text Body Part
 Repertoire: 5
 Text: This is the content of the message.
 This is the second line.
 IPM Identifier
 User Relative Id.: MY-USER-ID
 External Trace Entry
 Admd Name: POSTMASTER1
 Country Name: US
 Prmd Identifier: DEVELOPMENT
 Action: 0
 Arrival Time:
 Mts Identifier
 Admd Name: POSTMASTER1
 Country Name: US
 Local Identifier: DESIGNATOR1 G0000000465241141009
 Eits
 Builtin Eits: 2
 Originator Name
 Admd Name: POSTMASTER1
 Country Name: US
 Prmd name: DEVELOPMENT
 Organization Name: MTA1
 Organization Unit Name: GWUSERS
 Surname: UAGW11
 Recipient Descriptors
 Explicit Conversion: -1
 MTA Report Request: 1
 MTA Responsibility: 1
 Originator Report Request 2
 Recipient Number: 1
 OR Name
 Admd Name: POSTMASTER1
 Country Name: US
 Prmd Name: DEVELOPMENT










