Changeset df0d93a for message.c


Ignore:
Timestamp:
Jun 1, 2003, 3:14:31 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3abf28b
Parents:
31e48a3
Message:
cleaned up the info funciton, put back additional data
  for outgoing messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r0ff8fb57 rdf0d93a  
    242242  return(0);
    243243}
     244
     245char *owl_message_type_to_string(owl_message *m)
     246{
     247  if (m->type==OWL_MESSAGE_TYPE_ADMIN) return("admin");
     248  if (m->type==OWL_MESSAGE_TYPE_GENERIC) return("generic");
     249  if (m->type==OWL_MESSAGE_TYPE_ZEPHYR) return("zephyr");
     250  if (m->type==OWL_MESSAGE_TYPE_AIM) return("aim");
     251  if (m->type==OWL_MESSAGE_TYPE_JABBER) return("jabber");
     252  if (m->type==OWL_MESSAGE_TYPE_ICQ) return("icq");
     253  if (m->type==OWL_MESSAGE_TYPE_MSN) return("msn");
     254  return("unknown");
     255}
     256
    244257
    245258char *owl_message_get_text(owl_message *m)
Note: See TracChangeset for help on using the changeset viewer.