/*
* $Id: protos_api.h,v 0.0.0.1 2003/09/10
*
- * AUTHOR: Petr Smolik petr.smolik@wo.cz
- *
- * ORTE - OCERA Real-Time Ethernet http://www.ocera.org/
+ * -------------------------------------------------------------------
+ * ORTE
+ * Open Real-Time Ethernet
+ *
+ * Copyright (C) 2001-2006
+ * Department of Control Engineering FEE CTU Prague, Czech Republic
+ * http://dce.felk.cvut.cz
+ * http://www.ocera.org
+ *
+ * Author: Petr Smolik petr@smoliku.cz
+ * Advisor: Pavel Pisa
+ * Project Responsible: Zdenek Hanzalek
* --------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
ORTEPublicationSendEx(ORTEPublication *cstWriter,
ORTEPublicationSendParam *psp);
+/**
+ * ORTEPublicationGetInstance - return pointer to an instance
+ * @cstWriter: publication object
+ *
+ * Returns handle
+ */
+extern void *
+ORTEPublicationGetInstance(ORTEPublication *cstWriter);
+
+
///////////////////////////////////////////////////////////////////////////////
// ORTESubscription.c
/**
* ORTESubscriptionGetStatus - get status of a subscription
* @cstReader: handle to subscription
- * @status: pointer to ORTESubsStatus structure
+ * @status: pointer to ORTESubsStatus structure
*
* Returns ORTE_OK if successful or ORTE_BAD_HANDLE if @cstReader is not valid subscription handle.
*/
extern int
ORTESubscriptionPull(ORTESubscription *cstReader);
+/**
+ * ORTESubscriptionGetInstance - return pointer to an instance
+ * @cstReader: publication object
+ *
+ * Returns handle
+ */
+extern void *
+ORTESubscriptionGetInstance(ORTESubscription *cstReader);
+
+
///////////////////////////////////////////////////////////////////////////////
// ORTETypeRegister.c
/**
* @gms: pointer to a function given maximum length of data (in bytes)
* @ms: default maximal size
*
- * Each data type has to be registered. Main purpose of this process is to define serialization and deserialization functions for given data type. The same data type can be
+ * Each data type has to be registered. Main purpose of this process is to define serialization and deserialization functions for given data type. The same data type can be
* registered several times, previous registrations of the same type will be overwritten.
- *
- * Examples of serialization and deserialization functions can be found if contrib/shape/ortedemo_types.c file.
+ *
+ * Examples of serialization and deserialization functions can be found if contrib/shape/ortedemo_types.c file.
*
* Returns ORTE_OK if new data type has been succesfully registered.
*/