Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/_sugarext.defs
blob: d97f8b417683ba262d43196c44aae69d698386ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
; functions

(define-function get_mime_type_from_file_name 
  (c-name "sugar_mime_get_mime_type_from_file_name")
  (return-type "const-char*")
  (parameters
    '("const-char*" "filename")
  )
)

(define-function get_mime_type_for_file
  (c-name "sugar_mime_get_mime_type_for_file")
  (return-type "const-char*")
  (parameters
    '("const-char*" "filename")
  )
)

(define-function get_prgname
  (c-name "g_get_prgname")
  (return-type "const-char*")
)

(define-function get_application_name
  (c-name "g_get_application_name")
  (return-type "const-char*")
)

(define-function set_prgname
  (c-name "g_set_prgname")
  (parameters
    '("const-char*" "name")
  )
)

(define-function set_application_name
  (c-name "g_set_application_name")
  (parameters
    '("const-char*" "name")
  )
)