[xcap table] Mapping between "doc_type" column and XCAP document type?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[xcap table] Mapping between "doc_type" column and XCAP document type?

Iñaki Baz Castillo
Hi, could I know the exact mapping which identifies a XCAP document type with
a integer value in the xcap table "doc_type" column?

Thanks.


--
Iñaki Baz Castillo <[hidden email]>

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: [xcap table] Mapping between "doc_type" column and XCAP document type?

Adrian Georgescu
app_mapping = {"pres-rules"       : 1,
                    "resource-lists"   : 2,
                    "rls-services"     : 3,
                    "pidf-manipulation": 4
}

--
Adrian





On Aug 30, 2009, at 7:10 PM, Iñaki Baz Castillo wrote:

> doc_type


_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: [xcap table] Mapping between "doc_type" column and XCAP document type?

Iñaki Baz Castillo
El Domingo, 30 de Agosto de 2009, Adrian Georgescu escribió:
> app_mapping = {"pres-rules"       : 1,
>                     "resource-lists"   : 2,
>                     "rls-services"     : 3,
>                     "pidf-manipulation": 4
> }

Thanks Adrian.

--
Iñaki Baz Castillo <[hidden email]>

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: [xcap table] Mapping between "doc_type" column and XCAP document type?

Anca Vamanu-2
In reply to this post by Iñaki Baz Castillo
Iñaki Baz Castillo wrote:
> Hi, could I know the exact mapping which identifies a XCAP document type with
> a integer value in the xcap table "doc_type" column?
>
> Thanks.
>
>
>  
Hi Inaki,

It is in file modules/xcap_client/xcap_callbacks.h

#define PRES_RULES                1<<1
#define RESOURCE_LIST          1<<2
#define RLS_SERVICES             1<<3
#define PIDF_MANIPULATION   1<<4



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel