On May 04, 2007, at 07:57, Kallon Weingarten wrote:

Hello, Devel@mbuni.org

I am developing an mms content fingerprinter. And I have looked at the Mbuni source. I would like to test using some of the functions like mms_frombinary () in mmlib/mms_msg.c

For Example, I have http transactions containing an mms message. I would like to read in
the http file and do something like this:
1. extract and log certain http headers
2. assign mms into mmsMsg object
2.1 extract and log specified mms headers (dirive the mms message type) 2.2 extract and fingerprint (probably with CRC) mms content (will be multiple pieces of content)
   2.3 Write content to file

After getting a better feel for the mbuni processes, I would like to ask the following questions

- How can I include the mbuni libraries, namely libmms.a, to utilize such
functions as mms_frombinary(), octstr_read_file(),  ?

You would have to modify the Makefile.am files to instal the headers and libs you need. At the moment they are not installed
- In my compilation, do I need to include Kannel libraries aswell, or are they part of the mbuni libraries?

Yes you would. They are not part of the Kannel libs
- is there a way to extract specified headers from a binary mms, for eg.; char* tranID = extract_header(MmsMsg msg, "MMS_HEADER_MESSAGE_ID");

 in mms_msg.h:
Octstr  *mms_get_header_value(MmsMsg *msg, Octstr  *header);

-What c header files do I need to include?

mms_msg.h and mms_util.h should do it.
I appreciate any help.

Thank You,

Devel mailing list

Devel mailing list

Reply via email to