Browse Source

autogenerated docs for Volker's new functions

doxygen-key-id
parent
commit
4faadedeee
2 changed files with 42 additions and 0 deletions
  1. +34
    -0
      src/message_api.c
  2. +8
    -0
      src/pEp_internal.h

+ 34
- 0
src/message_api.c View File

@ -246,6 +246,16 @@ void replace_opt_field(message *msg,
}
}
/**
* @internal
*
* <!-- sync_message_attached() -->
*
* @brief TODO
*
* @param[in] *msg message
*
*/
bool sync_message_attached(message *msg)
{
if (!(msg && msg->attachments))
@ -259,6 +269,18 @@ bool sync_message_attached(message *msg)
return false;
}
/**
* @internal
*
* <!-- set_receiverRating() -->
*
* @brief TODO
*
* @param[in] session PEP_SESSION
* @param[in] *msg message
* @param[in] rating PEP_rating
*
*/
PEP_STATUS set_receiverRating(PEP_SESSION session, message *msg, PEP_rating rating)
{
if (!(session && msg && rating))
@ -287,6 +309,18 @@ PEP_STATUS set_receiverRating(PEP_SESSION session, message *msg, PEP_rating rati
return base_decorate_message(session, msg, BASE_SYNC, payload, size, msg->recv_by->fpr);
}
/**
* @internal
*
* <!-- get_receiverRating() -->
*
* @brief TODO
*
* @param[in] session PEP_SESSION
* @param[in] *msg message
* @param[in] *rating PEP_rating
*
*/
PEP_STATUS get_receiverRating(PEP_SESSION session, message *msg, PEP_rating *rating)
{
if (!(session && msg && rating))


+ 8
- 0
src/pEp_internal.h View File

@ -743,6 +743,14 @@ static inline void _init_globals() {
// spinlock implementation
/**
* <!-- Sqlite3_step() -->
*
* @brief TODO
*
* @param[in] *stmt sqlite3_stmt
*
*/
static inline int Sqlite3_step(sqlite3_stmt* stmt)
{
int rc;


Loading…
Cancel
Save