text: /**
   * @file OscAddress.h
   * @author Seb Madgwick
   * @brief Functions for matching and manipulating OSC address patterns and OSC
   * addresses.
   * See http://opensoundcontrol.org/spec-1_0
   */
  
  #ifndef OSC_ADDRESS_H
  #define OSC_ADDRESS_H
  
  //------------------------------------------------------------------------------
  // Includes
  
  #include "OscCommon.h"
  #include "OscError.h"
  #include <stdbool.h>
  #include <stddef.h>
  
  //------------------------------------------------------------------------------
  // Function prototypes
  
  bool OscAddressMatch(const char * oscAddressPattern, const char * const oscAddress);
  bool OscAddressMatchPartial(const char * oscAddressPattern, const char * const oscAddress);
  bool OscAddressIsLiteral(const char * oscAddressPattern);
  unsigned int OscAddressGetNumberOfParts(const char * oscAddressPattern);
  OscError OscAddressGetPartAtIndex(const char * oscAddressPattern, const unsigned int index, char * const destination, const size_t destinationSize);
  
  #endif
  
  //------------------------------------------------------------------------------
  // End of file
  