!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/gtk-doc/html/libplanner/   drwxr-xr-x
Free 50.96 GB of 127.8 GB (39.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MrpResource.html (26.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
MrpResource

MrpResource

MrpResource — represents a resource in the project.

Object Hierarchy


  GObject
   +----MrpObject
         +----MrpResource

Properties


  "calendar"             gpointer              : Read / Write
  "cost"                 gfloat                : Read / Write
  "email"                gchararray            : Read / Write
  "group"                MrpGroup              : Read / Write
  "name"                 gchararray            : Read / Write
  "note"                 gchararray            : Read / Write
  "short-name"           gchararray            : Read / Write
  "type"                 gint                  : Read / Write
  "units"                gint                  : Read / Write

Signals


"assignment-added"
            void        user_function      (MrpResource   *mrpresource,
                                            MrpAssignment *arg1,
                                            gpointer       user_data)        : Run last
"assignment-removed"
            void        user_function      (MrpResource   *mrpresource,
                                            MrpAssignment *arg1,
                                            gpointer       user_data)        : Run last

Description

Details

MrpResourcePriv

typedef struct _MrpResourcePriv MrpResourcePriv;

A private struct for internal use only. The definition of this structure is not publically available.


MrpResource

typedef struct _MrpResource MrpResource;

Object representing a task in the project.


enum MrpResourceType

typedef enum {
	MRP_RESOURCE_TYPE_NONE,
	MRP_RESOURCE_TYPE_WORK,
	MRP_RESOURCE_TYPE_MATERIAL
} MrpResourceType;

The type of the resource, work or material.

MRP_RESOURCE_TYPE_NONE invalid type (unset)
MRP_RESOURCE_TYPE_WORK work resource
MRP_RESOURCE_TYPE_MATERIAL material resource

mrp_resource_new ()

MrpResource* mrp_resource_new               (void);

Creates a new empty resource.

Returns : the newly created resource.

mrp_resource_get_name ()

const gchar* mrp_resource_get_name          (MrpResource *resource);

Retrives the name of resource.

resource : an MrpResource
Returns : the name

mrp_resource_set_name ()

void        mrp_resource_set_name           (MrpResource *resource,
                                             const gchar *name);

Sets the name of resource.

resource : an MrpResource
name : new name of resource

mrp_resource_assign ()

void        mrp_resource_assign             (MrpResource *resource,
                                             MrpTask *task,
                                             gint units);

Assigns resource to task by the given amount of units. A value of 100 units corresponds to fulltime assignment.

resource : an MrpResource
task : an MrpTask
units : the amount of units of assignment

mrp_resource_get_assignments ()

GList*      mrp_resource_get_assignments    (MrpResource *resource);

Retrieves the assignments that this resource has. If caller needs to manipulate the returned list, a copy of it needs to be made.

resource : an MrpResource.
Returns : The assignments of resource. It should not be freed.

mrp_resource_get_assigned_tasks ()

GList*      mrp_resource_get_assigned_tasks (MrpResource *resource);

Retrieves a list of all the tasks that this resource is assigned to. It is basically a convenience wrapper around mrp_resource_get_assignments().

resource : an MrpResource
Returns : A list of the tasks that this resource is assigned to. Needs to be freed when not used anymore.

mrp_resource_compare ()

gint        mrp_resource_compare            (gconstpointer a,
                                             gconstpointer b);

Comparison routine for resources. It is suitable for sorting, and only compares the resource name.

a : an MrpResource
b : an MrpResource
Returns : -1 if a is less than b, 1 id a is greater than b, and 1 if equal.

mrp_resource_get_calendar ()

MrpCalendar* mrp_resource_get_calendar      (MrpResource *resource);

Retrieves the calendar that is used for resource. If no calendar is set, NULL is returned, which means the project default calendar.

resource : an MrpResource
Returns : a MrpCalendar, or NULL if no specific calendar is set.

mrp_resource_set_calendar ()

void        mrp_resource_set_calendar       (MrpResource *resource,
                                             MrpCalendar *calendar);

Sets the calendar to use for resource. NULL means to use the project default calendar.

resource : an MrpResource
calendar : the MrpCalendar to set, or NULL

Property Details

The "calendar" property

  "calendar"             gpointer              : Read / Write

The calendar this resource uses.


The "cost" property

  "cost"                 gfloat                : Read / Write

The standard cost of the resource.

Allowed values: >= 0

Default value: 0


The "email" property

  "email"                gchararray            : Read / Write

The email address of the resource.

Default value: NULL


The "group" property

  "group"                MrpGroup              : Read / Write

The group that the resource belongs to.


The "name" property

  "name"                 gchararray            : Read / Write

The name of the resource.

Default value: NULL


The "note" property

  "note"                 gchararray            : Read / Write

Resource note.

Default value: ""


The "short-name" property

  "short-name"           gchararray            : Read / Write

The shorter name, initials or nickname of the resource.

Default value: NULL


The "type" property

  "type"                 gint                  : Read / Write

The type of resource this is.

Allowed values: [0,2]

Default value: 1


The "units" property

  "units"                gint                  : Read / Write

The amount of units this resource has.

Allowed values: >= -1

Default value: 0

Signal Details

The "assignment-added" signal

void        user_function                  (MrpResource   *mrpresource,
                                            MrpAssignment *arg1,
                                            gpointer       user_data)        : Run last

mrpresource : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "assignment-removed" signal

void        user_function                  (MrpResource   *mrpresource,
                                            MrpAssignment *arg1,
                                            gpointer       user_data)        : Run last

mrpresource : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0088 ]--