Update of /cvsroot/playerstage/code/player/examples/plugins/exampleinterface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16675
Added Files:
128_example.def
Log Message:
added new interface definition
--- NEW FILE: 128_example.def ---
description {
* The new interface is declared in this file. It consists of a few parts:
*
* #define'd interface code and name string
*
* These are used throughout the interface. Be careful not to conflict with
* existing Player interfaces when setting them.
*
* Message subtype codes
*
* These are used by both the client and the server to differentiate between
* different messages within the same type group (e.g. different types of data
* message).
*
* Message structures
*
* Each message structure defines the layout of data in the body of a message.
* One message structure can be used by multiple types and subtypes.
*
* Exported plugin interface function
}
/** Example data */
message { DATA, EXAMPLE, 1, player_eginterf_data_t };
/** Example Request */
message { REQ, EXAMPLE, 1, player_eginterf_req_t };
/** Example Command */
message { CMD, EXAMPLE, 1, player_eginterf_cmd_t };
typedef struct player_eginterf_data
{
uint32_t stuff_count;
double *stuff;
} player_eginterf_data_t;
typedef struct player_eginterf_req
{
int value;
} player_eginterf_req_t;
typedef struct player_eginterf_cmd
{
char doStuff;
} player_eginterf_cmd_t;
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit