* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
- * limitations under the License.
+ * limitations under the License.
*/
#ifndef __TIZEN_MESSAGING_ERROR_H__
} messages_message_s;
typedef struct _messages_attachment_s {
- int media_type;
- char filepath[MSG_FILEPATH_LEN_MAX +1];
+ int media_type;
+ char filepath[MSG_FILEPATH_LEN_MAX +1];
} messages_attachment_s;
typedef struct _messages_sent_callback_s {
LOGE("Error - Feature getting from System Info"); \
return MESSAGES_ERROR_OPERATION_FAILED; \
} \
- } while(0)
+ } while (0)
int _messages_convert_mbox_to_fw(messages_message_box_e mbox);
int _messages_convert_msgtype_to_fw(messages_message_type_e type);
*
* @see messages_send_message()
*/
-typedef void (* messages_sent_cb)(messages_sending_result_e result, void *user_data);
+typedef void (*messages_sent_cb)(messages_sending_result_e result, void *user_data);
/**
* @see messages_set_message_incoming_cb()
* @see messages_unset_message_incoming_cb()
*/
-typedef void (* messages_incoming_cb)(messages_message_h incoming_msg, void *user_data);
+typedef void (*messages_incoming_cb)(messages_message_h incoming_msg, void *user_data);
/**
*
* @see messages_foreach_message()
*/
-typedef bool (* messages_search_cb)(messages_message_h msg, int index, int result_count, int total_count, void *user_data);
+typedef bool (*messages_search_cb)(messages_message_h msg, int index, int result_count, int total_count, void *user_data);
/**
* @see messages_push_set_incoming_cb()
* @see messages_push_unset_incoming_cb()
*/
-typedef void (* messages_push_incoming_cb)(const char *header, const char *body, int body_length, void *user_data);
+typedef void (*messages_push_incoming_cb)(const char *header, const char *body, int body_length, void *user_data);
/**
* @}