# Synopsis

PDX_MSGT mpm_ParseToken(long option, va_list *ap, char **text, char **file, int *line, FILE **stream)

# Purpose

Parse tokens for the message processor.

# Description

This function will parse the tokens in the specified argument list pointer and return a text string, file name, line number, stream pointer and a pointer to the new argument pointer.

# Input

## option

Options (not used)

## ap

Argument pointer

# Output

## ap

New argument pointer

## text

Text string

## file

File name

## line

Line number

## stream

Stream pointer

# Return

MPM_NOERR or error