- Main Page
- Data Structures
- Files

- File List
- Globals

# samples/jslist.c File Reference

`#include <jasperserver.h>`

Go to the source code of this file.

## Functions
void | list_directory (char *dir)
| Sample function to list a folder in the repository.
int | main (int argc, char **argv)
## Variables
const char | server [] = "http://127.0.0.1:8080/jasperserver/services/repository"

## Detailed Description

This sample shows how to list a directory in the repository.

See also:
  jasperserver_ws_list

Definition in file jslist.c.

## Function Documentation

void list_directory | ( | char * | dir | ) |

Sample function to list a folder in the repository.

Parameters:

  | dir | URI of the folder to list.

Definition at line 39 of file jslist.c.

int main | ( | int | argc,
|  | char ** | argv |
| ) |  |  |

Definition at line 92 of file jslist.c.

## Variable Documentation

const char server[] = "http://127.0.0.1:8080/jasperserver/services/repository"

Definition at line 32 of file jslist.c.