- Main Page
- Data Structures
- Files

- File List
- Globals

# jasperserver/marshaller.h File Reference

`#include "stringbuffer.h"`
`#include "repository.h"`

Go to the source code of this file.

## Functions
int | jasperserver_request_marshal (jasperserver_request_t *request, jasperserver_string_t *buffer)
| Create an xml string representing the request.

## Function Documentation

int jasperserver_request_marshal | ( | jasperserver_request_t * | request,
|  | jasperserver_string_t * | buffer |
| ) |  |  |

Create an xml string representing the request.

This function transform a request structure into an xml. The xml is encoded in UTF8 and is stored in the 'buffer' string.

Parameters:

  | request | a not null request
  | buffer | a not null jasperserver_string_t *

Returns:
  the length of buffer or -1 if an error occurs.

Definition at line 30 of file marshaller.c.