* xmlCreateURI: * * Simply creates an empty xmlURI * * Returns the new structure or NULL in case of error */
| 1080 | * Returns the new structure or NULL in case of error |
| 1081 | */ |
| 1082 | xmlURIPtr |
| 1083 | xmlCreateURI(void) { |
| 1084 | xmlURIPtr ret; |
| 1085 | |
| 1086 | ret = (xmlURIPtr) xmlMalloc(sizeof(xmlURI)); |
| 1087 | if (ret == NULL) |
| 1088 | return(NULL); |
| 1089 | memset(ret, 0, sizeof(xmlURI)); |
| 1090 | ret->port = PORT_EMPTY; |
| 1091 | return(ret); |
| 1092 | } |
| 1093 | |
| 1094 | /** |
| 1095 | * xmlSaveUriRealloc: |
no outgoing calls