@girs/gtop-2.0 2.0.0-3.2.6 → 2.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gtop-2.0.d.cts +27 -27
- package/gtop-2.0.d.ts +27 -27
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GTop-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GTop-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gtop-2.0.d.cts
CHANGED
|
@@ -21,9 +21,9 @@ export const CONN_INTERNET: number
|
|
|
21
21
|
export const CONN_IPC: number
|
|
22
22
|
export const CONN_UNIX: number
|
|
23
23
|
export const DEFAULT_PORT: number
|
|
24
|
-
export const DEFAUTH_NAME: string
|
|
24
|
+
export const DEFAUTH_NAME: string
|
|
25
25
|
export const EOT_CHR: number
|
|
26
|
-
export const EOT_STR: string
|
|
26
|
+
export const EOT_STR: string
|
|
27
27
|
export const FALSE: number
|
|
28
28
|
export const GLIBTOP_CMND_CPU: number
|
|
29
29
|
export const GLIBTOP_CMND_DISK: number
|
|
@@ -407,9 +407,9 @@ export const HOSTNAMSZ: number
|
|
|
407
407
|
export const LIBGTOP_MAJOR_VERSION: number
|
|
408
408
|
export const LIBGTOP_MICRO_VERSION: number
|
|
409
409
|
export const LIBGTOP_MINOR_VERSION: number
|
|
410
|
-
export const MCOOKIE_NAME: string
|
|
411
|
-
export const MCOOKIE_SCREEN: string
|
|
412
|
-
export const MCOOKIE_X_NAME: string
|
|
410
|
+
export const MCOOKIE_NAME: string
|
|
411
|
+
export const MCOOKIE_SCREEN: string
|
|
412
|
+
export const MCOOKIE_X_NAME: string
|
|
413
413
|
export const PATCHLEVEL: number
|
|
414
414
|
export const REPLYSIZ: number
|
|
415
415
|
export const TABLE_SIZE: number
|
|
@@ -417,13 +417,13 @@ export const TRUE: number
|
|
|
417
417
|
export function glibtop_close(): void
|
|
418
418
|
export function glibtop_get_cpu(buf: glibtop_cpu): void
|
|
419
419
|
export function glibtop_get_disk(buf: glibtop_disk): void
|
|
420
|
-
export function glibtop_get_fsusage(buf: glibtop_fsusage, mount_dir: string
|
|
420
|
+
export function glibtop_get_fsusage(buf: glibtop_fsusage, mount_dir: string): void
|
|
421
421
|
export function glibtop_get_loadavg(buf: glibtop_loadavg): void
|
|
422
422
|
export function glibtop_get_mem(buf: glibtop_mem): void
|
|
423
423
|
export function glibtop_get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
|
|
424
424
|
export function glibtop_get_msg_limits(buf: glibtop_msg_limits): void
|
|
425
425
|
export function glibtop_get_netlist(buf: glibtop_netlist): string[]
|
|
426
|
-
export function glibtop_get_netload(buf: glibtop_netload, interface: string
|
|
426
|
+
export function glibtop_get_netload(buf: glibtop_netload, interface: string): void
|
|
427
427
|
export function glibtop_get_ppp(buf: glibtop_ppp, device: number): void
|
|
428
428
|
export function glibtop_get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
|
|
429
429
|
export function glibtop_get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
|
|
@@ -448,8 +448,8 @@ export function glibtop_get_sysinfo(): glibtop_sysinfo
|
|
|
448
448
|
export function glibtop_get_uptime(buf: glibtop_uptime): void
|
|
449
449
|
export function glibtop_init(): glibtop
|
|
450
450
|
export function glibtop_init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
|
|
451
|
-
export function glibtop_internet_addr(host: string
|
|
452
|
-
export function glibtop_make_connection(hostarg: string
|
|
451
|
+
export function glibtop_internet_addr(host: string): number
|
|
452
|
+
export function glibtop_make_connection(hostarg: string, portarg: number, s: number): number
|
|
453
453
|
export interface glibtop {
|
|
454
454
|
|
|
455
455
|
// Own fields of GTop-2.0.GTop.glibtop
|
|
@@ -463,11 +463,11 @@ export interface glibtop {
|
|
|
463
463
|
ncpu: number
|
|
464
464
|
real_ncpu: number
|
|
465
465
|
os_version_code: number
|
|
466
|
-
name: string
|
|
467
|
-
server_command: string
|
|
468
|
-
server_host: string
|
|
469
|
-
server_user: string
|
|
470
|
-
server_rsh: string
|
|
466
|
+
name: string
|
|
467
|
+
server_command: string
|
|
468
|
+
server_host: string
|
|
469
|
+
server_user: string
|
|
470
|
+
server_rsh: string
|
|
471
471
|
features: number
|
|
472
472
|
server_port: number
|
|
473
473
|
sysdeps: glibtop_sysdeps
|
|
@@ -492,8 +492,8 @@ export interface glibtop {
|
|
|
492
492
|
get_cpu_s(buf: glibtop_cpu): void
|
|
493
493
|
get_disk_l(buf: glibtop_disk): void
|
|
494
494
|
get_disk_s(buf: glibtop_disk): void
|
|
495
|
-
get_fsusage_l(buf: glibtop_fsusage, mount_dir: string
|
|
496
|
-
get_fsusage_s(buf: glibtop_fsusage, mount_dir: string
|
|
495
|
+
get_fsusage_l(buf: glibtop_fsusage, mount_dir: string): void
|
|
496
|
+
get_fsusage_s(buf: glibtop_fsusage, mount_dir: string): void
|
|
497
497
|
get_loadavg_l(buf: glibtop_loadavg): void
|
|
498
498
|
get_loadavg_s(buf: glibtop_loadavg): void
|
|
499
499
|
get_mem_l(buf: glibtop_mem): void
|
|
@@ -504,8 +504,8 @@ export interface glibtop {
|
|
|
504
504
|
get_msg_limits_s(buf: glibtop_msg_limits): void
|
|
505
505
|
get_netlist_l(buf: glibtop_netlist): string[]
|
|
506
506
|
get_netlist_s(buf: glibtop_netlist): string[]
|
|
507
|
-
get_netload_l(buf: glibtop_netload, interface: string
|
|
508
|
-
get_netload_s(buf: glibtop_netload, interface: string
|
|
507
|
+
get_netload_l(buf: glibtop_netload, interface: string): void
|
|
508
|
+
get_netload_s(buf: glibtop_netload, interface: string): void
|
|
509
509
|
get_parameter_l(parameter: number, data_ptr: any | null, data_size: number): number
|
|
510
510
|
get_ppp_l(buf: glibtop_ppp, device: number): void
|
|
511
511
|
get_ppp_s(buf: glibtop_ppp, device: number): void
|
|
@@ -546,9 +546,9 @@ export interface glibtop {
|
|
|
546
546
|
get_uptime_l(buf: glibtop_uptime): void
|
|
547
547
|
get_uptime_s(buf: glibtop_uptime): void
|
|
548
548
|
init_p(features: number, flags: number): void
|
|
549
|
-
open_l(program_name: string
|
|
550
|
-
open_p(program_name: string
|
|
551
|
-
open_s(program_name: string
|
|
549
|
+
open_l(program_name: string, features: number, flags: number): void
|
|
550
|
+
open_p(program_name: string, features: number, flags: number): void
|
|
551
|
+
open_s(program_name: string, features: number, flags: number): void
|
|
552
552
|
set_parameter_l(parameter: number, data_ptr: any | null, data_size: number): void
|
|
553
553
|
}
|
|
554
554
|
|
|
@@ -563,13 +563,13 @@ export class glibtop {
|
|
|
563
563
|
static close(): void
|
|
564
564
|
static get_cpu(buf: glibtop_cpu): void
|
|
565
565
|
static get_disk(buf: glibtop_disk): void
|
|
566
|
-
static get_fsusage(buf: glibtop_fsusage, mount_dir: string
|
|
566
|
+
static get_fsusage(buf: glibtop_fsusage, mount_dir: string): void
|
|
567
567
|
static get_loadavg(buf: glibtop_loadavg): void
|
|
568
568
|
static get_mem(buf: glibtop_mem): void
|
|
569
569
|
static get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
|
|
570
570
|
static get_msg_limits(buf: glibtop_msg_limits): void
|
|
571
571
|
static get_netlist(buf: glibtop_netlist): string[]
|
|
572
|
-
static get_netload(buf: glibtop_netload, interface: string
|
|
572
|
+
static get_netload(buf: glibtop_netload, interface: string): void
|
|
573
573
|
static get_ppp(buf: glibtop_ppp, device: number): void
|
|
574
574
|
static get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
|
|
575
575
|
static get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
|
|
@@ -594,8 +594,8 @@ export class glibtop {
|
|
|
594
594
|
static get_uptime(buf: glibtop_uptime): void
|
|
595
595
|
static init(): glibtop
|
|
596
596
|
static init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
|
|
597
|
-
static internet_addr(host: string
|
|
598
|
-
static make_connection(hostarg: string
|
|
597
|
+
static internet_addr(host: string): number
|
|
598
|
+
static make_connection(hostarg: string, portarg: number, s: number): number
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
export interface glibtop_command {
|
|
@@ -1365,8 +1365,8 @@ export interface glibtop_signame {
|
|
|
1365
1365
|
// Own fields of GTop-2.0.GTop.glibtop_signame
|
|
1366
1366
|
|
|
1367
1367
|
number: number
|
|
1368
|
-
name: string
|
|
1369
|
-
label: string
|
|
1368
|
+
name: string
|
|
1369
|
+
label: string
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
export class glibtop_signame {
|
package/gtop-2.0.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ const CONN_INTERNET: number
|
|
|
23
23
|
const CONN_IPC: number
|
|
24
24
|
const CONN_UNIX: number
|
|
25
25
|
const DEFAULT_PORT: number
|
|
26
|
-
const DEFAUTH_NAME: string
|
|
26
|
+
const DEFAUTH_NAME: string
|
|
27
27
|
const EOT_CHR: number
|
|
28
|
-
const EOT_STR: string
|
|
28
|
+
const EOT_STR: string
|
|
29
29
|
const FALSE: number
|
|
30
30
|
const GLIBTOP_CMND_CPU: number
|
|
31
31
|
const GLIBTOP_CMND_DISK: number
|
|
@@ -409,9 +409,9 @@ const HOSTNAMSZ: number
|
|
|
409
409
|
const LIBGTOP_MAJOR_VERSION: number
|
|
410
410
|
const LIBGTOP_MICRO_VERSION: number
|
|
411
411
|
const LIBGTOP_MINOR_VERSION: number
|
|
412
|
-
const MCOOKIE_NAME: string
|
|
413
|
-
const MCOOKIE_SCREEN: string
|
|
414
|
-
const MCOOKIE_X_NAME: string
|
|
412
|
+
const MCOOKIE_NAME: string
|
|
413
|
+
const MCOOKIE_SCREEN: string
|
|
414
|
+
const MCOOKIE_X_NAME: string
|
|
415
415
|
const PATCHLEVEL: number
|
|
416
416
|
const REPLYSIZ: number
|
|
417
417
|
const TABLE_SIZE: number
|
|
@@ -419,13 +419,13 @@ const TRUE: number
|
|
|
419
419
|
function glibtop_close(): void
|
|
420
420
|
function glibtop_get_cpu(buf: glibtop_cpu): void
|
|
421
421
|
function glibtop_get_disk(buf: glibtop_disk): void
|
|
422
|
-
function glibtop_get_fsusage(buf: glibtop_fsusage, mount_dir: string
|
|
422
|
+
function glibtop_get_fsusage(buf: glibtop_fsusage, mount_dir: string): void
|
|
423
423
|
function glibtop_get_loadavg(buf: glibtop_loadavg): void
|
|
424
424
|
function glibtop_get_mem(buf: glibtop_mem): void
|
|
425
425
|
function glibtop_get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
|
|
426
426
|
function glibtop_get_msg_limits(buf: glibtop_msg_limits): void
|
|
427
427
|
function glibtop_get_netlist(buf: glibtop_netlist): string[]
|
|
428
|
-
function glibtop_get_netload(buf: glibtop_netload, interface: string
|
|
428
|
+
function glibtop_get_netload(buf: glibtop_netload, interface: string): void
|
|
429
429
|
function glibtop_get_ppp(buf: glibtop_ppp, device: number): void
|
|
430
430
|
function glibtop_get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
|
|
431
431
|
function glibtop_get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
|
|
@@ -450,8 +450,8 @@ function glibtop_get_sysinfo(): glibtop_sysinfo
|
|
|
450
450
|
function glibtop_get_uptime(buf: glibtop_uptime): void
|
|
451
451
|
function glibtop_init(): glibtop
|
|
452
452
|
function glibtop_init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
|
|
453
|
-
function glibtop_internet_addr(host: string
|
|
454
|
-
function glibtop_make_connection(hostarg: string
|
|
453
|
+
function glibtop_internet_addr(host: string): number
|
|
454
|
+
function glibtop_make_connection(hostarg: string, portarg: number, s: number): number
|
|
455
455
|
interface glibtop {
|
|
456
456
|
|
|
457
457
|
// Own fields of GTop-2.0.GTop.glibtop
|
|
@@ -465,11 +465,11 @@ interface glibtop {
|
|
|
465
465
|
ncpu: number
|
|
466
466
|
real_ncpu: number
|
|
467
467
|
os_version_code: number
|
|
468
|
-
name: string
|
|
469
|
-
server_command: string
|
|
470
|
-
server_host: string
|
|
471
|
-
server_user: string
|
|
472
|
-
server_rsh: string
|
|
468
|
+
name: string
|
|
469
|
+
server_command: string
|
|
470
|
+
server_host: string
|
|
471
|
+
server_user: string
|
|
472
|
+
server_rsh: string
|
|
473
473
|
features: number
|
|
474
474
|
server_port: number
|
|
475
475
|
sysdeps: glibtop_sysdeps
|
|
@@ -494,8 +494,8 @@ interface glibtop {
|
|
|
494
494
|
get_cpu_s(buf: glibtop_cpu): void
|
|
495
495
|
get_disk_l(buf: glibtop_disk): void
|
|
496
496
|
get_disk_s(buf: glibtop_disk): void
|
|
497
|
-
get_fsusage_l(buf: glibtop_fsusage, mount_dir: string
|
|
498
|
-
get_fsusage_s(buf: glibtop_fsusage, mount_dir: string
|
|
497
|
+
get_fsusage_l(buf: glibtop_fsusage, mount_dir: string): void
|
|
498
|
+
get_fsusage_s(buf: glibtop_fsusage, mount_dir: string): void
|
|
499
499
|
get_loadavg_l(buf: glibtop_loadavg): void
|
|
500
500
|
get_loadavg_s(buf: glibtop_loadavg): void
|
|
501
501
|
get_mem_l(buf: glibtop_mem): void
|
|
@@ -506,8 +506,8 @@ interface glibtop {
|
|
|
506
506
|
get_msg_limits_s(buf: glibtop_msg_limits): void
|
|
507
507
|
get_netlist_l(buf: glibtop_netlist): string[]
|
|
508
508
|
get_netlist_s(buf: glibtop_netlist): string[]
|
|
509
|
-
get_netload_l(buf: glibtop_netload, interface: string
|
|
510
|
-
get_netload_s(buf: glibtop_netload, interface: string
|
|
509
|
+
get_netload_l(buf: glibtop_netload, interface: string): void
|
|
510
|
+
get_netload_s(buf: glibtop_netload, interface: string): void
|
|
511
511
|
get_parameter_l(parameter: number, data_ptr: any | null, data_size: number): number
|
|
512
512
|
get_ppp_l(buf: glibtop_ppp, device: number): void
|
|
513
513
|
get_ppp_s(buf: glibtop_ppp, device: number): void
|
|
@@ -548,9 +548,9 @@ interface glibtop {
|
|
|
548
548
|
get_uptime_l(buf: glibtop_uptime): void
|
|
549
549
|
get_uptime_s(buf: glibtop_uptime): void
|
|
550
550
|
init_p(features: number, flags: number): void
|
|
551
|
-
open_l(program_name: string
|
|
552
|
-
open_p(program_name: string
|
|
553
|
-
open_s(program_name: string
|
|
551
|
+
open_l(program_name: string, features: number, flags: number): void
|
|
552
|
+
open_p(program_name: string, features: number, flags: number): void
|
|
553
|
+
open_s(program_name: string, features: number, flags: number): void
|
|
554
554
|
set_parameter_l(parameter: number, data_ptr: any | null, data_size: number): void
|
|
555
555
|
}
|
|
556
556
|
|
|
@@ -565,13 +565,13 @@ class glibtop {
|
|
|
565
565
|
static close(): void
|
|
566
566
|
static get_cpu(buf: glibtop_cpu): void
|
|
567
567
|
static get_disk(buf: glibtop_disk): void
|
|
568
|
-
static get_fsusage(buf: glibtop_fsusage, mount_dir: string
|
|
568
|
+
static get_fsusage(buf: glibtop_fsusage, mount_dir: string): void
|
|
569
569
|
static get_loadavg(buf: glibtop_loadavg): void
|
|
570
570
|
static get_mem(buf: glibtop_mem): void
|
|
571
571
|
static get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
|
|
572
572
|
static get_msg_limits(buf: glibtop_msg_limits): void
|
|
573
573
|
static get_netlist(buf: glibtop_netlist): string[]
|
|
574
|
-
static get_netload(buf: glibtop_netload, interface: string
|
|
574
|
+
static get_netload(buf: glibtop_netload, interface: string): void
|
|
575
575
|
static get_ppp(buf: glibtop_ppp, device: number): void
|
|
576
576
|
static get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
|
|
577
577
|
static get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
|
|
@@ -596,8 +596,8 @@ class glibtop {
|
|
|
596
596
|
static get_uptime(buf: glibtop_uptime): void
|
|
597
597
|
static init(): glibtop
|
|
598
598
|
static init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
|
|
599
|
-
static internet_addr(host: string
|
|
600
|
-
static make_connection(hostarg: string
|
|
599
|
+
static internet_addr(host: string): number
|
|
600
|
+
static make_connection(hostarg: string, portarg: number, s: number): number
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
interface glibtop_command {
|
|
@@ -1367,8 +1367,8 @@ interface glibtop_signame {
|
|
|
1367
1367
|
// Own fields of GTop-2.0.GTop.glibtop_signame
|
|
1368
1368
|
|
|
1369
1369
|
number: number
|
|
1370
|
-
name: string
|
|
1371
|
-
label: string
|
|
1370
|
+
name: string
|
|
1371
|
+
label: string
|
|
1372
1372
|
}
|
|
1373
1373
|
|
|
1374
1374
|
class glibtop_signame {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtop-2.0",
|
|
3
|
-
"version": "2.0.0-3.2.
|
|
3
|
+
"version": "2.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GTop-2.0, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtop-2.0.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtop-2.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gjs": "^3.2.
|
|
29
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
30
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
28
|
+
"@girs/gjs": "^3.2.7",
|
|
29
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
30
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "*"
|