rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

Data Structures | Data Fields
urlinfo_s Struct Reference

URL control structure. More...

`#include <rpmio/rpmurl.h>`

Collaboration diagram for urlinfo_s:
[legend]

## Data Structures
struct | fdNotify_s

## Data Fields
struct rpmioItem_s | _item
const char * | url
const char * | scheme
const char * | user
const char * | password
const char * | host
const char * | portstr
const char * | query
const char * | fragment
const char * | proxyu
const char * | proxyh
int | proxyp
int | port
int | urltype
FD_t | ctrl
FD_t | data
void * | capabilities
void * | lockstore
void * | sess
const char * | location
const char * | etag
int(* | notify )(const urlinfo u, unsigned status)
void * | arg
struct urlinfo_s::fdNotify_s | info
rpmop | rop
rpmop | sop
rpmop | top
int | bufAlloced
char * | buf
int | openError
int | httpVersion
int | allow
unsigned | magic

## Detailed Description

URL control structure.

Definition at line 45 of file rpmurl.h.

## Field Documentation

struct rpmioItem_s urlinfo_s::_item

usage mutex and pool identifier.

Definition at line 46 of file rpmurl.h.

int urlinfo_s::allow

Definition at line 111 of file rpmurl.h.

Referenced by checkResponse(), and XurlNew().

void* urlinfo_s::arg

Definition at line 89 of file rpmurl.h.

Referenced by XurlNew().

char* urlinfo_s::buf

I/O buffer

Definition at line 108 of file rpmurl.h.

Referenced by checkResponse(), ftpAbort(), urlFini(), and XurlNew().

int urlinfo_s::bufAlloced

sizeof I/O buffer

Definition at line 106 of file rpmurl.h.

Referenced by checkResponse(), ftpAbort(), and XurlNew().

void* urlinfo_s::capabilities

neon: ne_server_capabilities ptr

Definition at line 76 of file rpmurl.h.

FD_t urlinfo_s::ctrl

control channel

Definition at line 71 of file rpmurl.h.

Referenced by ftpAbort(), ftpCheckResponse(), ftpCmd(), ftpCommand(), ftpFileDone(), ftpLogin(), ftpReq(), httpOpen(), ufdClose(), urlConnect(), urlFini(), and XurlNew().

FD_t urlinfo_s::data

per-xfer data channel

Definition at line 73 of file rpmurl.h.

Referenced by ftpOpen(), httpOpen(), ufdClose(), urlFini(), and XurlNew().

const char* urlinfo_s::etag

ETag: tag.

Definition at line 85 of file rpmurl.h.

Referenced by urlFini(), and XurlNew().

const char* urlinfo_s::fragment

URI fragment.

Definition at line 62 of file rpmurl.h.

Referenced by urlFini(), and urlSplit().

const char* urlinfo_s::host

URI host.

Definition at line 56 of file rpmurl.h.

Referenced by ftpLogin(), httpReq(), urlConnect(), urlFind(), urlFini(), urlFreeCache(), and urlSplit().

int urlinfo_s::httpVersion

Definition at line 110 of file rpmurl.h.

Referenced by checkResponse(), httpReq(), and XurlNew().

struct urlinfo_s::fdNotify_s urlinfo_s::info

const char* urlinfo_s::location

Location: tag.

Definition at line 83 of file rpmurl.h.

Referenced by urlFini(), and XurlNew().

void* urlinfo_s::lockstore

neon: ne_lock_store ptr

Definition at line 78 of file rpmurl.h.

unsigned urlinfo_s::magic

Definition at line 120 of file rpmurl.h.

Referenced by XurlNew().

int(* urlinfo_s::notify)(const urlinfo u, unsigned status)

Definition at line 87 of file rpmurl.h.

Referenced by XurlNew().

int urlinfo_s::openError

Type of open failure

Definition at line 109 of file rpmurl.h.

Referenced by ftpNLST(), ufdOpen(), urlConnect(), and urlStrerror().

const char* urlinfo_s::password

URI password.

Definition at line 54 of file rpmurl.h.

Referenced by ftpLogin(), urlConnect(), urlFind(), urlFini(), and urlSplit().

int urlinfo_s::port

URI port.

Definition at line 68 of file rpmurl.h.

Referenced by ftpLogin(), httpReq(), urlSplit(), and XurlNew().

const char* urlinfo_s::portstr

URI port string.

Definition at line 58 of file rpmurl.h.

Referenced by urlFind(), urlFini(), and urlSplit().

const char* urlinfo_s::proxyh

FTP/HTTP: proxy host

Definition at line 66 of file rpmurl.h.

Referenced by ftpLogin(), httpReq(), urlFind(), and urlFini().

int urlinfo_s::proxyp

FTP/HTTP: proxy port

Definition at line 67 of file rpmurl.h.

Referenced by ftpLogin(), httpReq(), urlFind(), and XurlNew().

const char* urlinfo_s::proxyu

FTP: proxy user

Definition at line 64 of file rpmurl.h.

Referenced by ftpLogin(), urlFind(), and urlFini().

const char* urlinfo_s::query

URI ?query.

Definition at line 60 of file rpmurl.h.

Referenced by urlFini(), and urlSplit().

rpmop urlinfo_s::rop

Receive accumulator.

Definition at line 100 of file rpmurl.h.

Referenced by urlFini(), and XurlNew().

const char* urlinfo_s::scheme

URI scheme.

Definition at line 50 of file rpmurl.h.

Referenced by ufdClose(), urlFind(), urlFini(), urlFreeCache(), and urlSplit().

void* urlinfo_s::sess

neon: ne_session ptr

Definition at line 80 of file rpmurl.h.

rpmop urlinfo_s::sop

Send accumulator.

Definition at line 102 of file rpmurl.h.

Referenced by urlFini(), and XurlNew().

rpmop urlinfo_s::top

Total accumulator.

Definition at line 104 of file rpmurl.h.

Referenced by urlFini(), and XurlNew().

const char* urlinfo_s::url

copy of original url

Definition at line 48 of file rpmurl.h.

Referenced by httpReq(), urlFini(), and urlSplit().

int urlinfo_s::urltype

URI type.

Definition at line 69 of file rpmurl.h.

Referenced by ufdClose(), urlConnect(), urlFind(), urlSplit(), and XurlNew().

const char* urlinfo_s::user

URI user.

Definition at line 52 of file rpmurl.h.

Referenced by ftpLogin(), urlConnect(), urlFind(), urlFini(), and urlSplit().

The documentation for this struct was generated from the following file:

- rpmio/rpmurl.h