Displaying 20 results from an estimated 70 matches for "fuint32".
Did you mean:
uint32
2012 Jul 16
2
[PATCH V4] NEW API: add new api xfs_info
...ed35 100644
--- a/generator/generator_structs.ml
+++ b/generator/generator_structs.ml
@@ -213,6 +213,35 @@ let structs = [
"iso_volume_effective_t", FInt64;
];
+ (* XFS info descriptor. *)
+ "xfsinfo", [
+ "mntpoint", FString;
+ "inodesize", FUInt32;
+ "agcount", FUInt32;
+ "agsize", FUInt32;
+ "sectsize", FUInt32;
+ "attr", FUInt32;
+ "blocksize", FUInt32;
+ "datablocks", FUInt64;
+ "imaxpct", FUInt32;
+ "sunit", FUInt32;
+ "swidth&...
2019 Jun 27
0
[PATCH 4/9] Rust bindings: Add generator of structs
...ot;\n";
+ pr "pub struct %s {\n" name;
+ List.iter (
+ function
+ | n, FChar -> pr " %s: i8,\n" n
+ | n, FString -> pr " %s: String,\n" n
+ | n, FBuffer -> pr " %s: Vec<u8>,\n" n
+ | n, FUInt32 -> pr " %s: u32,\n" n
+ | n, FInt32 -> pr " %s: i32,\n" n
+ | n, (FUInt64 | FBytes) -> pr " %s: u64,\n" n
+ | n, FInt64 -> pr " %s: i64,\n" n
+ | n, FUUID -> pr " %s: UUID,\n" n
+ | n,...
2016 Jun 15
1
Re: [PATCH v8 1/3] New API: internal_filesystem_walk
...information. *)
> + { defaults with
> + s_name = "tsk_dirent";
> + s_cols = [
> + "tsk_inode", FUInt64;
> + "tsk_type", FChar;
> + "tsk_size", FInt64;
> + "tsk_name", FString;
> + "tsk_flags", FUInt32;
Note if you ever need to add more columns in future, you won't be able
to, unless you reserve some space in the struct now by adding:
"tsk_spare1", FInt64;
"tsk_spare2", FInt64;
"tsk_spare3", FInt64;
"tsk_spare4", FInt64;
"tsk_spare...
2016 Apr 05
1
Re: [PATCH v3 1/5] generator: Added tsk_dirent struct
...ormation. *)
> + { defaults with
> + s_name = "tsk_dirent";
> + s_cols = [
> + "tsk_inode", FUInt64;
> + "tsk_type", FChar;
> + "tsk_size", FInt64;
> + "tsk_name", FString;
> + "tsk_allocated", FUInt32;
Once added to the public API, a struct cannot be extended anymore
(it would break the ABI). IMHO it would make more sense to have
a tsk_flags instead of tsk_allocated, documenting the values of the
flags/bits set: this way, adding a new simple boolean flag won't
require a new tsk_dirent2 (se...
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
...ame name
| name, FUUID ->
- pr " add_assoc_stringl (return_value, \"%s\", r->%s, 32, 1);\n"
+ pr " guestfs_add_assoc_stringl (return_value, \"%s\", r->%s, 32, 1);\n"
name name
| name, (FBytes|FUInt64|FInt64|FInt32|FUInt32) ->
pr " add_assoc_long (return_value, \"%s\", r->%s);\n"
name name
| name, FChar ->
- pr " add_assoc_stringl (return_value, \"%s\", &r->%s, 1, 1);\n"
+ pr " guestfs_add_assoc_stringl (return_valu...
2012 Oct 30
5
[PATCH v3 0/5] Add symbol versioning.
This is a simpler patch series to add symbol versioning.
I have pushed patches 1-3 upstream.
Rich.
2012 Oct 30
7
[PATCH v2 0/7] Add symbol versioning (now working).
This rather more complex patch series adds symbol versioning (7/7
shows it in action). This works for me, tested by running old and new
virt-inspector binaries against the new library.
Rich.
2012 Mar 28
1
[PATCH] Split gobject sources into 1 file per class
This patch replaces patches 14 and 15 from my previous series. The gtk-doc
output is now reasonable, and we can rely on an automatically generated
guestfs-sections.txt.
Matt
2016 Jul 04
1
Re: [PATCH 1/2] filesystem_walk: more information into tsk_dirent
...generator/structs.ml b/generator/structs.ml
> index eb8931f..029bc3a 100644
> --- a/generator/structs.ml
> +++ b/generator/structs.ml
> @@ -454,17 +454,17 @@ let structs = [
> "tsk_size", FInt64;
> "tsk_name", FString;
> "tsk_flags", FUInt32;
> + "tsk_atime_sec", FInt64;
> + "tsk_atime_nsec", FInt64;
> + "tsk_mtime_sec", FInt64;
> + "tsk_mtime_nsec", FInt64;
> + "tsk_ctime_sec", FInt64;
> + "tsk_ctime_nsec", FInt64;
> + "tsk_crtim...
2016 Jul 03
4
[PATCH 0/2] More information reported by filesystem_walk
Report access, modification, status update and creation time in Unix format.
Report number of links pointing to a given entry.
If the entry is a symbolic link, report the path of its target.
If the filesystem supports native/transparent compression, report compressed
files with dedicated flag (DIRENT_COMPRESSED 0x04).
Matteo Cafasso (2):
filesystem_walk: more information into tsk_dirent
2016 Apr 05
0
[PATCH v3 1/5] generator: Added tsk_dirent struct
...+ (* The Sleuth Kit directory entry information. *)
+ { defaults with
+ s_name = "tsk_dirent";
+ s_cols = [
+ "tsk_inode", FUInt64;
+ "tsk_type", FChar;
+ "tsk_size", FInt64;
+ "tsk_name", FString;
+ "tsk_allocated", FUInt32;
+ ];
+ s_camel_name = "TSKDirent" };
+
] (* end of structs *)
let lookup_struct name =
--
2.8.0.rc3
2016 Apr 11
0
[PATCH v5 1/5] generator: Added tsk_dirent struct
...;
+
+ (* The Sleuth Kit directory entry information. *)
+ { defaults with
+ s_name = "tsk_dirent";
+ s_cols = [
+ "tsk_inode", FUInt64;
+ "tsk_type", FChar;
+ "tsk_size", FInt64;
+ "tsk_name", FString;
+ "tsk_flags", FUInt32;
+ ];
+ s_camel_name = "TSKDirent" };
+
] (* end of structs *)
let lookup_struct name =
--
2.8.0.rc3
2019 Jun 27
0
[PATCH 7/9] Rust bindings: Complete actions
...impl UUID {
pr "pub struct %s {\n" name;
List.iter (
function
- | n, FChar -> pr " %s: i8,\n" n
- | n, FString -> pr " %s: String,\n" n
- | n, FBuffer -> pr " %s: Vec<u8>,\n" n
- | n, FUInt32 -> pr " %s: u32,\n" n
- | n, FInt32 -> pr " %s: i32,\n" n
- | n, (FUInt64 | FBytes) -> pr " %s: u64,\n" n
- | n, FInt64 -> pr " %s: i64,\n" n
- | n, FUUID -> pr " %s: UUID,\n" n
- | n,...
2015 Jun 11
2
[PATCH] New API: btrfs_filesystem_show_all
...];
s_camel_name = "BTRFSScrub" };
+ (* btrfs filesystem show output *)
+ { defaults with
+ s_name = "btrfsfsshow";
+ s_cols = [
+ "btrfsfsshow_label", FString;
+ "btrfsfsshow_uuid", FString;
+ "btrfsfsshow_devid", FUInt32;
+ "btrfsfsshow_total_bytes", FUUID;
+ "btrfsfsshow_bytes_used", FUUID;
+ "btrfsfsshow_device", FString;
+ ];
+ s_camel_name = "BTRFSFilesystemShowAll" };
+
(* XFS info descriptor. *)
{ defaults with
s_name = "xfsinfo"...
2015 Jun 11
1
Re: [PATCH] New API: btrfs_filesystem_show_all
...(* btrfs filesystem show output *)
> > + { defaults with
> > + s_name = "btrfsfsshow";
> > + s_cols = [
> > + "btrfsfsshow_label", FString;
> > + "btrfsfsshow_uuid", FString;
> > + "btrfsfsshow_devid", FUInt32;
> > + "btrfsfsshow_total_bytes", FUUID;
> > + "btrfsfsshow_bytes_used", FUUID;
>
> Surely bytes are not an UUID? There's FBytes, so you need to convert
> the size strings to bytes.
But filesystem show could not output raw data...
>
>...
2016 Feb 24
3
[PATCH 1/3] src: generate code for printing contents of structs
...64 \"%%s\", indent, %s->%s, linesep);\n"
+ name typ name
+ | name, FInt64 ->
+ pr " fprintf (dest, \"%%s%s: %%\" PRIi64 \"%%s\", indent, %s->%s, linesep);\n"
+ name typ name
+ | name, FUInt32 ->
+ pr " fprintf (dest, \"%%s%s: %%\" PRIu32 \"%%s\", indent, %s->%s, linesep);\n"
+ name typ name
+ | name, FInt32 ->
+ pr " fprintf (dest, \"%%s%s: %%\" PRIi32 \"%%s\", indent, %s-...
2016 Mar 22
0
[PATCH v2] added find_inode API
...rnalMountable";
- };
+ s_camel_name = "InternalMountable" };
+
+ (* The Sleuth Kit node info struct. *)
+ { defaults with
+ s_name = "tsk_node";
+ s_cols = [
+ "tsk_name", FString;
+ "tsk_inode", FUInt64;
+ "tsk_allocated", FUInt32;
+ ];
+ s_camel_name = "TSKNode" };
+
] (* end of structs *)
let lookup_struct name =
diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR
index f27d46f..5873851 100644
--- a/src/MAX_PROC_NR
+++ b/src/MAX_PROC_NR
@@ -1 +1 @@
-466
+467
--
2.7.0
2016 Mar 20
1
[PATCH] ffind API to retrieve a file name given its inode
The ffind API allows to retrieve a file name from a device given its inode.
The function returns a struct "tsknode" which contains the file name, its inode and it's allocation status. The struct will be employed by other APIs as well (fls, ifind etc..).
$ ./run guestfish --ro -a /home/noxdafox/disks/ubuntu.qcow2
><fs> run
><fs> ffind /dev/sda1 2
tsk_name: /
2016 Jul 03
0
[PATCH 1/2] filesystem_walk: more information into tsk_dirent
...following characters:
diff --git a/generator/structs.ml b/generator/structs.ml
index eb8931f..029bc3a 100644
--- a/generator/structs.ml
+++ b/generator/structs.ml
@@ -454,17 +454,17 @@ let structs = [
"tsk_size", FInt64;
"tsk_name", FString;
"tsk_flags", FUInt32;
+ "tsk_atime_sec", FInt64;
+ "tsk_atime_nsec", FInt64;
+ "tsk_mtime_sec", FInt64;
+ "tsk_mtime_nsec", FInt64;
+ "tsk_ctime_sec", FInt64;
+ "tsk_ctime_nsec", FInt64;
+ "tsk_crtime_sec", FInt64;
+ "tsk...
2016 Jul 07
1
[PATCH] filesystem_walk: more information into tsk_dirent
...following characters:
diff --git a/generator/structs.ml b/generator/structs.ml
index eb8931f..029bc3a 100644
--- a/generator/structs.ml
+++ b/generator/structs.ml
@@ -454,17 +454,17 @@ let structs = [
"tsk_size", FInt64;
"tsk_name", FString;
"tsk_flags", FUInt32;
+ "tsk_atime_sec", FInt64;
+ "tsk_atime_nsec", FInt64;
+ "tsk_mtime_sec", FInt64;
+ "tsk_mtime_nsec", FInt64;
+ "tsk_ctime_sec", FInt64;
+ "tsk_ctime_nsec", FInt64;
+ "tsk_crtime_sec", FInt64;
+ "tsk...