************************************************************************
Overview
************************************************************************
This example shows how to use the structured attribute mechanism.
It shows how to reconstruct an email header from an IMAP message using
specific "start" and "end" flags of the metadata attribute structure. 

************************************************************************
Installation
************************************************************************
make: build application
make install: install application in src/bin directory

Notes:
build is dynamic by default.
Set STATIC=1 for static build.
Set DEBUG=1 to get debug info.

************************************************************************
Usage
************************************************************************
./structured_attributes <pcap_file>

A pcap file is included for quick testing:
imap_fetch_email_workflow.pcap

The LD_LIBRARY_PATH variable can be set as follows from this directory:
$ export LD_LIBRARY_PATH=../../../lib
