File: location.h

package info (click to toggle)
openser 1.1.0-9etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,828 kB
  • ctags: 11,809
  • sloc: ansic: 120,528; sh: 5,249; yacc: 1,716; makefile: 1,261; php: 656; perl: 205; sql: 190
file content (37 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _MODULES_PA_LOCATION_H_
#define _MODULES_PA_LOCATION_H_

int pa_location_init(void);

/*
 * lookup placeid corresponding to room name
 */
int location_lookup_placeid(str *room_name, int *placeid);

/*
 * Add a user information
 */
int location_doc_add_user(str* _b, int _l, str *user_uri);

/*
 * Create start of location document
 */
int location_doc_start(str* _b, int _l);

/*
 * Start a resource in a location document
 */
int location_doc_start_userlist(str* _b, int _l, str* _uri);

/*
 * End a userlist in a location document
 */
int location_doc_end_resource(str *_b, int _l);

/*
 * End a location document
 */
int location_doc_end(str* _b, int _l);


#endif /* _MODULES_PA_LOCATION_H_ */