putBinMember
Updates a member’s contents or creates a new member if the specified memberID does not exist within the instance.
int putBinMember(int RAMid, char instanceID [256], char memberID [256],
char* contents, int length, int moreData, int start,
void** params, void*** customReturn, char error [256])
Variable | Function | Description |
---|---|---|
int RAMid | Input | Tells CARMA which RAM should be worked on. This
ID was obtained after running getRAMList or getRAMList2 . |
char instanceID[256] | Input | The instance containing the member being updated/created. |
char memberID[256] | Input | The ID of the member that is being updated/created. |
char* contents | Input | Contains the new members contents. |
int length | Input | Pointer to the length of data to be written. |
int moreData | Input | Will be 1 if the client has more chunks of data to send; 0 otherwise. |
int start | Input | The byte location of the file to start putting data. |
void** params | Input | Pointer to an array of custom parameters (see Handling custom parameters and return values). |
void*** customReturn | Output | Used to reference an array of custom return values (see Handling custom parameters and return values). |
char error[256] | Output | If an error occurs, this should be filled with a description of the error. |