struct irp_lookup
{ enum irp_lookup_state state; /* Next state to consider */ struct file_attr fattr; /* Attributes to get */
};
struct irp_setattr
{ enum irp_setattr_state state; /* Next state to consider */
tui32 to_set; /* Bit mask for elements in use */ struct file_attr fattr; /* Attributes to set */
};
struct irp_write
{
tui64 offset; /* Offset the write was made at */
};
struct irp_create
{ int creating_dir; /* We're creating a directory */
};
struct irp_rename
{ char *new_name; /* New name for file */
};
/* An I/O Resource Packet to track I/O calls */
typedefstruct irp IRP;
struct irp
{
tui32 CompletionId; /* unique number */
tui32 DeviceId; /* identifies remote device */
tui32 FileId; /* RDP client provided unique number */ char completion_type; /* describes I/O type */ char *pathname; /* absolute pathname *Allocatewith
* devredir_irp_with_pathname_new() */ union
{ struct irp_lookup lookup; /* Used by lookup */ struct irp_setattr setattr; /* Used by setattr */ struct irp_write write; /* Used by write */ struct irp_create create; /* Used by create */ struct irp_rename rename; /* Use by rename */
} gen; /* Additional state data for some ops */ void *fuse_info; /* Fuse info pointer for FUSE calls */
IRP *next; /* point to next IRP */
IRP *prev; /* point to previous IRP */ int scard_index; /* used to smart card to locate dev */
IRP *devredir_irp_new(void); /* As above, but allocates sufficient space for the specified
* pathname, and copies it in to the pathname field */
IRP *devredir_irp_with_pathname_new(constchar *pathname); /* As above, but specifies a pathname length with pathname *initiallysetto"".Useifyouneedtomodifythepathname
* significantly */
IRP *devredir_irp_with_pathnamelen_new(unsignedint pathnamelen); int devredir_irp_delete(IRP *irp);
IRP *devredir_irp_find(tui32 completion_id);
IRP *devredir_irp_find_by_fileid(tui32 FileId);
IRP *devredir_irp_get_last(void); void devredir_irp_dump(void);
#endif/* end ifndef __IRP_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-07-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.