1sdp_delete_aClolm_mfuineilcda(t3iCoOnMMPPrUoTtIoLc)ol Parser Utilitsideps_dLeilbertaer_yalFlu_nfciteilodn(s3COMMPUTIL)
2
3
4

NAME

6       sdp_delete_all_field,   sdp_delete_all_media_field  -  delete  all  SDP
7       fields
8

SYNOPSIS

10       cc [ flag...] file... -lcommputil [ library...]
11       #include <sdp.h>
12
13       int sdp_delete_all_field(sdp_session_t *session,
14            const char field);
15
16
17       int sdp_delete_all_media_field(sdp_media_t *media,
18            const char field);
19
20

DESCRIPTION

22       The sdp_delete_all_field() function deletes all the occurrences of  the
23       specified  SDP  field  from  the session structure. For example, if the
24       session structure has 3 bandwidth (b=) fields, then when this  function
25       is  called with SDP_BANDWIDTH_FIELD, all the three bandwidth fields are
26       deleted from the session structure.
27
28
29       The sdp_delete_all_media_field() function deletes all  the  occurrences
30       of  the  specified  SDP  field  from the specified media structure. For
31       example, if the caller wants to delete all the attribute  fields  in  a
32       media  structure,  calling this function with SDP_ATTRIBUTE_FIELD argu‐
33       ment would delete all the attribute fields in the media structure.
34

RETURN VALUES

36       Upon successful completion, these functions return  0.  Otherwise,  the
37       appropriate  error value is returned. The value of errno is not changed
38       by these calls in the event of an error.
39

ERRORS

41       These functions will fail if:
42
43       EINVAL    The session or media argument is NULL or the  field  type  is
44                 unknown.
45
46

ATTRIBUTES

48       See attributes(5) for descriptions of the following attributes:
49
50
51
52
53       ┌─────────────────────────────┬─────────────────────────────┐
54       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │Interface Stability          │Committed                    │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │MT-Level                     │Safe                         │
59       └─────────────────────────────┴─────────────────────────────┘
60

SEE ALSO

62       libcommputil(3LIB), attributes(5)
63
64
65
66SunOS 5.11                        12 Oct 2007 sdp_delete_all_field(3COMMPUTIL)
Impressum